The default pixel iterator for single arranged formats. More...
Public Member Functions | |
vidl_pixel_iterator_arranged (const vidl_frame &frame) | |
Constructor. | |
~vidl_pixel_iterator_arranged () | |
Destructor. | |
vidl_pixel_iterator_arranged < AR, FMT > & | next () |
Step to the next pixel. | |
cmp_type | operator() (unsigned int i) const |
Access the data. | |
void | get (cmp_type *data) const |
Access the entire pixel at once. | |
void | set (const cmp_type *data) |
write the entire pixel at once. | |
Private Types | |
typedef vidl_pixel_traits_of < FMT >::type | cmp_type |
Private Attributes | |
cmp_type * | ptr_ |
The default pixel iterator for single arranged formats.
Definition at line 34 of file vidl_pixel_iterator.txx.
typedef vidl_pixel_traits_of<FMT>::type vidl_pixel_iterator_arranged< AR, FMT >::cmp_type [private] |
Definition at line 36 of file vidl_pixel_iterator.txx.
vidl_pixel_iterator_arranged< AR, FMT >::vidl_pixel_iterator_arranged | ( | const vidl_frame & | frame | ) | [inline] |
Constructor.
Definition at line 40 of file vidl_pixel_iterator.txx.
vidl_pixel_iterator_arranged< AR, FMT >::~vidl_pixel_iterator_arranged | ( | ) | [inline] |
Destructor.
Definition at line 50 of file vidl_pixel_iterator.txx.
void vidl_pixel_iterator_arranged< AR, FMT >::get | ( | cmp_type * | data | ) | const [inline] |
Access the entire pixel at once.
Definition at line 67 of file vidl_pixel_iterator.txx.
vidl_pixel_iterator_arranged<AR,FMT>& vidl_pixel_iterator_arranged< AR, FMT >::next | ( | ) | [inline] |
Step to the next pixel.
Definition at line 53 of file vidl_pixel_iterator.txx.
cmp_type vidl_pixel_iterator_arranged< AR, FMT >::operator() | ( | unsigned int | i | ) | const [inline] |
Access the data.
Definition at line 60 of file vidl_pixel_iterator.txx.
void vidl_pixel_iterator_arranged< AR, FMT >::set | ( | const cmp_type * | data | ) | [inline] |
write the entire pixel at once.
Definition at line 73 of file vidl_pixel_iterator.txx.
cmp_type* vidl_pixel_iterator_arranged< AR, FMT >::ptr_ [private] |
Definition at line 37 of file vidl_pixel_iterator.txx.