NVIDIA DRIVE OS Linux SDK API Reference

6.0.9 Release
NvMediaEncodeInitializeParamsH264 Struct Reference

Detailed Description

Holds H264-specific encode initialization parameters.

Definition at line 949 of file nvmedia_common_encode.h.

Collaboration diagram for NvMediaEncodeInitializeParamsH264:

Data Fields

uint16_t encodeWidth
 Holds the encode width. More...
 
uint16_t reserved1
 
uint16_t encodeHeight
 Holds the encode height. More...
 
uint16_t reserved2
 
bool enableLimitedRGB
 Set this to true for limited-RGB (16-235) input. More...
 
uint32_t frameRateNum
 Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t frameRateDen
 Holds the denominator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint8_t profile
 Holds the encoding profile. More...
 
bool enableExtProfile
 Enables extended encoding profiles. More...
 
NvMediaEncodeExtProfile extProfile
 Holds the extended encoding profile. More...
 
uint8_t level
 Holds the encoding level. More...
 
uint8_t maxNumRefFrames
 Holds the maximum number of reference frames used for encoding. More...
 
bool enableExternalMEHints
 Set to true to enable external ME hints. More...
 
NvMediaEncodeExternalMeHintCountsPerBlocktype maxMEHintCountsPerBlock [2]
 If Client wants to pass external motion vectors in NvMediaEncodePicParamsH264 meExternalHints buffer it must specify the maximum number of hint candidates per block per direction for the encode session. More...
 
bool enableReconCRC
 Enable support for recon CRC generation. More...
 
bool enableMVC
 If client want to do MVC encoding then this flag need to be set. More...
 
bool enableROIEncode
 Enable region of interest encoding. More...
 
bool enableSliceEncode
 Use slice encode to reduce latency in getting encoded buffers. More...
 
uint8_t useBFramesAsRef
 Enables B frames to be used as reference frames. More...
 
uint8_t reserved3 [3]
 
bool enableTwoPassRC
 Enable 2 pass RC support. More...
 
bool enableSourceHalfScaled
 Enable 2 pass RC with quarter resolution first pass. More...
 
uint32_t mvcNumViews: 4
 Number of views used for MVC. More...
 
uint32_t enableExternalPictureRC: 1
 Enable external picture rate control. More...
 
uint32_t enableAllIFrames: 1
 Encode all frames as I frames. More...
 
uint32_t enableMemoryOptimization: 1
 Enables feature to allocate memory as per optimizations. More...
 
uint32_t reserved: 25
 Add padding. More...
 

The documentation for this struct was generated from the following file: