VPI - Vision Programming Interface

0.4.4 Release

PixelFormat.h File Reference

Defines types and functions to handle pixel formats. More...

#include "Format.h"
#include "detail/FormatUtils.h"
+ Include dependency graph for PixelFormat.h:
+ This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Defines types and functions to handle pixel formats.

Definition in file PixelFormat.h.