|
VPI - Vision Programming Interface
0.4.4 Release
|
Go to the documentation of this file.
56 #ifndef NV_VPI_PIXEL_FORMAT_H
57 #define NV_VPI_PIXEL_FORMAT_H
60 #include "detail/FormatUtils.h"
86 VPI_DETAIL_MAKE_PIXEL_FORMAT(PL, UNSIGNED, X16),
89 VPI_DETAIL_MAKE_PIXEL_FORMAT(PL, UNSIGNED, X8_Y8),
91 PL, UNSIGNED, X8_Y8_Z8),
93 PL, UNSIGNED, X8_Y8_Z8_W8),
96 VPI_DETAIL_MAKE_PIXEL_FORMAT(PL, FLOAT, X32_Y32),
100 VPI_PIXEL_FORMAT_FORCE64 = INT64_MAX
118 # define VPI_MAKE_PIXEL_FORMAT(memLayout, dataType, packing)
120 # define VPI_MAKE_PIXEL_FORMAT (VPIPixelFormat) VPI_DETAIL_MAKE_PIXEL_FORMAT
124 #define vpiMakePixelFormat VPI_APINAME(vpiMakePixelFormat, 004)
125 #define vpiPixelFormatGetPacking VPI_APINAME(vpiPixelFormatGetPacking, 004)
126 #define vpiPixelFormatGetBitsPerPixel VPI_APINAME(vpiPixelFormatGetBitsPerPixel, 004)
127 #define vpiPixelFormatGetDataType VPI_APINAME(vpiPixelFormatGetDataType, 004)
128 #define vpiPixelFormatGetMemLayout VPI_APINAME(vpiPixelFormatGetMemLayout, 004)
129 #define vpiPixelFormatGetChannelCount VPI_APINAME(vpiPixelFormatGetChannelCount, 004)
190 #endif // NV_VPI_PIXEL_FORMAT_H