hi_venc_rc_mode

Function

Defines the RC modes of an encoding channel.

Definition

typedef enum {
    HI_VENC_RC_MODE_H264_CBR = 1,
    HI_VENC_RC_MODE_H264_VBR,
    HI_VENC_RC_MODE_H264_AVBR,
    HI_VENC_RC_MODE_H264_QVBR,
    HI_VENC_RC_MODE_H264_CVBR,
    HI_VENC_RC_MODE_H264_FIXQP,
    HI_VENC_RC_MODE_H264_QPMAP,

    HI_VENC_RC_MODE_MJPEG_CBR,
    HI_VENC_RC_MODE_MJPEG_VBR,
    HI_VENC_RC_MODE_MJPEG_FIXQP,

    HI_VENC_RC_MODE_H265_CBR,
    HI_VENC_RC_MODE_H265_VBR,
    HI_VENC_RC_MODE_H265_AVBR,
    HI_VENC_RC_MODE_H265_QVBR,
    HI_VENC_RC_MODE_H265_CVBR,
    HI_VENC_RC_MODE_H265_FIXQP,
    HI_VENC_RC_MODE_H265_QPMAP,

    HI_VENC_RC_MODE_BUTT,
} hi_venc_rc_mode;

Members

Member

Description

HI_VENC_RC_MODE_H264_CBR

H.264 CBR mode.

HI_VENC_RC_MODE_H264_VBR

H.264 VBR mode.

HI_VENC_RC_MODE_H264_AVBR

H.264 AVBR mode.

HI_VENC_RC_MODE_H264_QVBR

H.264 QVBR mode.

HI_VENC_RC_MODE_H264_CVBR

H.264 CVBR mode.

HI_VENC_RC_MODE_H264_FIXQP

H.264 FIXQP mode.

For Ascend 950PR&950DT products, this parameter is not supported.

For Atlas A3 products, this parameter is not supported.

For Atlas A2 products, this parameter is not supported.

For Atlas inference products, this parameter is reserved and is not supported currently.

HI_VENC_RC_MODE_H264_QPMAP

H.264 QPMAP mode. Reserved parameter, not supported currently.

HI_VENC_RC_MODE_MJPEG_CBR

MJPEG CBR mode. Reserved parameter, not supported currently.

HI_VENC_RC_MODE_MJPEG_VBR

MJPEG VBR mode. Reserved parameter, not supported currently.

HI_VENC_RC_MODE_MJPEG_FIXQP

MJPEG FIXQP mode. Reserved parameter, not supported currently.

HI_VENC_RC_MODE_H265_CBR

H.265 CBR mode.

HI_VENC_RC_MODE_H265_VBR

H.265 VBR mode.

HI_VENC_RC_MODE_H265_AVBR

H.265 AVBR mode.

HI_VENC_RC_MODE_H265_QVBR

H.265 QVBR mode.

HI_VENC_RC_MODE_H265_CVBR

H.265 CVBR mode.

HI_VENC_RC_MODE_H265_FIXQP

H.265 FIXQP mode.

For Ascend 950PR&950DT products, this parameter is not supported.

For Atlas A3 products, this parameter is not supported.

For Atlas A2 products, this parameter is not supported.

For Atlas inference products, this parameter is reserved and is not supported currently.

HI_VENC_RC_MODE_H265_QPMAP

H.265 QPMAP mode. Reserved parameter, not supported currently.