#include "vil_pixel_format.h"
#include <vcl_cassert.h>
#include <vcl_complex.h>
#include <vcl_string.h>
Go to the source code of this file.
Functions | |
unsigned | vil_pixel_format_sizeof_components (enum vil_pixel_format f) |
Return the number of bytes used by each component of pixel format f. | |
unsigned | vil_pixel_format_num_components (enum vil_pixel_format f) |
Return the number of components in pixel format f. | |
vil_pixel_format | vil_pixel_format_component_format (enum vil_pixel_format f) |
Return the number of components in pixel format f. | |
vcl_ostream & | operator<< (vcl_ostream &os, vil_pixel_format f) |
output a pretty string representing the pixel format. | |
vil_pixel_format | vil_pixel_format_from_string (const char *s) |
Convert a string into a pixel format. |
Modifications 23 Oct.2003 - Peter Vanroose - Added support for 64-bit int pixels
Definition in file vil_pixel_format.cxx.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
vil_pixel_format | f | ||
) |
output a pretty string representing the pixel format.
Output a pretty string representing the pixel format.
Definition at line 222 of file vil_pixel_format.cxx.
vil_pixel_format vil_pixel_format_component_format | ( | enum vil_pixel_format | f | ) |
Return the number of components in pixel format f.
Return the format of each component of pixel format f.
Definition at line 214 of file vil_pixel_format.cxx.
vil_pixel_format vil_pixel_format_from_string | ( | const char * | s | ) |
Convert a string into a pixel format.
This uses the same encoding as operator<<.
Definition at line 279 of file vil_pixel_format.cxx.
unsigned vil_pixel_format_num_components | ( | enum vil_pixel_format | f | ) |
Return the number of components in pixel format f.
Definition at line 206 of file vil_pixel_format.cxx.
unsigned vil_pixel_format_sizeof_components | ( | enum vil_pixel_format | f | ) |
Return the number of bytes used by each component of pixel format f.
Definition at line 199 of file vil_pixel_format.cxx.