Go to the source code of this file.
Classes | |
struct | check_types< pix_type > |
Recursive template metaprogram to generate conditionals for checking the traits of each defined pixel type. More... | |
struct | check_types< VIDL_PIXEL_FORMAT_UNKNOWN > |
The base case: unknown pixel type. More... | |
Defines | |
#define | vidl_ppi_mac(FMT) const vcl_ptrdiff_t vidl_pixel_pack_of<VIDL_PIXEL_FORMAT_##FMT>::offset[macro_pix_size][num_channels] |
Functions | |
vidl_ppi_mac (YUYV_422) | |
vidl_ppi_mac (UYVY_422) | |
vidl_ppi_mac (UYVY_411) | |
unsigned | vidl_pixel_color_num_channels (vidl_pixel_color c) |
Return the number of channels needed in a color mode. | |
vidl_pixel_traits | vidl_pixel_format_traits (vidl_pixel_format f) |
Return the set of traits for pixel format f. | |
vcl_ostream & | operator<< (vcl_ostream &os, vidl_pixel_format f) |
Output a pretty string representing the pixel format. | |
vidl_pixel_format | vidl_pixel_format_from_string (const vcl_string &s) |
Convert a string into a pixel format. | |
unsigned | vidl_pixel_format_buffer_size (unsigned ni, unsigned nj, vidl_pixel_format f) |
Compute the size (in bytes) of a ni x nj image buffer of pixel format f. |
Definition in file vidl_pixel_format.cxx.
#define vidl_ppi_mac | ( | FMT | ) | const vcl_ptrdiff_t vidl_pixel_pack_of<VIDL_PIXEL_FORMAT_##FMT>::offset[macro_pix_size][num_channels] |
Definition at line 9 of file vidl_pixel_format.cxx.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
vidl_pixel_format | f | ||
) |
Output a pretty string representing the pixel format.
Definition at line 125 of file vidl_pixel_format.cxx.
unsigned vidl_pixel_color_num_channels | ( | vidl_pixel_color | c | ) |
Return the number of channels needed in a color mode.
Definition at line 93 of file vidl_pixel_format.cxx.
unsigned vidl_pixel_format_buffer_size | ( | unsigned | ni, |
unsigned | nj, | ||
vidl_pixel_format | f | ||
) |
Compute the size (in bytes) of a ni x nj image buffer of pixel format f.
Definition at line 148 of file vidl_pixel_format.cxx.
vidl_pixel_format vidl_pixel_format_from_string | ( | const vcl_string & | s | ) |
Convert a string into a pixel format.
This uses the same encoding as operator<<.
Definition at line 137 of file vidl_pixel_format.cxx.
vidl_pixel_traits vidl_pixel_format_traits | ( | vidl_pixel_format | f | ) |
Return the set of traits for pixel format f.
Definition at line 113 of file vidl_pixel_format.cxx.
vidl_ppi_mac | ( | YUYV_422 | ) |
vidl_ppi_mac | ( | UYVY_422 | ) |
vidl_ppi_mac | ( | UYVY_411 | ) |