API Reference
4-52
4.2.3.2
IH264HPVENC_RateControlParams
║
Description
This structure controls rate control behavior. For the default and supported values, see
║
Fields
Field
Data Type
Input/
Output
Description
rateControlPa
ramsPreset
XDAS_Int32
Input
This preset controls the
USER_DEFINED
versus
DEFAULT
mode. If you are not aware about the
fields, it should be set as
IH264HP_RATECONTROLPARAMS_DEFAULT
rcAlgo
XDAS_Int32
Input
This defines the rate control algorithm to be
used. Only useful if
IVIDENC2::rateControlPreset
is set as
IVIDEO_USER_DEFINED
qpI
XDAS_Int32
Input
Initial quantization parameter for I/IDR frames.
Valid Range is -1 to 51
-1 indicates auto initialization else Initial QP.
When
rateControlPreset
=
IVIDEO_NONE
, this quantization parameter is
used by the whole video frame/field and the
range should be 0 to 51
qpMaxI
XDAS_Int32
Input
Maximum quantization parameter for I/IDR
frame(s).
Range is 0 to 51
qpMinI
XDAS_Int32
Input
Minimum quantization parameter for I/IDR
frame(s).
Range is 0 to 51.
qpP
XDAS_Int32
Input
Initial quantization parameter for P frames.
Valid Range is -1 to 51
-1 indicates auto initialization else Initial QP.
When
rateControlPreset
=
IVIDEO_NONE
, this quantization parameter is
used by the whole video frame/field and the
range should be 0 to 51
qpMaxP
XDAS_Int32
Input
Maximum quantization parameter for inter
frame(s).
Range is 0 to 51.
qpMinP
XDAS_Int32
Input
Minimum quantization parameter for inter
frame(s).
Range is 0 to 51.