hi_venc_rc_attr
Description
Defines the RC attributes of an encoding channel.
Prototype
typedef struct {
hi_venc_rc_mode rc_mode;
union {
hi_venc_h264_cbr h264_cbr;
hi_venc_h264_vbr h264_vbr;
hi_venc_h264_avbr h264_avbr;
hi_venc_h264_qvbr h264_qvbr;
hi_venc_h264_cvbr h264_cvbr;
hi_venc_h264_fixqp h264_fixqp;
hi_venc_h264_qpmap h264_qpmap;
hi_venc_mjpeg_cbr mjpeg_cbr;
hi_venc_mjpeg_vbr mjpeg_vbr;
hi_venc_mjpeg_fixqp mjpeg_fixqp;
hi_venc_h265_cbr h265_cbr;
hi_venc_h265_vbr h265_vbr;
hi_venc_h265_avbr h265_avbr;
hi_venc_h265_qvbr h265_qvbr;
hi_venc_h265_cvbr h265_cvbr;
hi_venc_h265_fixqp h265_fixqp;
hi_venc_h265_qpmap h265_qpmap;
};
} hi_venc_rc_attr;
Members
Member |
Description |
|---|---|
rc_mode |
RC mode.
The attribute variables of each RC mode are consistent across the protocols. Table 1 describes the common attributes of the RC modes. |
h264_cbr |
CBR mode attributes of an H.264 encoding channel. |
h264_vbr |
VBR mode attributes of an H.264 encoding channel. |
h264_avbr |
AVBR mode attributes of an H.264 encoding channel. |
h264_qvbr |
QVBR mode attributes of an H.264 encoding channel. |
h264_cvbr |
CVBR mode attributes of an H.264 encoding channel. |
h264_fixqp |
FIXQP mode attributes of an H.264 encoding channel. |
h264_qpmap |
QPMAP mode attributes of an H.264 encoding channel. Reserved. |
mjpeg_cbr |
CBR mode attributes of an MJPEG encoding channel. Reserved. |
mjpeg_vbr |
VBR mode attributes of an MJPEG encoding channel. Reserved. |
mjpeg_fixqp |
FIXQP mode attributes of an MJPEG encoding channel. Reserved. |
h265_cbr |
CBR mode attributes of an H.265 encoding channel. |
h265_vbr |
VBR mode attributes of an H.265 encoding channel. |
h265_avbr |
AVBR mode attributes of an H.265 encoding channel. |
h265_qvbr |
QVBR mode attributes of an H.265 encoding channel. |
h265_cvbr |
CVBR mode attributes of an H.265 encoding channel. |
h265_fixqp |
FIXQP mode attributes of an H.265 encoding channel. |
h265_qpmap |
QPMAP mode attributes of an H.265 encoding channel. Reserved. |
References
RC Mode |
GOP |
StatTime(s) |
FrmRate (src_frame_rate/dst_frame_rate) |
|---|---|---|---|
CBR |
≥1 |
≥1 |
src_frame_rate ≥ dst_frame_rate |
VBR |
≥1 |
≥1 |
src_frame_rate ≥ dst_frame_rate |
AVBR |
≥1 |
≥1 |
src_frame_rate ≥ dst_frame_rate |
FIXQP |
≥1 |
≥1 |
src_frame_rate ≥ dst_frame_rate |
QPMAP |
≥1 |
≥1 |
src_frame_rate ≥ dst_frame_rate |