Iterators over pixels in a frame. More...
Go to the source code of this file.
Classes | |
class | vidl_pixel_iterator |
Abstract pixel iterator base class. More... | |
Functions | |
vidl_pixel_iterator * | vidl_make_pixel_iterator (const vidl_frame &frame) |
Pixel iterator factory. | |
bool | vidl_has_pixel_iterator (vidl_pixel_format FMT) |
Return true if the pixel format has a valid pixel iterator implementation. |
Iterators over pixels in a frame.
This file contains the classes and functions to use pixel iterators in a polymorphic way. Note that pixel iterators are not fast. They are intended to allow for the automatic generation of conversion routines between any pair of pixel formats. Fast conversion functions for specific formats can be written to override the default ones when needed.
Definition in file vidl_pixel_iterator.h.
bool vidl_has_pixel_iterator | ( | vidl_pixel_format | FMT | ) |
Return true if the pixel format has a valid pixel iterator implementation.
Definition at line 96 of file vidl_pixel_iterator.cxx.
vidl_pixel_iterator* vidl_make_pixel_iterator | ( | const vidl_frame & | frame | ) |
Pixel iterator factory.
Creates a new pixel iterator on the heap The iterator is initialized to the first pixel in the frame
Definition at line 89 of file vidl_pixel_iterator.cxx.