Holds an H264 encoder configuration.
Definition at line 744 of file nvmedia_common_encode.h.
Data Fields | |
uint32_t | features |
Holds bit-wise OR`ed configuration feature flags. More... | |
uint32_t | gopLength |
Holds the number of pictures in one GOP. More... | |
NvMediaEncodeRCParams | rcParams |
Holds the rate control parameters for the current encoding session. More... | |
NvMediaEncodeH264SPSPPSRepeatMode | repeatSPSPPS |
Holds the frequency of the writing of Sequence and Picture parameters. More... | |
uint32_t | idrPeriod |
Holds the IDR interval. More... | |
uint16_t | numSliceCountMinus1 |
Holds a number that is 1 less than the desired number of slices per frame. More... | |
uint8_t | disableDeblockingFilterIDC |
Holds the deblocking filter mode. More... | |
NvMediaEncodeH264AdaptiveTransformMode | adaptiveTransformMode |
Holds the Adaptive Transform Mode. More... | |
NvMediaEncodeH264BDirectMode | bdirectMode |
Holds the BDirect mode. More... | |
NvMediaEncodeH264EntropyCodingMode | entropyCodingMode |
Holds the entropy coding mode. More... | |
uint32_t | intraRefreshPeriod |
Holds the interval between frames that triggers a new intra refresh cycle. More... | |
uint32_t | intraRefreshCnt |
Holds the number of frames over which intra refresh happens. More... | |
uint32_t | maxSliceSizeInBytes |
Holds the maximum slice size in bytes for dynamic slice mode. More... | |
uint32_t | numMacroblocksPerSlice |
Holds the number of macroblocks per slice. More... | |
NvMediaEncodeConfigH264VUIParams * | h264VUIParameters |
Holds the H.264 video usability information pamameters. More... | |
uint32_t | motionPredictionExclusionFlags |
Holds bitwise OR`ed exclusion flags. More... | |
NvMediaEncodeQuality | quality |
Holds the encode quality pre-set. More... | |
NvMediaEncodeH264POCType | pocType |
Holds pic_ordec_cnt_type. More... | |
NvMediaEncodeQP | initQP |
Holds the initial QP parameters. More... | |
NvMediaEncodeQP | maxQP |
Holds the maximum QP parameters. More... | |
uint8_t | enableWeightedPrediction |
Enable/disable weighted prediction. More... | |
NvMediaEncodeH264AdaptiveTransformMode NvMediaEncodeConfigH264::adaptiveTransformMode |
Holds the Adaptive Transform Mode.
Definition at line 771 of file nvmedia_common_encode.h.
NvMediaEncodeH264BDirectMode NvMediaEncodeConfigH264::bdirectMode |
Holds the BDirect mode.
Definition at line 773 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH264::disableDeblockingFilterIDC |
Holds the deblocking filter mode.
Value range: 0 to 2 in increments of 1.
Definition at line 769 of file nvmedia_common_encode.h.
uint8_t NvMediaEncodeConfigH264::enableWeightedPrediction |
Enable/disable weighted prediction.
Value range: 0 to disable, non-zero value to enable
Definition at line 830 of file nvmedia_common_encode.h.
NvMediaEncodeH264EntropyCodingMode NvMediaEncodeConfigH264::entropyCodingMode |
Holds the entropy coding mode.
Definition at line 775 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::features |
Holds bit-wise OR`ed configuration feature flags.
See enum NvMediaEncodeH264Features.
Definition at line 747 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::gopLength |
Holds the number of pictures in one GOP.
A low-latency application client can set goplength to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that keyframes are not inserted automatically.
Definition at line 751 of file nvmedia_common_encode.h.
NvMediaEncodeConfigH264VUIParams* NvMediaEncodeConfigH264::h264VUIParameters |
Holds the H.264 video usability information pamameters.
Set to NULL if VUI is not needed.
Definition at line 808 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::idrPeriod |
Holds the IDR interval.
If not set, the interval is made equal to gopLength. A low-latency application client can set the IDR interval to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that IDR frames are not inserted automatically.
Definition at line 761 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeConfigH264::initQP |
Holds the initial QP parameters.
The client must set NVMEDIA_ENCODE_CONFIG_H264_INIT_QP in features to use this.
Value range: QP values can lie between 1 to 51 in increments of 1.
Definition at line 822 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::intraRefreshCnt |
Holds the number of frames over which intra refresh happens.
This value must be less than or equal to intraRefreshPeriod. Set to zero to disable intra refresh functionality. If it is set to one, then after every intraRefreshPeriod frames the encoded P frame contains only intra predicted macroblocks. This value is used only if NVMEDIA_ENCODE_CONFIG_H264_ENABLE_INTRA_REFRESH is set in features.
Definition at line 796 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::intraRefreshPeriod |
Holds the interval between frames that triggers a new intra refresh cycle.
This cycle lasts for intraRefreshCnt frames. This value is used only if NVMEDIA_ENCODE_CONFIG_H264_ENABLE_INTRA_REFRESH is set in features. NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH picture type also triggers a new intra refresh cycle and resets the current intra refresh period. Set to zero to suppress triggering of automatic refresh cycles. In this case only NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH picture type can trigger a new refresh cycle.
Definition at line 787 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeConfigH264::maxQP |
Holds the maximum QP parameters.
The client must set NVMEDIA_ENCODE_CONFIG_H264_QP_MAX in features to use this.
Value range: QP values can lie between 1 to 51 in increments of 1, must be greater than NvMediaEncodeRCParams::minQP.
Definition at line 827 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::maxSliceSizeInBytes |
Holds the maximum slice size in bytes for dynamic slice mode.
The client must set NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_SLICE_MODE in features for this setting to take effect.
Definition at line 801 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::motionPredictionExclusionFlags |
Holds bitwise OR`ed exclusion flags.
See enum NvMediaEncodeH264MotionPredictionExclusionFlags.
Definition at line 812 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeConfigH264::numMacroblocksPerSlice |
Holds the number of macroblocks per slice.
Set to 0 if a fixed number of macroblocks not required or if maxSliceSizeInBytes or numSliceCountMinus1 is set to a non-zero value.
Definition at line 805 of file nvmedia_common_encode.h.
uint16_t NvMediaEncodeConfigH264::numSliceCountMinus1 |
Holds a number that is 1 less than the desired number of slices per frame.
NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_SLICE_MODE should NOT be set in features for this setting to take effect.
Value range: 0 to 31 in increments of 1.
Definition at line 766 of file nvmedia_common_encode.h.
NvMediaEncodeH264POCType NvMediaEncodeConfigH264::pocType |
Holds pic_ordec_cnt_type.
Definition at line 817 of file nvmedia_common_encode.h.
NvMediaEncodeQuality NvMediaEncodeConfigH264::quality |
Holds the encode quality pre-set.
See enum NvMediaEncodeQuality. Recommended pre-setting is NVMEDIA_ENCODE_QUALITY_L1.
Definition at line 815 of file nvmedia_common_encode.h.
NvMediaEncodeRCParams NvMediaEncodeConfigH264::rcParams |
Holds the rate control parameters for the current encoding session.
Definition at line 753 of file nvmedia_common_encode.h.
NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH264::repeatSPSPPS |
Holds the frequency of the writing of Sequence and Picture parameters.
Definition at line 756 of file nvmedia_common_encode.h.