hi_vdec_dec_err

Function

Defines the decoding errors.

Definition

typedef struct {
    hi_s32 set_pic_size_err;
    hi_s32 set_protocol_num_err;
    hi_s32 set_ref_num_err;
    hi_s32 set_pic_buf_size_err;
    hi_s32 format_err;
    hi_s32 stream_unsupport;
    hi_s32 pack_err;
    hi_s32 stream_size_over;
    hi_s32 stream_not_release;
} hi_vdec_dec_err;

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

Members

Members

Description

set_pic_size_err

(Reserved) Image width (or height) greater than channel width (or height).

set_protocol_num_err

Insufficient protocol resources, such as the number of slices, PPSs, or SPSs. Applies only to H.264 and H.265 decoding.

set_ref_num_err

Insufficient reference frames. Applies only to H.264 and H.265 decoding.

set_pic_buf_size_err

Insufficient image buffer size.

format_err

Unsupported format, JPEG progressive stream.

stream_unsupport

Unsupported specifications (the stream specifications are inconsistent with the actual specifications supported by the AI processor).

pack_err

Stream error.

stream_size_over

Start code detection (SCD) buffer forcibly cleared when a frame is too large to be stored by the SCD buffer.

Applies only to H.264 and H.265 decoding.

stream_not_release

(Reserved) Stream not released, leading to a video firmware (VFMW) internal stream error.