NVIDIA DRIVE OS Linux SDK API Reference

6.0.3 Release

Detailed Description

Holds rate control configuration parameters.

Definition at line 97 of file tvmr/include/nvmedia_common_encode.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   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
   }   NvMediaEncodeRCParams::cbr
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR mode. More...
 
   struct {
      NvMediaEncodeQP   NvMediaEncodeRCParams::constQP
 Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode. More...
 
   }   NvMediaEncodeRCParams::const_qp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode. More...
 
   struct {
      uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   NvMediaEncodeRCParams::maxBitRate
 Holds the maximum bitrate for the encoded output. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
   }   NvMediaEncodeRCParams::vbr
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode. More...
 
   struct {
      uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   NvMediaEncodeRCParams::maxBitRate
 Holds the maximum bitrate for the encoded output. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
      NvMediaEncodeQP   NvMediaEncodeRCParams::minQP
 Holds the minimum QP used for rate control. More...
 
   }   NvMediaEncodeRCParams::vbr_minqp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode. More...
 
   struct {
      uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
      NvMediaEncodeQP   NvMediaEncodeRCParams::minQP
 Holds the minimum QP used for rate control. More...
 
   }   NvMediaEncodeRCParams::cbr_minqp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP mode. More...
 
params
 Rate Control parameters. More...
 
NvMediaBool bConstFrameQP
 Use constant QP at frame level or MB row level. More...
 
int8_t maxSessionQP
 Holds the max QP for encoding session when external picture RC hint is used. More...
 
int8_t reserved [3]
 
union {
   struct {
      uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
   }   NvMediaEncodeRCParams::cbr
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR mode. More...
 
   struct {
      NvMediaEncodeQP   NvMediaEncodeRCParams::constQP
 Holds the initial QP to be used for encoding, these values would be used for all frames in Constant QP mode. More...
 
   }   NvMediaEncodeRCParams::const_qp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CONSTQP mode. More...
 
   struct {
      uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   NvMediaEncodeRCParams::maxBitRate
 Holds the maximum bitrate for the encoded output. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
   }   NvMediaEncodeRCParams::vbr
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR mode. More...
 
   struct {
      uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   NvMediaEncodeRCParams::maxBitRate
 Holds the maximum bitrate for the encoded output. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
      NvMediaEncodeQP   NvMediaEncodeRCParams::minQP
 Holds the minimum QP used for rate control. More...
 
   }   NvMediaEncodeRCParams::vbr_minqp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_VBR_MINQP mode. More...
 
   struct {
      uint32_t   NvMediaEncodeRCParams::averageBitRate
 Holds the average bitrate (in bits/sec) used for encoding. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvBufferSize
 Holds the VBV(HRD) buffer size, in bits. More...
 
      uint32_t   NvMediaEncodeRCParams::vbvInitialDelay
 Holds the VBV(HRD) initial delay in bits. More...
 
      NvMediaEncodeQP   NvMediaEncodeRCParams::minQP
 Holds the minimum QP used for rate control. More...
 
   }   NvMediaEncodeRCParams::cbr_minqp
 Parameters for NVMEDIA_ENCODE_PARAMS_RC_CBR_MINQP mode. More...
 
params
 Rate Control parameters. More...
 
bool bConstFrameQP
 Use constant QP at frame level or MB row level. More...
 

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