NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only

Detailed Description

Holds the H265 encoder configuration parameters.

Definition at line 1200 of file nvmedia_common_encode.h.

Collaboration diagram for NvMediaEncodeConfigH265:

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 disableDeblockingFilter
 Holds disable the deblocking filter. More...
 
uint8_t enableWeightedPrediction
 Holds enable weighted prediction. 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 maximum slice size in bytes for dynamic slice mode. More...
 
uint32_t numCTUsPerSlice
 Number of CTU per slice. More...
 
NvMediaEncodeConfigH265VUIParamsh265VUIParameters
 Holds the H265 video usability info pamameters. More...
 
NvMediaEncodeQuality quality
 Holds encode quality pre-set. More...
 
NvMediaEncodeQP initQP
 Holds Initial QP parameters. More...
 
NvMediaEncodeQP maxQP
 Holds maximum QP parameters. More...
 

Field Documentation

◆ disableDeblockingFilter

uint8_t NvMediaEncodeConfigH265::disableDeblockingFilter

Holds disable the deblocking filter.

Note
This feature is not supported.

Definition at line 1224 of file nvmedia_common_encode.h.

◆ enableWeightedPrediction

uint8_t NvMediaEncodeConfigH265::enableWeightedPrediction

Holds enable weighted prediction.

Note
This feature is not supported.

Definition at line 1227 of file nvmedia_common_encode.h.

◆ features

uint32_t NvMediaEncodeConfigH265::features

Holds bit-wise OR`ed configuration feature flags.

See the NvMediaEncodeH265Features enum.

Definition at line 1203 of file nvmedia_common_encode.h.

◆ gopLength

uint32_t NvMediaEncodeConfigH265::gopLength

Holds the number of pictures in one GOP.

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

Definition at line 1207 of file nvmedia_common_encode.h.

◆ h265VUIParameters

NvMediaEncodeConfigH265VUIParams* NvMediaEncodeConfigH265::h265VUIParameters

Holds the H265 video usability info pamameters.

Set to NULL if VUI is not needed

Definition at line 1256 of file nvmedia_common_encode.h.

◆ idrPeriod

uint32_t NvMediaEncodeConfigH265::idrPeriod

Holds the IDR interval.

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

Definition at line 1216 of file nvmedia_common_encode.h.

◆ initQP

NvMediaEncodeQP NvMediaEncodeConfigH265::initQP

Holds Initial QP parameters.

Client must set NVMEDIA_ENCODE_CONFIG_H265_INIT_QP in features to use this.
Value range: QP values can lie between 1 to 51 in increments of 1.

Definition at line 1263 of file nvmedia_common_encode.h.

◆ intraRefreshCnt

uint32_t NvMediaEncodeConfigH265::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_H265_ENABLE_INTRA_REFRESH is set in features.

Definition at line 1245 of file nvmedia_common_encode.h.

◆ intraRefreshPeriod

uint32_t NvMediaEncodeConfigH265::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_H265_ENABLE_INTRA_REFRESH is set in features. The 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 1237 of file nvmedia_common_encode.h.

◆ maxQP

NvMediaEncodeQP NvMediaEncodeConfigH265::maxQP

Holds maximum QP parameters.

Client must set NVMEDIA_ENCODE_CONFIG_H265_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 1268 of file nvmedia_common_encode.h.

◆ maxSliceSizeInBytes

uint32_t NvMediaEncodeConfigH265::maxSliceSizeInBytes

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

The Client must set NVMEDIA_ENCODE_CONFIG_H265_ENABLE_DYNAMIC_SLICE_MODE in features in order for this to take effect.

Definition at line 1249 of file nvmedia_common_encode.h.

◆ numCTUsPerSlice

uint32_t NvMediaEncodeConfigH265::numCTUsPerSlice

Number of CTU 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 1253 of file nvmedia_common_encode.h.

◆ numSliceCountMinus1

uint16_t NvMediaEncodeConfigH265::numSliceCountMinus1

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

NVMEDIA_ENCODE_CONFIG_H265_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 1221 of file nvmedia_common_encode.h.

◆ quality

NvMediaEncodeQuality NvMediaEncodeConfigH265::quality

Holds encode quality pre-set.

See NvMediaEncodeQuality enum. Recommended pre-setting is NVMEDIA_ENCODE_QUALITY_L0.

Definition at line 1259 of file nvmedia_common_encode.h.

◆ rcParams

NvMediaEncodeRCParams NvMediaEncodeConfigH265::rcParams

Holds the rate control parameters for the current encoding session.

Definition at line 1209 of file nvmedia_common_encode.h.

◆ repeatSPSPPS

NvMediaEncodeH264SPSPPSRepeatMode NvMediaEncodeConfigH265::repeatSPSPPS

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

Definition at line 1211 of file nvmedia_common_encode.h.


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