#define | VPI_PIXEL_TYPE_DEFAULT ((VPIPixelType)0) |
| Used to signal that the pixel type must be inferred from image format.
|
|
#define | VPI_PIXEL_TYPE_INVALID VPI_PIXEL_TYPE_DEFAULT |
| Signal format conversion errors.
|
|
#define | VPI_PIXEL_TYPE_U8 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X8) |
| One channel of unsigned 8-bit value.
|
|
#define | VPI_PIXEL_TYPE_2U8 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X8_Y8) |
| Two interleaved channels of unsigned 8-bit values.
|
|
#define | VPI_PIXEL_TYPE_3U8 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X8_Y8_Z8) |
| Three interleaved channels of unsigned 8-bit values.
|
|
#define | VPI_PIXEL_TYPE_4U8 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X8_Y8_Z8_W8) |
| Four interleaved channels of unsigned 8-bit values.
|
|
#define | VPI_PIXEL_TYPE_S8 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X8) |
| One channel of signed 8-bit value.
|
|
#define | VPI_PIXEL_TYPE_2S8 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X8_Y8) |
| Two interleaved channels of signed 8-bit values.
|
|
#define | VPI_PIXEL_TYPE_3S8 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X8_Y8_Z8) |
| Three interleaved channels of signed 8-bit values.
|
|
#define | VPI_PIXEL_TYPE_4S8 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X8_Y8_Z8_W8) |
| Four interleaved channels of signed 8-bit values.
|
|
#define | VPI_PIXEL_TYPE_U16 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X16) |
| One channel of unsigned 16-bit value.
|
|
#define | VPI_PIXEL_TYPE_2U16 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X16_Y16) |
| Two interleaved channels of unsigned 16-bit values.
|
|
#define | VPI_PIXEL_TYPE_3U16 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X16_Y16_Z16) |
| Three interleaved channels of unsigned 16-bit values.
|
|
#define | VPI_PIXEL_TYPE_4U16 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X16_Y16_Z16_W16) |
| Four interleaved channels of unsigned 16-bit values.
|
|
#define | VPI_PIXEL_TYPE_S16 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X16) |
| One channel of signed 16-bit value.
|
|
#define | VPI_PIXEL_TYPE_2S16 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X16_Y16) |
| Two interleaved channels of signed 16-bit values.
|
|
#define | VPI_PIXEL_TYPE_3S16 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X16_Y16_Z16) |
| Three interleaved channels of signed 16-bit values.
|
|
#define | VPI_PIXEL_TYPE_4S16 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X16_Y16_Z16_W16) |
| Four interleaved channels of signed 16-bit values.
|
|
#define | VPI_PIXEL_TYPE_U32 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X32) |
| One channel of unsigned 32-bit value.
|
|
#define | VPI_PIXEL_TYPE_2U32 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X32_Y32) |
| Two interleaved channels of unsigned 32-bit values.
|
|
#define | VPI_PIXEL_TYPE_3U32 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X32_Y32_Z32) |
| Three interleaved channels of unsigned 32-bit values.
|
|
#define | VPI_PIXEL_TYPE_4U32 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X32_Y32_Z32_W32) |
| Four interleaved channels of unsigned 32-bit values.
|
|
#define | VPI_PIXEL_TYPE_S32 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X32) |
| One channel of signed 32-bit value.
|
|
#define | VPI_PIXEL_TYPE_2S32 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X32_Y32) |
| Two interleaved channels of signed 32-bit values.
|
|
#define | VPI_PIXEL_TYPE_3S32 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X32_Y32_Z32) |
| Three interleaved channels of signed 32-bit values.
|
|
#define | VPI_PIXEL_TYPE_4S32 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X32_Y32_Z32_W32) |
| Four interleaved channels of signed 32-bit values.
|
|
#define | VPI_PIXEL_TYPE_F32 VPI_DETAIL_MAKE_PIX_TYPE(PL, FLOAT, X32) |
| One channel of 32-bit IEEE 754 floating-point value.
|
|
#define | VPI_PIXEL_TYPE_2F32 VPI_DETAIL_MAKE_PIX_TYPE(PL, FLOAT, X32_Y32) |
| Two interleaved channels of 32-bit IEEE 754 floating-point values.
|
|
#define | VPI_PIXEL_TYPE_3F32 VPI_DETAIL_MAKE_PIX_TYPE(PL, FLOAT, X32_Y32_Z32) |
| Three interleaved channels of 32-bit IEEE 754 floating-point values.
|
|
#define | VPI_PIXEL_TYPE_4F32 VPI_DETAIL_MAKE_PIX_TYPE(PL, FLOAT, X32_Y32_Z32_W32) |
| Four interleaved channels of 32-bit IEEE 754 floating-point values.
|
|
#define | VPI_PIXEL_TYPE_U64 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X64) |
| One channel of unsigned 64-bit value.
|
|
#define | VPI_PIXEL_TYPE_2U64 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X64_Y64) |
| Two interleaved channels of unsigned 64-bit values.
|
|
#define | VPI_PIXEL_TYPE_3U64 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X64_Y64_Z64) |
| Three interleaved channels of unsigned 64-bit values.
|
|
#define | VPI_PIXEL_TYPE_4U64 VPI_DETAIL_MAKE_PIX_TYPE(PL, UNSIGNED, X64_Y64_Z64_W64) |
| Four interleaved channels of unsigned 64-bit values.
|
|
#define | VPI_PIXEL_TYPE_S64 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X64) |
| One channel of signed 64-bit value.
|
|
#define | VPI_PIXEL_TYPE_2S64 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X64_Y64) |
| Two interleaved channels of signed 64-bit values.
|
|
#define | VPI_PIXEL_TYPE_3S64 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X64_Y64_Z64) |
| Three interleaved channels of signed 64-bit values.
|
|
#define | VPI_PIXEL_TYPE_4S64 VPI_DETAIL_MAKE_PIX_TYPE(PL, SIGNED, X64_Y64_Z64_W64) |
| Four interleaved channels of signed 64-bit values.
|
|
#define | VPI_PIXEL_TYPE_F64 VPI_DETAIL_MAKE_PIX_TYPE(PL, FLOAT, X64) |
| One channel of 64-bit IEEE 754 floating-point value.
|
|
#define | VPI_PIXEL_TYPE_2F64 VPI_DETAIL_MAKE_PIX_TYPE(PL, FLOAT, X64_Y64) |
| Two interleaved channels of 64-bit IEEE 754 floating-point values.
|
|
#define | VPI_PIXEL_TYPE_3F64 VPI_DETAIL_MAKE_PIX_TYPE(PL, FLOAT, X64_Y64_Z64) |
| Three interleaved channels of 64-bit IEEE 754 floating-point values.
|
|
#define | VPI_PIXEL_TYPE_4F64 VPI_DETAIL_MAKE_PIX_TYPE(PL, FLOAT, X64_Y64_Z64_W64) |
| Four interleaved channels of 64-bit IEEE 754 floating-point values.
|
|
#define | VPI_MAKE_PIXEL_TYPE_ABBREV(memLayout, dataType, packing) |
| Creates a user-defined pixel type constant using abbreviated parameters. More...
|
|
#define | VPI_MAKE_PIXEL_TYPE(memLayout, dataType, packing) |
| Creates a user-defined pixel type constant. More...
|
|
typedef uint64_t | VPIPixelType |
| Pre-defined pixel types. More...
|
|
VPIPixelType | vpiMakePixelType (VPIMemLayout memLayout, VPIDataType dataType, VPIPacking packing) |
| Creates a user-defined pixel type. More...
|
|
VPIPacking | vpiPixelTypeGetPacking (VPIPixelType type) |
| Get the packing of a pixel type. More...
|
|
int | vpiPixelTypeGetBitsPerPixel (VPIPixelType type) |
| Get the number of bits per pixel of a pixel type. More...
|
|
void | vpiPixelTypeGetBitsPerChannel (VPIPixelType type, int32_t *bits) |
| Get the number of bits per channel of a pixel type. More...
|
|
VPIDataType | vpiPixelTypeGetDataType (VPIPixelType type) |
| Get the data type of a pixel type. More...
|
|
VPIMemLayout | vpiPixelTypeGetMemLayout (VPIPixelType type) |
| Get the memory layout of a pixel type. More...
|
|
VPIPixelType | vpiPixelTypeSetMemLayout (VPIPixelType type, VPIMemLayout layout) |
| Set the memory layout of a pixel type. More...
|
|
int | vpiPixelTypeGetChannelCount (VPIPixelType type) |
| Get the number of channels of a pixel type. More...
|
|
const char * | vpiPixelTypeGetName (VPIPixelType type) |
| Returns a string representation of the pixel type. More...
|
|
VPIPixelType | vpiPixelTypeGetChannelType (VPIPixelType type, int channel) |
| Get the pixel type for a given channel index. More...
|
|
Defines types and functions to handle pixel types.
Definition in file PixelType.h.