VPI - Vision Programming Interface

1.2 Release

ImageFormat.h
Go to the documentation of this file.
1 /*
2  * Copyright 2020-2021 NVIDIA Corporation. All rights reserved.
3  *
4  * NOTICE TO LICENSEE:
5  *
6  * This source code and/or documentation ("Licensed Deliverables") are
7  * subject to NVIDIA intellectual property rights under U.S. and
8  * international Copyright laws.
9  *
10  * These Licensed Deliverables contained herein is PROPRIETARY and
11  * CONFIDENTIAL to NVIDIA and is being provided under the terms and
12  * conditions of a form of NVIDIA software license agreement by and
13  * between NVIDIA and Licensee ("License Agreement") or electronically
14  * accepted by Licensee. Notwithstanding any terms or conditions to
15  * the contrary in the License Agreement, reproduction or disclosure
16  * of the Licensed Deliverables to any third party without the express
17  * written consent of NVIDIA is prohibited.
18  *
19  * NOTWITHSTANDING ANY TERMS OR CONDITIONS TO THE CONTRARY IN THE
20  * LICENSE AGREEMENT, NVIDIA MAKES NO REPRESENTATION ABOUT THE
21  * SUITABILITY OF THESE LICENSED DELIVERABLES FOR ANY PURPOSE. IT IS
22  * PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND.
23  * NVIDIA DISCLAIMS ALL WARRANTIES WITH REGARD TO THESE LICENSED
24  * DELIVERABLES, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY,
25  * NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE.
26  * NOTWITHSTANDING ANY TERMS OR CONDITIONS TO THE CONTRARY IN THE
27  * LICENSE AGREEMENT, IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY
28  * SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY
29  * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
30  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
31  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
32  * OF THESE LICENSED DELIVERABLES.
33  *
34  * U.S. Government End Users. These Licensed Deliverables are a
35  * "commercial item" as that term is defined at 48 C.F.R. 2.101 (OCT
36  * 1995), consisting of "commercial computer software" and "commercial
37  * computer software documentation" as such terms are used in 48
38  * C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Government
39  * only as a commercial end item. Consistent with 48 C.F.R.12.212 and
40  * 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), all
41  * U.S. Government End Users acquire the Licensed Deliverables with
42  * only those rights set forth herein.
43  *
44  * Any use of the Licensed Deliverables in individual and commercial
45  * software must include, in the user documentation and internal
46  * comments to the code, the above Disclaimer and U.S. Government End
47  * Users Notice.
48  */
49 
56 #ifndef NV_VPI_IMAGE_FORMAT_H
57 #define NV_VPI_IMAGE_FORMAT_H
58 
59 #include "ColorSpec.h"
60 #include "DataLayout.h"
61 #include "PixelType.h"
62 
63 #include <assert.h>
64 
65 #ifdef __cplusplus
66 extern "C" {
67 #endif
68 
94 #ifdef __GNUC__
95 # pragma GCC diagnostic push
96 # pragma GCC diagnostic ignored "-Wpedantic"
97 #endif
98 typedef enum
99 {
102 
104  VPI_IMAGE_FORMAT_U8 = VPI_DETAIL_MAKE_NONCOLOR_FMT(PL, UNSIGNED, X000, 1, X8),
105 
107  VPI_IMAGE_FORMAT_S8 = VPI_DETAIL_MAKE_NONCOLOR_FMT(PL, SIGNED, X000, 1, X8),
108 
110  VPI_IMAGE_FORMAT_U16 = VPI_DETAIL_MAKE_NONCOLOR_FMT(PL, UNSIGNED, X000, 1, X16),
111 
113  VPI_IMAGE_FORMAT_S16 = VPI_DETAIL_MAKE_NONCOLOR_FMT(PL, SIGNED, X000, 1, X16),
114 
116  VPI_IMAGE_FORMAT_U32 = VPI_DETAIL_MAKE_NONCOLOR_FMT(PL, UNSIGNED, X000, 1, X32),
117 
119  VPI_IMAGE_FORMAT_S32 = VPI_DETAIL_MAKE_NONCOLOR_FMT(PL, SIGNED, X000, 1, X32),
120 
122  VPI_IMAGE_FORMAT_2S16 = VPI_DETAIL_MAKE_NONCOLOR_FMT(PL, SIGNED, XY00, 1, X16_Y16),
123 
125  VPI_IMAGE_FORMAT_2S16_BL = VPI_DETAIL_MAKE_NONCOLOR_FMT(BL, SIGNED, XY00, 1, X16_Y16),
126 
128  VPI_IMAGE_FORMAT_F32 = VPI_DETAIL_MAKE_NONCOLOR_FMT(PL, FLOAT, X000, 1, X32),
129 
131  VPI_IMAGE_FORMAT_F64 = VPI_DETAIL_MAKE_NONCOLOR_FMT(PL, FLOAT, X000, 1, X64),
132 
134  VPI_IMAGE_FORMAT_2F32 = VPI_DETAIL_MAKE_NONCOLOR_FMT(PL, FLOAT, XY00, 1, X32_Y32),
135 
139  VPI_IMAGE_FORMAT_Y8 = VPI_DETAIL_MAKE_YCbCr_FMT(BT601, NONE, PL, UNSIGNED, X000, 1, X8),
140 
144  VPI_IMAGE_FORMAT_Y8_ER = VPI_DETAIL_MAKE_YCbCr_FMT(BT601_ER, NONE, PL, UNSIGNED, X000, 1, X8),
145 
149  VPI_IMAGE_FORMAT_Y8_BL = VPI_DETAIL_MAKE_YCbCr_FMT(BT601, NONE, BL, UNSIGNED, X000, 1, X8),
150 
154  VPI_IMAGE_FORMAT_Y8_ER_BL = VPI_DETAIL_MAKE_YCbCr_FMT(BT601_ER, NONE, BL, UNSIGNED, X000, 1, X8),
155 
159  VPI_IMAGE_FORMAT_Y16_ER = VPI_DETAIL_MAKE_YCbCr_FMT(BT601_ER, NONE, PL, UNSIGNED, X000, 1, X16),
160 
164  VPI_IMAGE_FORMAT_Y16_ER_BL = VPI_DETAIL_MAKE_YCbCr_FMT(BT601_ER, NONE, BL, UNSIGNED, X000, 1, X16),
165 
174  VPI_IMAGE_FORMAT_NV12 = VPI_DETAIL_MAKE_YCbCr_FMT(BT601, 420, PL, UNSIGNED, XYZ0, 2, X8, X8_Y8),
175 
184  VPI_IMAGE_FORMAT_NV12_BL = VPI_DETAIL_MAKE_YCbCr_FMT(BT601, 420, BL, UNSIGNED, XYZ0, 2, X8, X8_Y8),
185 
194  VPI_IMAGE_FORMAT_NV12_ER = VPI_DETAIL_MAKE_YCbCr_FMT(BT601_ER, 420, PL, UNSIGNED, XYZ0, 2, X8, X8_Y8),
195 
204  VPI_IMAGE_FORMAT_NV12_ER_BL = VPI_DETAIL_MAKE_YCbCr_FMT(BT601_ER, 420, BL, UNSIGNED, XYZ0, 2, X8, X8_Y8),
205 
213  VPI_IMAGE_FORMAT_NV24 = VPI_DETAIL_MAKE_YCbCr_FMT(BT601, 444, PL, UNSIGNED, XYZ0, 2, X8, X8_Y8),
214 
222  VPI_IMAGE_FORMAT_NV24_BL = VPI_DETAIL_MAKE_YCbCr_FMT(BT601, 444, BL, UNSIGNED, XYZ0, 2, X8, X8_Y8),
223 
231  VPI_IMAGE_FORMAT_NV24_ER = VPI_DETAIL_MAKE_YCbCr_FMT(BT601_ER, 444, PL, UNSIGNED, XYZ0, 2, X8, X8_Y8),
232 
240  VPI_IMAGE_FORMAT_NV24_ER_BL = VPI_DETAIL_MAKE_YCbCr_FMT(BT601_ER, 444, BL, UNSIGNED, XYZ0, 2, X8, X8_Y8),
241 
243  VPI_IMAGE_FORMAT_UYVY = VPI_DETAIL_MAKE_YCbCr_FMT(BT601, 422, PL, UNSIGNED, XYZ1, 1, Y8_X8__Z8_X8),
244 
246  VPI_IMAGE_FORMAT_UYVY_BL = VPI_DETAIL_MAKE_YCbCr_FMT(BT601, 422, BL, UNSIGNED, XYZ1, 1, Y8_X8__Z8_X8),
247 
249  VPI_IMAGE_FORMAT_UYVY_ER = VPI_DETAIL_MAKE_YCbCr_FMT(BT601_ER, 422, PL, UNSIGNED, XYZ1, 1, Y8_X8__Z8_X8),
250 
252  VPI_IMAGE_FORMAT_UYVY_ER_BL = VPI_DETAIL_MAKE_YCbCr_FMT(BT601_ER, 422, BL, UNSIGNED, XYZ1, 1, Y8_X8__Z8_X8),
253 
257  VPI_IMAGE_FORMAT_YUYV = VPI_DETAIL_MAKE_YCbCr_FMT(BT601, 422, PL, UNSIGNED, XYZ1, 1, X8_Y8__X8_Z8),
258 
262  VPI_IMAGE_FORMAT_YUYV_BL = VPI_DETAIL_MAKE_YCbCr_FMT(BT601, 422, BL, UNSIGNED, XYZ1, 1, X8_Y8__X8_Z8),
263 
267  VPI_IMAGE_FORMAT_YUYV_ER = VPI_DETAIL_MAKE_YCbCr_FMT(BT601_ER, 422, PL, UNSIGNED, XYZ1, 1, X8_Y8__X8_Z8),
268 
272  VPI_IMAGE_FORMAT_YUYV_ER_BL = VPI_DETAIL_MAKE_YCbCr_FMT(BT601_ER, 422, BL, UNSIGNED, XYZ1, 1, X8_Y8__X8_Z8),
273 
275  VPI_IMAGE_FORMAT_RGB8 = VPI_DETAIL_MAKE_COLOR_FMT(RGB, UNDEFINED, PL, UNSIGNED, XYZ1, 1, X8_Y8_Z8),
276 
278  VPI_IMAGE_FORMAT_BGR8 = VPI_DETAIL_MAKE_COLOR_FMT(RGB, UNDEFINED, PL, UNSIGNED, ZYX1, 1, X8_Y8_Z8),
279 
281  VPI_IMAGE_FORMAT_RGBA8 = VPI_DETAIL_MAKE_COLOR_FMT(RGB, UNDEFINED, PL, UNSIGNED, XYZW, 1, X8_Y8_Z8_W8),
282 
284  VPI_IMAGE_FORMAT_BGRA8 = VPI_DETAIL_MAKE_COLOR_FMT(RGB, UNDEFINED, PL, UNSIGNED, ZYXW, 1, X8_Y8_Z8_W8),
285 
287  VPI_IMAGE_FORMAT_FORCE64 = INT64_MAX
288  /* \endcond */
290 #ifdef __GNUC__
291 # pragma GCC diagnostic pop
292 #endif
293 
314 #ifdef VPI_DOXYGEN
315 # define VPI_MAKE_YCbCr_IMAGE_FORMAT_ABBREV(colorSpec, chromaSubsamp, memLayout, dataType, swizzle, numPlanes, \
316  packing0, packing1, ...)
317 #else
318 # define VPI_MAKE_YCbCr_IMAGE_FORMAT_ABBREV (VPIImageFormat) VPI_DETAIL_MAKE_YCbCr_FMT
319 #endif
320 
343 #ifdef VPI_DOXYGEN
344 # define VPI_MAKE_YCbCr_IMAGE_FORMAT(colorModel, colorSpec, chromaSubsamp, memLayout, dataType, swizzle, numPlanes, \
345  packing0, packing1, ...)
346 #else
347 # define VPI_MAKE_YCbCr_IMAGE_FORMAT (VPIImageFormat) VPI_DETAIL_MAKE_YCbCr_FORMAT
348 #endif
349 
373 #ifdef VPI_DOXYGEN
374 # define VPI_MAKE_COLOR_IMAGE_FORMAT_ABBREV(colorModel, colorSpec, memLayout, dataType, swizzle, numPlanes, \
375  packing0, packing1, ...)
376 #else
377 # define VPI_MAKE_COLOR_IMAGE_FORMAT_ABBREV (VPIImageFormat) VPI_DETAIL_MAKE_COLOR_FMT
378 #endif
379 
404 #ifdef VPI_DOXYGEN
405 # define VPI_MAKE_COLOR_IMAGE_FORMAT(colorModel, colorSpec, memLayout, dataType, swizzle, numPlanes, packing0, \
406  packing1, ...)
407 #else
408 # define VPI_MAKE_COLOR_IMAGE_FORMAT (VPIImageFormat) VPI_DETAIL_MAKE_COLOR_FORMAT
409 #endif
410 
429 #ifdef VPI_DOXYGEN
430 # define VPI_MAKE_NONCOLOR_IMAGE_FORMAT_ABBREV(memLayout, dataType, swizzle, numPlanes, packing0, packing1, ...)
431 #else
432 # define VPI_MAKE_NONCOLOR_IMAGE_FORMAT_ABBREV (VPIImageFormat) VPI_DETAIL_MAKE_NONCOLOR_FMT
433 #endif
434 
453 #ifdef VPI_DOXYGEN
454 # define VPI_MAKE_NONCOLOR_IMAGE_FORMAT(memLayout, dataType, swizzle, numPlanes, packing0, packing1, ...)
455 #else
456 # define VPI_MAKE_NONCOLOR_IMAGE_FORMAT (VPIImageFormat) VPI_DETAIL_MAKE_NONCOLOR_FORMAT
457 #endif
458 
478 #ifdef VPI_DOXYGEN
479 # define VPI_MAKE_RAW_IMAGE_FORMAT_ABBREV(rawPattern, memLayout, dataType, numPlanes, swizzle, packing)
480 #else
481 # define VPI_MAKE_RAW_IMAGE_FORMAT_ABBREV (VPIImageFormat) VPI_DETAIL_MAKE_RAW_FMT
482 #endif
483 
502 #ifdef VPI_DOXYGEN
503 # define VPI_MAKE_RAW_IMAGE_FORMAT(rawPattern, memLayout, dataType, numPlanes, swizzle, packing)
504 #else
505 # define VPI_MAKE_RAW_IMAGE_FORMAT (VPIImageFormat) VPI_DETAIL_MAKE_RAW_FORMAT
506 #endif
507 
526  VPIMemLayout memLayout, VPIDataType dataType, VPISwizzle swizzle,
527  VPIPacking packing0, VPIPacking packing1, VPIPacking packing2,
528  VPIPacking packing3);
529 
551  VPIMemLayout memLayout, VPIDataType dataType, VPISwizzle swizzle,
552  VPIPacking packing0, VPIPacking packing1, VPIPacking packing2,
553  VPIPacking packing3);
554 
571  VPIPacking packing0, VPIPacking packing1, VPIPacking packing2,
572  VPIPacking packing3);
573 
590 VPI_PUBLIC VPIImageFormat vpiMakeRawImageFormat(VPIRawPattern rawPattern, VPIMemLayout memLayout, VPIDataType dataType,
591  VPISwizzle swizzle, VPIPacking packing0, VPIPacking packing1,
592  VPIPacking packing2, VPIPacking packing3);
593 
604 VPI_PUBLIC VPIImageFormat vpiMakeImageFormatFromFourCC(uint32_t fourcc, VPIColorSpec colorSpec, VPIMemLayout memLayout);
605 
612 VPI_PUBLIC uint32_t vpiImageFormatGetFourCC(VPIImageFormat fmt);
613 
622 
639  VPIPacking packing0, VPIPacking packing1,
640  VPIPacking packing2, VPIPacking packing3);
641 
649 VPI_PUBLIC int vpiImageFormatGetPlaneBitsPerPixel(VPIImageFormat fmt, int plane);
650 
659 
667 
675 
684 
693 
701 
713 
722 
730 
741 
750 
758 VPI_PUBLIC int vpiImageFormatGetPlaneChannelCount(VPIImageFormat fmt, int plane);
759 
767 
775 
781 VPI_PUBLIC void vpiImageFormatGetBitsPerChannel(VPIImageFormat fmt, int32_t *bits);
782 
791 
800 
809  VPIImageFormat plane2, VPIImageFormat plane3);
810 
818 VPI_PUBLIC const char *vpiImageFormatGetName(VPIImageFormat fmt);
819 
828 
838 
858 
861 #ifdef __cplusplus
862 }
863 #endif
864 
865 #endif /* NV_VPI_IMAGE_FORMAT_H */
Defines types and functions to handle color specs.
Defines types and functions to handle data layouts.
VPIPixelType vpiImageFormatGetPlanePixelType(VPIImageFormat fmt, int plane)
Get the pixel type of image format's plane.
VPIChromaSubsampling vpiImageFormatGetChromaSubsampling(VPIImageFormat fmt)
Get the image format's chroma subsampling type.
VPIImageFormat vpiImageFormatGetPlaneFormat(VPIImageFormat fmt, int plane)
Get the plane format of an image format.
int vpiImageFormatHasSameDataLayout(VPIImageFormat a, VPIImageFormat b)
Returns whether the image formats have the same data layout.
VPIMemLayout vpiImageFormatGetMemLayout(VPIImageFormat fmt)
Get the image format's memory layout.
VPIPacking vpiImageFormatGetPlanePacking(VPIImageFormat fmt, int plane)
Get the packing for a given plane of an image format.
VPISwizzle vpiImageFormatGetPlaneSwizzle(VPIImageFormat fmt, int plane)
Get the swizzle operation of the given image format's plane.
VPIImageFormat vpiImageFormatSetMemLayout(VPIImageFormat fmt, VPIMemLayout memLayout)
Set the image format's memory layout.
VPIImageFormat vpiImageFormatSetDataType(VPIImageFormat fmt, VPIDataType dataType)
Set the image format's data type.
VPIImageFormat vpiMakeYCbCrImageFormat(VPIColorSpec colorSpec, VPIChromaSubsampling chromaSub, VPIMemLayout memLayout, VPIDataType dataType, VPISwizzle swizzle, VPIPacking packing0, VPIPacking packing1, VPIPacking packing2, VPIPacking packing3)
Creates a user-defined YCbCr color image format.
VPIColorSpec vpiImageFormatGetColorSpec(VPIImageFormat fmt)
Get the image format's color standard.
int vpiImageFormatGetChannelCount(VPIImageFormat fmt)
Get the total number of channels of an image format.
VPIImageFormat vpiMakeImageFormatFromPlanes(VPIImageFormat plane0, VPIImageFormat plane1, VPIImageFormat plane2, VPIImageFormat plane3)
Constructs an image format given the format of each plane.
VPIImageFormat vpiImageFormatSetRawPattern(VPIImageFormat fmt, VPIRawPattern rawPattern)
Sets the raw color pattern of the image format.
VPIImageFormat vpiMakeImageFormatFromFourCC(uint32_t fourcc, VPIColorSpec colorSpec, VPIMemLayout memLayout)
Creates a image format from a FourCC code.
int vpiImageFormatGetPlaneBitsPerPixel(VPIImageFormat fmt, int plane)
Get the image format's plane bits per pixel count.
VPIDataType vpiImageFormatGetDataType(VPIImageFormat fmt)
Get the image format's data type.
VPIImageFormat vpiImageFormatSetSwizzleAndPacking(VPIImageFormat fmt, VPISwizzle swizzle, VPIPacking packing0, VPIPacking packing1, VPIPacking packing2, VPIPacking packing3)
Replaces the swizzle and packing of an existing image format.
VPIRawPattern vpiImageFormatGetRawPattern(VPIImageFormat fmt)
Returns the raw color pattern of the image format.
VPIImageFormat vpiImageFormatSetColorSpec(VPIImageFormat fmt, VPIColorSpec colorSpec)
Set the image format's color standard.
VPIImageFormat vpiMakeColorImageFormat(VPIColorModel colorModel, VPIColorSpec colorSpec, VPIMemLayout memLayout, VPIDataType dataType, VPISwizzle swizzle, VPIPacking packing0, VPIPacking packing1, VPIPacking packing2, VPIPacking packing3)
Creates a user-defined color image format.
int vpiImageFormatGetPlaneChannelCount(VPIImageFormat fmt, int plane)
Get the number of channels in a plane of an image format.
VPIImageFormat vpiImageFormatSetChromaSubsampling(VPIImageFormat fmt, VPIChromaSubsampling css)
Set the image format's chroma subsampling type.
VPISwizzle vpiImageFormatGetSwizzle(VPIImageFormat fmt)
Get the image format's channel swizzle operation.
VPIImageFormat vpiMakeNonColorImageFormat(VPIMemLayout memLayout, VPIDataType dataType, VPISwizzle swizzle, VPIPacking packing0, VPIPacking packing1, VPIPacking packing2, VPIPacking packing3)
Creates a user-defined non-color image format.
VPIImageFormat vpiMakeRawImageFormat(VPIRawPattern rawPattern, VPIMemLayout memLayout, VPIDataType dataType, VPISwizzle swizzle, VPIPacking packing0, VPIPacking packing1, VPIPacking packing2, VPIPacking packing3)
Creates a user-defined raw image format.
VPIColorModel vpiImageFormatGetColorModel(VPIImageFormat fmt)
Get the image format's color model.
void vpiImageFormatGetBitsPerChannel(VPIImageFormat fmt, int32_t *bits)
Get the image format's bit size for each channel.
const char * vpiImageFormatGetName(VPIImageFormat fmt)
Returns a string representation of the image format.
int vpiImageFormatGetPlaneCount(VPIImageFormat fmt)
Get the number of planes of an image format.
uint32_t vpiImageFormatGetFourCC(VPIImageFormat fmt)
Returns the FourCC code corresponding to an image format.
Defines types and functions to handle pixel types.
VPIColorSpec
Color spec definitions.
Definition: ColorSpec.h:162
VPIRawPattern
Defines Bayer patterns used by RAW color model.
Definition: ColorSpec.h:301
VPIColorModel
Defines color models.
Definition: ColorSpec.h:77
VPIChromaSubsampling
Defines how chroma-subsampling is done.
Definition: ColorSpec.h:398
VPISwizzle
Defines the supported channel swizzle operations.
Definition: DataLayout.h:282
VPIPacking
Defines how channels are packed into an image plane element.
Definition: DataLayout.h:128
VPIMemLayout
Defines how the 2D plane pixels are laid out in memory.
Definition: DataLayout.h:225
VPIDataType
Defines the channel data type.
Definition: DataLayout.h:210
VPIImageFormat
Pre-defined image formats.
Definition: ImageFormat.h:99
VPIPixelType
Pre-defined pixel types.
Definition: PixelType.h:84
@ VPI_IMAGE_FORMAT_Y8_ER
Single plane with one pitch-linear 8-bit unsigned integer channel with full-range luma (grayscale) in...
Definition: ImageFormat.h:144
@ VPI_IMAGE_FORMAT_UYVY_ER
YUV422 8-bit pitch-linear format in one plane with UYVY ordering and full range.
Definition: ImageFormat.h:249
@ VPI_IMAGE_FORMAT_2S16_BL
Single plane with two interleaved 16-bit signed integer channel.
Definition: ImageFormat.h:125
@ VPI_IMAGE_FORMAT_Y8_BL
Single plane with one block-linear 8-bit unsigned integer channel with limited-range luma (grayscale)...
Definition: ImageFormat.h:149
@ VPI_IMAGE_FORMAT_BGR8
Single plane with interleaved BGR 8-bit channel.
Definition: ImageFormat.h:278
@ VPI_IMAGE_FORMAT_NV24_BL
YUV444sp 8-bit block-linear format with limited range.
Definition: ImageFormat.h:222
@ VPI_IMAGE_FORMAT_Y16_ER_BL
Single plane with one block-linear 16-bit unsigned integer channel with full-range luma (grayscale) i...
Definition: ImageFormat.h:164
@ VPI_IMAGE_FORMAT_RGB8
Single plane with interleaved RGB 8-bit channel.
Definition: ImageFormat.h:275
@ VPI_IMAGE_FORMAT_UYVY_ER_BL
YUV422 8-bit block-linear format in one plane with UYVY ordering and full range.
Definition: ImageFormat.h:252
@ VPI_IMAGE_FORMAT_NV12_ER
YUV420sp 8-bit pitch-linear format with full range.
Definition: ImageFormat.h:194
@ VPI_IMAGE_FORMAT_UYVY_BL
YUV422 8-bit block-linear format in one plane with UYVY ordering and limited range.
Definition: ImageFormat.h:246
@ VPI_IMAGE_FORMAT_2S16
Single plane with two interleaved 16-bit signed integer channel.
Definition: ImageFormat.h:122
@ VPI_IMAGE_FORMAT_NV24_ER
YUV444sp 8-bit pitch-linear format with full range.
Definition: ImageFormat.h:231
@ VPI_IMAGE_FORMAT_NV24
YUV444sp 8-bit pitch-linear format with limited range.
Definition: ImageFormat.h:213
@ VPI_IMAGE_FORMAT_INVALID
Denotes an invalid image format.
Definition: ImageFormat.h:101
@ VPI_IMAGE_FORMAT_U16
Single plane with one 16-bit unsigned integer channel.
Definition: ImageFormat.h:110
@ VPI_IMAGE_FORMAT_NV12_BL
YUV420sp 8-bit block-linear format with limited range.
Definition: ImageFormat.h:184
@ VPI_IMAGE_FORMAT_Y8
Single plane with one pitch-linear 8-bit unsigned integer channel with limited-range luma (grayscale)...
Definition: ImageFormat.h:139
@ VPI_IMAGE_FORMAT_U8
Single plane with one 8-bit unsigned integer channel.
Definition: ImageFormat.h:104
@ VPI_IMAGE_FORMAT_2F32
Single plane with two interleaved 32-bit floating point channels.
Definition: ImageFormat.h:134
@ VPI_IMAGE_FORMAT_BGRA8
Single plane with interleaved BGRA 8-bit channel.
Definition: ImageFormat.h:284
@ VPI_IMAGE_FORMAT_U32
Single plane with one 32-bit unsigned integer channel.
Definition: ImageFormat.h:116
@ VPI_IMAGE_FORMAT_YUYV_BL
YUV422 8-bit block-linear format in one plane with YUVY ordering and limited range.
Definition: ImageFormat.h:262
@ VPI_IMAGE_FORMAT_Y8_ER_BL
Single plane with one block-linear 8-bit unsigned integer channel with full-range luma (grayscale) in...
Definition: ImageFormat.h:154
@ VPI_IMAGE_FORMAT_YUYV_ER
YUV422 8-bit pitch-linear format in one plane with YUVY ordering and full range.
Definition: ImageFormat.h:267
@ VPI_IMAGE_FORMAT_S16
Single plane with one 16-bit signed integer channel.
Definition: ImageFormat.h:113
@ VPI_IMAGE_FORMAT_NV24_ER_BL
YUV444sp 8-bit block-linear format with full range.
Definition: ImageFormat.h:240
@ VPI_IMAGE_FORMAT_NV12
YUV420sp 8-bit pitch-linear format with limited range.
Definition: ImageFormat.h:174
@ VPI_IMAGE_FORMAT_F32
Single plane with one 32-bit floating point channel.
Definition: ImageFormat.h:128
@ VPI_IMAGE_FORMAT_YUYV_ER_BL
YUV422 8-bit block-linear format in one plane with YUVY ordering and full range.
Definition: ImageFormat.h:272
@ VPI_IMAGE_FORMAT_Y16_ER
Single plane with one pitch-linear 16-bit unsigned integer channel with full-range luma (grayscale) i...
Definition: ImageFormat.h:159
@ VPI_IMAGE_FORMAT_S8
Single plane with one 8-bit signed integer channel.
Definition: ImageFormat.h:107
@ VPI_IMAGE_FORMAT_RGBA8
Single plane with interleaved RGBA 8-bit channel.
Definition: ImageFormat.h:281
@ VPI_IMAGE_FORMAT_YUYV
YUV422 8-bit pitch-linear format in one plane with YUVY ordering and mitedrange.
Definition: ImageFormat.h:257
@ VPI_IMAGE_FORMAT_UYVY
YUV422 8-bit pitch-linear format in one plane with UYVY ordering and limited range.
Definition: ImageFormat.h:243
@ VPI_IMAGE_FORMAT_F64
Single plane with one 64-bit floating point channel.
Definition: ImageFormat.h:131
@ VPI_IMAGE_FORMAT_S32
Single plane with one 32-bit signed integer channel.
Definition: ImageFormat.h:119
@ VPI_IMAGE_FORMAT_NV12_ER_BL
YUV420sp 8-bit block-linear format with full range.
Definition: ImageFormat.h:204