hi_venc_cu_prediction

Description

Defines the parameters that control the tendency to use the CU mode.

Prototype

hi_venc_cu_prediction = {"pred_mode": hi_op_mode,
                         "intra32_cost": intra32_cost,
                         "intra16_cost": intra16_cost,
                         "intra8_cost": intra8_cost,
                         "intra4_cost": intra4_cost,
                         "inter64_cost": inter64_cost,
                         "inter32_cost": inter32_cost,
                         "inter16_cost": inter16_cost,
                         "inter8_cost": inter8_cost}

Members

Member

Description

pred_mode

Int, tendency selection mode, which can be automatic or manual.

intra32_cost

Int, tendency adjustment in Intra32 mode, corresponding to the intra-frame prediction mode with the block size of 32 x 32 pixels. A larger value indicates a weaker tendency to use the mode.

Value range: [0, 15]

Default value: 8

This parameter is invalid in H.264 encoding.

intra16_cost

Int, tendency adjustment in Intra16 mode, corresponding to the intra-frame prediction mode with the block size of 16 x 16 pixels. A larger value indicates a weaker tendency to use the mode.

Value range: [0, 15]

Default value: 8

intra8_cost

Int, tendency adjustment in Intra8 mode, corresponding to the intra-frame prediction mode with the block size of 8 x 8 pixels. A larger value indicates a weaker tendency to use the mode.

Value range: [0, 15]

Default value: 8

intra4_cost

Int, tendency adjustment in Intra4 mode, corresponding to the intra-frame prediction mode with the block size of 4 x 4 pixels. A larger value indicates a weaker tendency to use the mode.

Value range: [0, 15]

Default value: 8

inter64_cost

Int, tendency adjustment in Inter64 mode, corresponding to the inter-frame prediction mode with the block size of 64 x 64 pixels. A larger value indicates a weaker tendency to use the mode.

Value range: [0, 15]

Default value: 8

This parameter is invalid in H.264 encoding.

inter32_cost

Int, tendency adjustment in Inter32 mode, corresponding to the inter-frame prediction mode with the block size of 32 x 32 pixels. A larger value indicates a weaker tendency to use the mode.

Value range: [0, 15]

Default value: 8

This parameter is invalid in H.264 encoding.

inter16_cost

Int, tendency adjustment in Inter16 mode, corresponding to the inter-frame prediction mode with the block size of 16 x 16 pixels. A larger value indicates a weaker tendency to use the mode.

Value range: [0, 15]

Default value: 8

inter8_cost

Int, tendency adjustment in Inter8 mode, corresponding to the inter-frame prediction mode with the block size of 8 x 8 pixels. A larger value indicates a weaker tendency to use the mode.

Value range: [0, 15]

Default value: 8