hi_vdec_dec_err

Description

Defines the decode errors.

Prototype

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;

Members

Member

Description

set_pic_size_err

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

set_protocol_num_err

Insufficient protocol resources, such as the slice, PPS, or SPS number. 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.

format_err

Unsupported format, JPEG progressive stream.

stream_unsupport

Unsupported specifications (the stream specifications and actual specifications supported by Ascend AI Processor are inconsistent).

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

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