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

Detailed Description

Holds rate control configuration parameters.

Definition at line 1466 of file nvmedia_common.h.

Collaboration diagram for NvMediaEncodeRCParams:

Data Fields

NvMediaEncodeParamsRCMode rateControlMode
 Holds the rate control mode. More...
 
uint32_t numBFrames
 Specified number of B frames between two reference frames. More...
 
union {
   struct {
      uint32_t   averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   vbvBufferSize
 Holds the VBV(HRD) buffer size. More...
 
      uint32_t   vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
   }   cbr
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR mode. More...
 
   struct {
      NvMediaEncodeQP   constQP
 Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode. More...
 
   }   const_qp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode. More...
 
   struct {
      uint32_t   averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   maxBitRate
 Holds the maximum bitrate for the encoded output. More...
 
      uint32_t   vbvBufferSize
 Holds the VBV(HRD) buffer size. More...
 
      uint32_t   vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
   }   vbr
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode. More...
 
   struct {
      uint32_t   averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   maxBitRate
 Holds the maximum bitrate for the encoded output. More...
 
      uint32_t   vbvBufferSize
 Holds the VBV(HRD) buffer size. More...
 
      uint32_t   vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
      NvMediaEncodeQP   minQP
 Holds the minimum QP used for rate control. More...
 
   }   vbr_minqp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode. More...
 
   struct {
      uint32_t   averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   vbvBufferSize
 Holds the VBV(HRD) buffer size. More...
 
      uint32_t   vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
      NvMediaEncodeQP   minQP
 Holds the minimum QP used for rate control. More...
 
   }   cbr_minqp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP mode. More...
 
params
 Rate Control parameters. More...
 
NvMediaBool bConstFrameQP
 using constant frame QP throughout the current encode frame. More...
 
uint32_t maxSessionQP
 Holds the max QP for encoding session when external picture RC hint is used. More...
 

Field Documentation

uint32_t NvMediaEncodeRCParams::averageBitRate

Holds the average bitrate (in bits/sec) used for encoding.

Definition at line 1474 of file nvmedia_common.h.

NvMediaBool NvMediaEncodeRCParams::bConstFrameQP

using constant frame QP throughout the current encode frame.

This is used when when constQP mode rate control is not used

Definition at line 1528 of file nvmedia_common.h.

struct { ... } NvMediaEncodeRCParams::cbr

Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR mode.

struct { ... } NvMediaEncodeRCParams::cbr_minqp

Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP mode.

struct { ... } NvMediaEncodeRCParams::const_qp

Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode.

NvMediaEncodeQP NvMediaEncodeRCParams::constQP

Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode.

Definition at line 1485 of file nvmedia_common.h.

uint32_t NvMediaEncodeRCParams::maxBitRate

Holds the maximum bitrate for the encoded output.

Definition at line 1491 of file nvmedia_common.h.

uint32_t NvMediaEncodeRCParams::maxSessionQP

Holds the max QP for encoding session when external picture RC hint is used.

Definition at line 1531 of file nvmedia_common.h.

NvMediaEncodeQP NvMediaEncodeRCParams::minQP

Holds the minimum QP used for rate control.

Definition at line 1511 of file nvmedia_common.h.

uint32_t NvMediaEncodeRCParams::numBFrames

Specified number of B frames between two reference frames.

Definition at line 1470 of file nvmedia_common.h.

union { ... } NvMediaEncodeRCParams::params

Rate Control parameters.

NvMediaEncodeParamsRCMode NvMediaEncodeRCParams::rateControlMode

Holds the rate control mode.

Definition at line 1468 of file nvmedia_common.h.

struct { ... } NvMediaEncodeRCParams::vbr

Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode.

struct { ... } NvMediaEncodeRCParams::vbr_minqp

Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode.

uint32_t NvMediaEncodeRCParams::vbvBufferSize

Holds the VBV(HRD) buffer size.

in bits. Set 0 to use the default VBV buffer size.

Definition at line 1477 of file nvmedia_common.h.

uint32_t NvMediaEncodeRCParams::vbvInitialDelay

Holds the VBV(HRD) initial delay in bits.

Set 0 to use the default VBV initial delay.

Definition at line 1480 of file nvmedia_common.h.


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