NVIDIA DRIVE OS Linux SDK API Reference

5.1.15.2 Release
For Test and Development only

Detailed Description

Holds VP9 encoder configuration parameters.

Definition at line 1216 of file nvmedia_common_encode.h.

Collaboration diagram for NvMediaEncodeConfigVP9:

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...
 
uint32_t idrPeriod
 Holds the IDR interval. More...
 
uint32_t filter_type
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_LOOP_FILTER_PARAMS to change the following parameters. More...
 
uint32_t filter_level
 Specifies the loop filter strength for each segment. More...
 
uint32_t sharpness_level
 Specifies Sharpness level. More...
 
int8_t ref_lf_deltas [4]
 Specifies the Loop filter strength adjustments based on frame type (intra, inter) More...
 
int8_t mode_lf_deltas [2]
 Specifies the Loop filter strength adjustments based on mode (zero, new mv) More...
 
NvMediaBool bmode_ref_lf_delta_enabled
 Set it to true if MB-level loop filter adjustment is on. More...
 
NvMediaBool bmode_ref_lf_delta_update
 Set it to true if MB-level loop filter adjustment delta values are updated. More...
 
uint32_t base_qindex
 Specifies quant base index (used only when rc_mode = 0) for each segment 0...255. More...
 
int32_t delta_y_dc_q
 Specifies explicit qindex adjustment for y dccoefficient, -15...15. More...
 
int32_t delta_uv_dc
 Specifies qindex adjustment for uv accoefficient, -15...15. More...
 
int32_t delta_uv_ac
 Specifies qindex adjustment for uv dccoefficient, -15...15. More...
 
uint32_t transform_mode
 Specifies transform_mode: 0: only4x4, 1: allow_8x8, 2: allow_16x16, 3: allow_32x32, 4:transform_mode_select. More...
 
uint32_t high_prec_mv
 Specifies to enable high precision MV. More...
 
NvMediaBool error_resilient
 Enable Error resiliency. More...
 
NvMediaEncodeQP initQP
 Holds Initial QP parameters. More...
 
NvMediaEncodeQP maxQP
 Holds maximum QP parameters. More...
 

Field Documentation

◆ base_qindex

uint32_t NvMediaEncodeConfigVP9::base_qindex

Specifies quant base index (used only when rc_mode = 0) for each segment 0...255.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS.

Definition at line 1253 of file nvmedia_common_encode.h.

◆ bmode_ref_lf_delta_enabled

NvMediaBool NvMediaEncodeConfigVP9::bmode_ref_lf_delta_enabled

Set it to true if MB-level loop filter adjustment is on.

Definition at line 1245 of file nvmedia_common_encode.h.

◆ bmode_ref_lf_delta_update

NvMediaBool NvMediaEncodeConfigVP9::bmode_ref_lf_delta_update

Set it to true if MB-level loop filter adjustment delta values are updated.

Definition at line 1247 of file nvmedia_common_encode.h.

◆ delta_uv_ac

int32_t NvMediaEncodeConfigVP9::delta_uv_ac

Specifies qindex adjustment for uv dccoefficient, -15...15.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS.

Definition at line 1262 of file nvmedia_common_encode.h.

◆ delta_uv_dc

int32_t NvMediaEncodeConfigVP9::delta_uv_dc

Specifies qindex adjustment for uv accoefficient, -15...15.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS.

Definition at line 1259 of file nvmedia_common_encode.h.

◆ delta_y_dc_q

int32_t NvMediaEncodeConfigVP9::delta_y_dc_q

Specifies explicit qindex adjustment for y dccoefficient, -15...15.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS.

Definition at line 1256 of file nvmedia_common_encode.h.

◆ error_resilient

NvMediaBool NvMediaEncodeConfigVP9::error_resilient

Enable Error resiliency.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT.

Definition at line 1281 of file nvmedia_common_encode.h.

◆ features

uint32_t NvMediaEncodeConfigVP9::features

Holds bit-wise OR`ed configuration feature flags.

TBD

Definition at line 1218 of file nvmedia_common_encode.h.

◆ filter_level

uint32_t NvMediaEncodeConfigVP9::filter_level

Specifies the loop filter strength for each segment.

Definition at line 1236 of file nvmedia_common_encode.h.

◆ filter_type

uint32_t NvMediaEncodeConfigVP9::filter_type

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_LOOP_FILTER_PARAMS to change the following parameters.

Specifies the type of the filter used. :0 eight-tap smooth, 1: eight-tap, 2: eight-tap sharp, 3: bilinear, 4: switchable

Definition at line 1234 of file nvmedia_common_encode.h.

◆ gopLength

uint32_t NvMediaEncodeConfigVP9::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 1222 of file nvmedia_common_encode.h.

◆ high_prec_mv

uint32_t NvMediaEncodeConfigVP9::high_prec_mv

Specifies to enable high precision MV.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV.

Definition at line 1275 of file nvmedia_common_encode.h.

◆ idrPeriod

uint32_t NvMediaEncodeConfigVP9::idrPeriod

Holds the IDR interval.

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

Definition at line 1228 of file nvmedia_common_encode.h.

◆ initQP

NvMediaEncodeQP NvMediaEncodeConfigVP9::initQP

Holds Initial QP parameters.

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

Definition at line 1285 of file nvmedia_common_encode.h.

◆ maxQP

NvMediaEncodeQP NvMediaEncodeConfigVP9::maxQP

Holds maximum QP parameters.

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

Definition at line 1290 of file nvmedia_common_encode.h.

◆ mode_lf_deltas

int8_t NvMediaEncodeConfigVP9::mode_lf_deltas[2]

Specifies the Loop filter strength adjustments based on mode (zero, new mv)

Definition at line 1243 of file nvmedia_common_encode.h.

◆ rcParams

NvMediaEncodeRCParams NvMediaEncodeConfigVP9::rcParams

Holds the rate control parameters for the current encoding session.

Definition at line 1224 of file nvmedia_common_encode.h.

◆ ref_lf_deltas

int8_t NvMediaEncodeConfigVP9::ref_lf_deltas[4]

Specifies the Loop filter strength adjustments based on frame type (intra, inter)

Definition at line 1241 of file nvmedia_common_encode.h.

◆ sharpness_level

uint32_t NvMediaEncodeConfigVP9::sharpness_level

Specifies Sharpness level.

Definition at line 1238 of file nvmedia_common_encode.h.

◆ transform_mode

uint32_t NvMediaEncodeConfigVP9::transform_mode

Specifies transform_mode: 0: only4x4, 1: allow_8x8, 2: allow_16x16, 3: allow_32x32, 4:transform_mode_select.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_TRANSFORM_MODE.

Definition at line 1269 of file nvmedia_common_encode.h.


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