NVIDIA DRIVE OS Linux SDK API Reference

5.2.3 Release
For Test and Development only

Detailed Description

Holds VP9 encoder configuration parameters.

Definition at line 1525 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
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS to set the following parameters. 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
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_TRANSFORM_MODE to set the following parameter. More...
 
uint32_t high_prec_mv
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV to set the following parameter. More...
 
NvMediaBool error_resilient
 Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT to set the following parameter. More...
 
NvMediaEncodeQP initQP
 Holds Initial QP parameters. More...
 
NvMediaEncodeQP maxQP
 Holds maximum QP parameters. More...
 

Field Documentation

◆ base_qindex

uint32_t NvMediaEncodeConfigVP9::base_qindex

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_QUANTIZATION_PARAMS to set the following parameters.

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 1573 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 1562 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 1565 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 1585 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 1581 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 1577 of file nvmedia_common_encode.h.

◆ error_resilient

NvMediaBool NvMediaEncodeConfigVP9::error_resilient

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT to set the following parameter.

Enable Error resiliency. This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT.

Definition at line 1608 of file nvmedia_common_encode.h.

◆ features

uint32_t NvMediaEncodeConfigVP9::features

Holds bit-wise OR`ed configuration feature flags.

See the NvMediaEncodeVP9Features enum.

Definition at line 1528 of file nvmedia_common_encode.h.

◆ filter_level

uint32_t NvMediaEncodeConfigVP9::filter_level

Specifies the loop filter strength for each segment.

Definition at line 1552 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.
Value range: One of the following filter types:

  • 0: Eight-tap smooth
  • 1: Eight-tap
  • 2: Eight-tap sharp
  • 3: Bilinear
  • 4: Switchable

Definition at line 1550 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 1532 of file nvmedia_common_encode.h.

◆ high_prec_mv

uint32_t NvMediaEncodeConfigVP9::high_prec_mv

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV to set the following parameter.

Specifies to enable high precision MV. This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_HIGH_PRECISION_MV.

Definition at line 1602 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 1539 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 1612 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 1617 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 1560 of file nvmedia_common_encode.h.

◆ rcParams

NvMediaEncodeRCParams NvMediaEncodeConfigVP9::rcParams

Holds the rate control parameters for the current encoding session.

Definition at line 1534 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 1557 of file nvmedia_common_encode.h.

◆ sharpness_level

uint32_t NvMediaEncodeConfigVP9::sharpness_level

Specifies Sharpness level.

Definition at line 1554 of file nvmedia_common_encode.h.

◆ transform_mode

uint32_t NvMediaEncodeConfigVP9::transform_mode

Set the feature flag NVMEDIA_ENCODE_CONFIG_VP9_ENABLE_TRANSFORM_MODE to set the following parameter.

Specifies transform_mode.
Value range: One of the following modes:

  • 0: only4x4
  • 1: allow_8x8
  • 2: allow_16x16
  • 3: allow_32x32
  • 4:transform_mode_select.

Definition at line 1596 of file nvmedia_common_encode.h.


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