NVIDIA DRIVE 5.0 Linux SDK API Reference

5.0.5.0 Release

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

Detailed Description

Holds VP9 encoder configuration parameters.

Definition at line 2511 of file nvmedia_common.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

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 2548 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeConfigVP9::bmode_ref_lf_delta_enabled

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

Definition at line 2540 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeConfigVP9::bmode_ref_lf_delta_update

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

Definition at line 2542 of file nvmedia_common.h.

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 2557 of file nvmedia_common.h.

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 2554 of file nvmedia_common.h.

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 2551 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeConfigVP9::error_resilient

Enable Error resiliency.

This is for setting the feature flag NVMEDIA_ENCODE_CONFIG_VP9_DISABLE_ERROR_RESILIENT.

Definition at line 2576 of file nvmedia_common.h.

uint32_t NvMediaEncodeConfigVP9::features

Holds bit-wise OR`ed configuration feature flags.

TBD

Definition at line 2513 of file nvmedia_common.h.

uint32_t NvMediaEncodeConfigVP9::filter_level

Specifies the loop filter strength for each segment.

Definition at line 2531 of file nvmedia_common.h.

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 2529 of file nvmedia_common.h.

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 2517 of file nvmedia_common.h.

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 2570 of file nvmedia_common.h.

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 2523 of file nvmedia_common.h.

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 2580 of file nvmedia_common.h.

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 2585 of file nvmedia_common.h.

int8_t NvMediaEncodeConfigVP9::mode_lf_deltas[2]

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

Definition at line 2538 of file nvmedia_common.h.

NvMediaEncodeRCParams NvMediaEncodeConfigVP9::rcParams

Holds the rate control parameters for the current encoding session.

Definition at line 2519 of file nvmedia_common.h.

int8_t NvMediaEncodeConfigVP9::ref_lf_deltas[4]

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

Definition at line 2536 of file nvmedia_common.h.

uint32_t NvMediaEncodeConfigVP9::sharpness_level

Specifies Sharpness level.

Definition at line 2533 of file nvmedia_common.h.

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 2564 of file nvmedia_common.h.


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