Holds rate control configuration parameters.
Definition at line 95 of file nvmedia_common_encode.h.
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... | |
int8_t | maxSessionQP |
Holds the max QP for encoding session when external picture RC hint is used. More... | |
int8_t | reserved [3] |
uint32_t NvMediaEncodeRCParams::averageBitRate |
Holds the average bitrate (in bits/sec) used for encoding.
Definition at line 103 of file nvmedia_common_encode.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 157 of file nvmedia_common_encode.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 114 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeRCParams::maxBitRate |
Holds the maximum bitrate for the encoded output.
Definition at line 120 of file nvmedia_common_encode.h.
int8_t NvMediaEncodeRCParams::maxSessionQP |
Holds the max QP for encoding session when external picture RC hint is used.
Definition at line 160 of file nvmedia_common_encode.h.
NvMediaEncodeQP NvMediaEncodeRCParams::minQP |
Holds the minimum QP used for rate control.
Definition at line 140 of file nvmedia_common_encode.h.
uint32_t NvMediaEncodeRCParams::numBFrames |
Specified number of B frames between two reference frames.
Definition at line 99 of file nvmedia_common_encode.h.
union { ... } NvMediaEncodeRCParams::params |
Rate Control parameters.
NvMediaEncodeParamsRCMode NvMediaEncodeRCParams::rateControlMode |
Holds the rate control mode.
Definition at line 97 of file nvmedia_common_encode.h.
int8_t NvMediaEncodeRCParams::reserved[3] |
Definition at line 161 of file nvmedia_common_encode.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 106 of file nvmedia_common_encode.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 109 of file nvmedia_common_encode.h.