hi_h264_protocol_param

Function

Defines the memory allocation parameters related to the H.264 protocol.

Definition

typedef struct {
    hi_s32 max_slice_num;
    hi_s32 max_sps_num;
    hi_s32 max_pps_num;
}hi_h264_protocol_param;

For details about basic data type hi_s32, see Basic Data Types.

Members

Member

Description

max_slice_num

Maximum number of slices supported by a VDEC channel

Value range: [1, 300]

Default value: 16

max_sps_num

Maximum number of SPSs supported by a VDEC channel

Value range: [1, 32]

Default value: 2

max_pps_num

Maximum number of PPSs supported by a VDEC channel

Value range: [1, 256]

Default value: 2