Defines types and functions to handle pixel formats. More...
Go to the source code of this file.
Macros | |
#define | VPI_MAKE_PIXEL_FORMAT(memLayout, dataType, packing) |
Creates an user-defined pixel format constant using abbreviated parameters. More... | |
Enumerations | |
enum | VPIPixelFormat |
Pre-defined pixel formats. More... | |
Functions | |
VPIPixelFormat | vpiMakePixelFormat (VPIMemLayout memLayout, VPIFormatDataType dataType, VPIFormatPacking packing) |
Creates an user-defined pixel format. More... | |
VPIFormatPacking | vpiPixelFormatGetPacking (VPIPixelFormat fmt) |
Get the packing of a pixel format. More... | |
int | vpiPixelFormatGetBitsPerPixel (VPIPixelFormat fmt) |
Get the number of bits per pixel of a pixel format. More... | |
VPIFormatDataType | vpiPixelFormatGetDataType (VPIPixelFormat fmt) |
Get the data type of a pixel format. More... | |
VPIMemLayout | vpiPixelFormatGetMemLayout (VPIPixelFormat fmt) |
Get the memory layout of a pixel format. More... | |
int | vpiPixelFormatGetChannelCount (VPIPixelFormat fmt) |
Get the number of channels of a pixel format. More... | |
Defines types and functions to handle pixel formats.
Definition in file PixelFormat.h.