Contains a list of all NvSciBuf datatypes.
Data Structures | |
| struct | NvSciRmGpuId |
| Defines GPU ID structure. More... | |
| struct | NvSciBufAttrValGpuCache |
| Datatype specifying GPU cacheability preference for a particular GPU ID. More... | |
| struct | NvSciBufAttrValGpuCompression |
| Datatype specifying compression type needed for a particular GPU ID. More... | |
| struct | NvSciBufRect |
| Datatype specifying the surface co-ordinates for NvSciBufObjGetPixels / NvSciBufObjPutPixels functionality. More... | |
Functions | |
| PACK_BUF (typedef struct { NvSciBufHwEngName engName;NvSciBufPlatformName platName;}) NvSciBufPeerHwEngine | |
| Datatype specifying hardware engines which will access NvSciBufObj by late attaching peer(s). More... | |
Defines buffer access permissions for NvSciBufObj.
Definition at line 2342 of file nvscibuf.h.
Defines the image color formats for NvSciBufType_Image.
Color units are composed of sequences of 'words'. Words correspond to 8-, 16-, 32-, or 64-bit data types, though the specific type depends on the color format.
Words are separated by underscores. Example : NvSciColor_U8_V8
Within a word, color components are ordered from most-significant bit to least-significant bit when reading from left to right. Example: Bit ordering for little endian machine is as follows for NvSciColor_V10U10 pattern VVVVVVVV VV****** UUUUUUUU UU****** +---—+ +---—+ +---—+ +---—+ bit 31 24 23 16 15 8 7 0 +------------------------------—+ pixel 0
Exceptions:
'*' means undefined bit value
NV12 : YUV420 semi-planar surface with U component occupying Least Significant Bit(s) NV21 : YUV420 semi-planar surface with V component occupying Least Significant Bit(s) NV16 : YUV422 semi-planar surface with U component occupying Least Significant Bit(s) NV61 : YUV422 semi-planar surface with V component occupying Least Significant Bit(s) YV12 : YUV420 full planar surface with plane 0 = Y component, plane 1 = U component, plane 2 = V component YV16 : YUV422 full planar surface with plane 0 = Y component, plane 1 = U component, plane 2 = V component YV24 : YUV444 full planar surface with plane 0 = Y component, plane 1 = U component, plane 2 = V component
Definition at line 2419 of file nvscibuf.h.
Defines the image color standard for NvSciBufType_Image.
Definition at line 2752 of file nvscibuf.h.
Defines various numeric datatypes for NvSciBuf.
Definition at line 2880 of file nvscibuf.h.
Defines the image layout type for NvSciBufType_Image.
| Enumerator | |
|---|---|
| NvSciBufImage_BlockLinearType | Block linear layout format. A hardware-optimized image layout. |
| NvSciBufImage_PitchLinearType | Pitch linear layout format. |
Definition at line 2357 of file nvscibuf.h.
Defines the image scan type for NvSciBufType_Image.
| Enumerator | |
|---|---|
| NvSciBufScan_ProgressiveType | |
| NvSciBufScan_InterlaceType | |
Definition at line 2374 of file nvscibuf.h.
an enum spcifying various GPU compression values supported by NvSciBuf
| Enumerator | |
|---|---|
| NvSciBufCompressionType_None | Default value spcifying that GPU compression defaults to incompressible kind. NvSciBuf fills this value in the reconciled NvSciBufAttrList if the GPU compression is not granted for the particular GPU. If compression is not needed, user does not have to explicitly specify this value in the unreconciled NvSciBufAttrList. NvSciBuf does not allow setting this value in the unreconciled NvSciBufAttrList. Attempting to do so results in NvSciBufAttrListSetAttrs() returning an error. |
| NvSciBufCompressionType_GenericCompressible | Enum to request all possible GPU compression including enabling PLC (Post L-2 Compression). CUDA can read/write the GPU compressible memory with PLC enabled. Vulkan can also read/write the GPU compressible memory with PLC enabled. This compression can be requested in CUDA to CUDA, CUDA to Vulkan and Vulkan to Vulkan interop use-cases. |
Definition at line 2899 of file nvscibuf.h.
| enum NvSciBufHwEngName |
Enum to identify hardware engines.
Definition at line 2991 of file nvscibuf.h.
| enum NvSciBufPlatformName |
Enum to identify the platform on which late attaching peer(s) is running.
Definition at line 3014 of file nvscibuf.h.
| enum NvSciBufSurfBPC |
Bits Per Component.
Definition at line 2839 of file nvscibuf.h.
Component ordering.
| Enumerator | |
|---|---|
| NvSciSurfComponentOrder_YUV | YUV component order. |
| NvSciSurfComponentOrder_YVU | YVU component order. |
| NvSciSurfComponentOrder_Luma | Luma-only ordering. |
| NvSciSurfComponentOrder_MaxValid | |
Definition at line 2865 of file nvscibuf.h.
Memory type.
Definition at line 2797 of file nvscibuf.h.
Subsampling type.
Definition at line 2820 of file nvscibuf.h.
| enum NvSciBufSurfType |
Surface types.
Definition at line 2772 of file nvscibuf.h.
| enum NvSciBufType |
Enum definitions of NvSciBuf datatypes.
Definition at line 123 of file nvscibuf.h.
| PACK_BUF | ( | typedef struct { NvSciBufHwEngName engName;NvSciBufPlatformName platName;} | ) |
Datatype specifying hardware engines which will access NvSciBufObj by late attaching peer(s).