NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaEncodePicParamsH265 Struct Reference

Detailed Description

Holds H265-specific encoder picture parameters.

Sent on a per frame basis.

Definition at line 2457 of file nvmedia_common.h.

Collaboration diagram for NvMediaEncodePicParamsH265:

Data Fields

NvMediaEncodePicType pictureType
 Holds input picture type. More...
 
uint32_t encodePicFlags
 Holds bit-wise OR`ed encode pic flags. More...
 
uint32_t nextBFrames
 Secifies the number of B-frames that follow the current frame. More...
 
NvMediaEncodeRCParams rcParams
 Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags. More...
 
uint32_t seiPayloadArrayCnt
 Holds the number of elements allocated in seiPayloadArray array. More...
 
NvMediaEncodeH265SEIPayloadseiPayloadArray
 Array of SEI payloads which will be inserted for this frame. More...
 
NvMediaEncodeExternalMeHintCountsPerBlocktype meHintCountsPerBlock [2]
 Holds the number of hint candidates per block per direction for the current frame. More...
 
NvMediaEncodeExternalMEHintmeExternalHints
 Holds the pointer to ME external hints for the current frame. 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 numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ). More...
 
uint32_t viewId
 Holds the viewId of current picture. More...
 

Field Documentation

uint32_t NvMediaEncodePicParamsH265::encodePicFlags

Holds bit-wise OR`ed encode pic flags.

See NvMediaEncodePicFlags enum.

Definition at line 2461 of file nvmedia_common.h.

uint32_t NvMediaEncodePicParamsH265::frameRateDen

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).

Definition at line 2506 of file nvmedia_common.h.

uint32_t NvMediaEncodePicParamsH265::frameRateNum

Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).

Definition at line 2503 of file nvmedia_common.h.

NvMediaEncodeExternalMEHint* NvMediaEncodePicParamsH265::meExternalHints

Holds the pointer to ME external hints for the current frame.

The size of ME hint buffer must be equal to number of macroblocks multiplied by the total number of candidates per macroblock. The total number of candidates per MB per direction =

  1*meHintCountsPerBlock[Lx].numCandsPerBlk16x16 +
  2*meHintCountsPerBlock[Lx].numCandsPerBlk16x8 +
  2*meHintCountsPerBlock[Lx].numCandsPerBlk8x16 +
  4*meHintCountsPerBlock[Lx].numCandsPerBlk8x8

For frames using bidirectional ME, the total number of candidates for a single macroblock is the sum of the total number of candidates per MB for each direction (L0 and L1).

If no external ME hints are needed, set this field to NULL.

Definition at line 2500 of file nvmedia_common.h.

NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsH265::meHintCountsPerBlock[2]

Holds the number of hint candidates per block per direction for the current frame.

meHintCountsPerBlock[0] is for L0 predictors and meHintCountsPerBlock[1] is for L1 predictors. The candidate count in NvMediaEncodePicParamsH265 meHintCountsPerBlock[lx] must never exceed NvMediaEncodeInitializeParamsH265 maxMEHintCountsPerBlock[lx] provided during encoder intialization.

Definition at line 2484 of file nvmedia_common.h.

uint32_t NvMediaEncodePicParamsH265::nextBFrames

Secifies the number of B-frames that follow the current frame.

This number can be set only for reference frames and the frames that follow the current frame must be nextBFrames count of B-frames. B-frames are supported only if the profile is greater than NVMEDIA_ENCODE_PROFILE_BASELINE and the maxNumRefFrames is set to 2. Set to zero if no B-frames are needed.

Definition at line 2468 of file nvmedia_common.h.

NvMediaEncodePicType NvMediaEncodePicParamsH265::pictureType

Holds input picture type.

Definition at line 2459 of file nvmedia_common.h.

NvMediaEncodeRCParams NvMediaEncodePicParamsH265::rcParams

Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags.

Please note that the rateControlMode cannot be changed on a per frame basis only the associated rate control parameters.

Definition at line 2473 of file nvmedia_common.h.

NvMediaEncodeH265SEIPayload* NvMediaEncodePicParamsH265::seiPayloadArray

Array of SEI payloads which will be inserted for this frame.

Definition at line 2478 of file nvmedia_common.h.

uint32_t NvMediaEncodePicParamsH265::seiPayloadArrayCnt

Holds the number of elements allocated in seiPayloadArray array.

Set to 0 if no SEI messages are needed

Definition at line 2476 of file nvmedia_common.h.

uint32_t NvMediaEncodePicParamsH265::viewId

Holds the viewId of current picture.

Definition at line 2508 of file nvmedia_common.h.


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