H264 specific encoder picture params.
Sent on a per frame basis.
Definition at line 990 of file nvmedia_common_encode.h.
Data Fields | |
NvMediaEncodePicType | pictureType |
Holds input picture type. More... | |
uint32_t | encodePicFlags |
Holds bit-wise OR`ed encode pic flags. More... | |
uint32_t | nextBFrames |
Specifies 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... | |
NvMediaEncodeH264SEIPayload * | seiPayloadArray |
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... | |
union { | |
NvMediaEncodeExternalMEHint * meExternalHints | |
uint8_t * meHints | |
}; | |
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... | |
union { ... } |
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.
uint32_t NvMediaEncodePicParamsH264::encodePicFlags |
Holds bit-wise OR`ed encode pic flags.
See enum NvMediaEncodePicFlags.
Definition at line 995 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::frameRateDen |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Value range: Frame rate can lie between 1 and 60 (float value).
Definition at line 1050 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::frameRateNum |
Holds the numerator for frame rate used for encoding in frames per second ( Frame rate = frameRateNum / frameRateDen ).
Value range: Frame rate can lie between 1 and 60 (float value).
Definition at line 1046 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMEHint* NvMediaEncodePicParamsH264::meExternalHints |
Definition at line 1040 of file nvmedia_common_encode.h.
NvMediaEncodeExternalMeHintCountsPerBlocktype NvMediaEncodePicParamsH264::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 NvMediaEncodePicParamsH264 meHintCountsPerBlock[lx] must never exceed NvMediaEncodeInitializeParamsH264 maxMEHintCountsPerBlock[lx] provided during encoder initialization.
Definition at line 1021 of file nvmedia_common_encode.h.
uint8_t* NvMediaEncodePicParamsH264::meHints |
Definition at line 1041 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::nextBFrames |
Specifies 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 1002 of file nvmedia_common_encode.h.
NvMediaEncodePicType NvMediaEncodePicParamsH264::pictureType |
Holds input picture type.
Definition at line 992 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodePicParamsH264::rcParams |
Holds the rate control parameters from the current frame onward if the NVMEDIA_ENCODE_PIC_FLAG_RATECONTROL_CHANGE is set in the encodePicFlags.
Definition at line 1009 of file nvmedia_common_encode.h.
NvMediaEncodeH264SEIPayload* NvMediaEncodePicParamsH264::seiPayloadArray |
Array of SEI payloads which will be inserted for this frame.
Definition at line 1014 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::seiPayloadArrayCnt |
Holds the number of elements allocated in seiPayloadArray array.
Set to 0 if no SEI messages are needed
Definition at line 1012 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodePicParamsH264::viewId |
Holds the viewId of current picture.
Definition at line 1052 of file nvmedia_common_encode.h.