NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

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

Detailed Description

Holds an H264 encoder configuration.

Definition at line 1988 of file nvmedia_common.h.

Collaboration diagram for NvMediaEncodeConfigH264:

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 number of slices desired per frame. More...
 
uint8_t disableDeblockingFilterIDC
 Holds the deblocking filter mode. More...
 
NvMediaEncodeH264AdaptiveTransformMode adaptiveTransformMode
 Holds the AdaptiveTransform 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 trigger a new intra refresh cycle and this cycle lasts for intraRefreshCnt frames. More...
 
uint32_t intraRefreshCnt
 Holds the number of frames over which intra refresh will happen. More...
 
uint32_t maxSliceSizeInBytes
 Holds the max slice size in bytes for dynamic slice mode. More...
 
uint32_t numMacroblocksPerSlice
 Number of macroblocks per slice. More...
 
NvMediaEncodeConfigH264VUIParamsh264VUIParameters
 Holds the H264 video usability info pamameters. More...
 
uint32_t motionPredictionExclusionFlags
 Holds bit-wise OR`ed exclusion flags. More...
 
NvMediaEncodeQuality quality
 Holds encode quality pre-set. More...
 
NvMediaEncodeH264POCType pocType
 Holds pic_ordec_cnt_type. More...
 
NvMediaEncodeQP initQP
 Holds Initial QP parameters. More...
 
NvMediaEncodeQP maxQP
 Holds maximum QP parameters. More...
 
uint8_t enableWeightedPrediction
 Holds enable weighted predition. More...
 

Field Documentation

NvMediaEncodeH264AdaptiveTransformMode NvMediaEncodeConfigH264::adaptiveTransformMode

Holds the AdaptiveTransform Mode.

Definition at line 2008 of file nvmedia_common.h.

NvMediaEncodeH264BDirectMode NvMediaEncodeConfigH264::bdirectMode

Holds the BDirect mode.

Definition at line 2010 of file nvmedia_common.h.

uint8_t NvMediaEncodeConfigH264::disableDeblockingFilterIDC

Holds the deblocking filter mode.

Permissible value range: [0,2].

Definition at line 2006 of file nvmedia_common.h.

uint8_t NvMediaEncodeConfigH264::enableWeightedPrediction

Holds enable weighted predition.

Definition at line 2056 of file nvmedia_common.h.

NvMediaEncodeH264EntropyCodingMode NvMediaEncodeConfigH264::entropyCodingMode

Holds the entropy coding mode.

Definition at line 2012 of file nvmedia_common.h.

uint32_t NvMediaEncodeConfigH264::features

Holds bit-wise OR`ed configuration feature flags.

See NvMediaEncodeH264Features enum

Definition at line 1990 of file nvmedia_common.h.

uint32_t NvMediaEncodeConfigH264::gopLength

Holds the number of pictures in one GOP.

Low latency application client can set goplength to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that keyframes are not inserted automatically.

Definition at line 1994 of file nvmedia_common.h.

NvMediaEncodeConfigH264VUIParams* NvMediaEncodeConfigH264::h264VUIParameters

Holds the H264 video usability info pamameters.

Set to NULL if VUI is not needed

Definition at line 2039 of file nvmedia_common.h.

uint32_t NvMediaEncodeConfigH264::idrPeriod

Holds the IDR interval.

If not set, this is made equal to gopLength in NvMediaEncodeConfigH264. Low latency application client can set IDR interval to NVMEDIA_ENCODE_INFINITE_GOPLENGTH so that IDR frames are not inserted automatically.

Definition at line 2002 of file nvmedia_common.h.

NvMediaEncodeQP NvMediaEncodeConfigH264::initQP

Holds Initial QP parameters.

Client must set NVMEDIA_ENCODE_CONFIG_H264_INIT_QP in features to use this. QP values should be within the range of 1 to 51

Definition at line 2049 of file nvmedia_common.h.

uint32_t NvMediaEncodeConfigH264::intraRefreshCnt

Holds the number of frames over which intra refresh will happen.

This value must be less than or equal to intraRefreshPeriod. Setting it to zero turns off the intra refresh functionality. Setting it to one essentially means that after every intraRefreshPeriod frames the encoded P frame contains only intra predicted macroblocks. This value is used only if the NVMEDIA_ENCODE_CONFIG_H264_ENABLE_INTRA_REFRESH is set in features.

Definition at line 2030 of file nvmedia_common.h.

uint32_t NvMediaEncodeConfigH264::intraRefreshPeriod

Holds the interval between frames that trigger a new intra refresh cycle and this cycle lasts for intraRefreshCnt frames.

This value is used only if the 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. Setting it to zero results in that no automatic refresh cycles are triggered. In this case only NVMEDIA_ENCODE_PIC_TYPE_P_INTRA_REFRESH picture type can trigger a new refresh cycle.

Definition at line 2022 of file nvmedia_common.h.

NvMediaEncodeQP NvMediaEncodeConfigH264::maxQP

Holds maximum QP parameters.

Client must set NVMEDIA_ENCODE_CONFIG_H264_QP_MAX in features to use this. The maximum QP values must be within the range of 1 to 51 and must be greater than NvMediaEncodeRCParams::minQP.

Definition at line 2054 of file nvmedia_common.h.

uint32_t NvMediaEncodeConfigH264::maxSliceSizeInBytes

Holds the max slice size in bytes for dynamic slice mode.

Client must set NVMEDIA_ENCODE_CONFIG_H264_ENABLE_DYNAMIC_SLICE_MODE in features to use max slice size in bytes.

Definition at line 2034 of file nvmedia_common.h.

uint32_t NvMediaEncodeConfigH264::motionPredictionExclusionFlags

Holds bit-wise OR`ed exclusion flags.

See NvMediaEncodeH264MotionPredictionExclusionFlags enum.

Definition at line 2041 of file nvmedia_common.h.

uint32_t NvMediaEncodeConfigH264::numMacroblocksPerSlice

Number of macroblocks per slice.

Set to 0 if fix number of macroblocks not required or maxSliceSizeInBytes or numSliceCountMinus1 is set to non-zero value.

Definition at line 2037 of file nvmedia_common.h.

uint16_t NvMediaEncodeConfigH264::numSliceCountMinus1

Holds a number that is 1 less than the number of slices desired per frame.

Definition at line 2004 of file nvmedia_common.h.

NvMediaEncodeH264POCType NvMediaEncodeConfigH264::pocType

Holds pic_ordec_cnt_type.

Definition at line 2046 of file nvmedia_common.h.

NvMediaEncodeQuality NvMediaEncodeConfigH264::quality

Holds encode quality pre-set.

See NvMediaEncodeQuality enum. Recommended pre-setting is NVMEDIA_ENCODE_QUALITY_L1.

Definition at line 2044 of file nvmedia_common.h.

NvMediaEncodeRCParams NvMediaEncodeConfigH264::rcParams

Holds the rate control parameters for the current encoding session.

Definition at line 1996 of file nvmedia_common.h.

NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH264::repeatSPSPPS

Holds the frequency of the writing of Sequence and Picture parameters.

Definition at line 1998 of file nvmedia_common.h.


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