hi_venc_cu_prediction
Description
Defines the parameters that control the tendency to use the CU mode.
Prototype
typedef struct {
hi_op_mode pred_mode;
hi_u32 intra32_cost;
hi_u32 intra16_cost;
hi_u32 intra8_cost;
hi_u32 intra4_cost;
hi_u32 inter64_cost;
hi_u32 inter32_cost;
hi_u32 inter16_cost;
hi_u32 inter8_cost;
} hi_venc_cu_prediction;
Members
Member |
Description |
|---|---|
pred_mode |
Tendency selection mode, which can be automatic or manual. |
intra32_cost |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |