hi_vdec_dec_err
Description
Defines the decoding error information.
Prototype
hi_vdec_dec_err = {"set_pic_size_err": set_pic_size_err, # R; Picture width or height is larger than channel width or height.
"set_protocol_num_err": set_protocol_num_err, # R; Protocol num is not enough. eg: slice, pps, sps.
"set_ref_num_err": set_ref_num_err, # R; Reference num is not enough.
"set_pic_buf_size_err": set_pic_buf_size_err, # R; The buffer size of picture is not enough.
"format_err": format_err, # R; Format error, for example, unsupported field.
"stream_unsupport": stream_unsupport, # R; unsupported stream specification.
"pack_err": pack_err # R; Stream package error.
"stream_size_over": stream_size_over, # R; the stream size is too big and force to discard the stream.
"stream_not_release": stream_not_release } # R; the stream not released for too long time
Members
Member |
Description |
|---|---|
set_pic_size_err |
Int, image width (or height) greater than channel width (or height), reserved. |
set_protocol_num_err |
Int, an insufficient number of protocol parameters, such as the slice, PPS, or SPS number. Applies only to H.264 and H.265 decoding. |
set_ref_num_err |
Int, an insufficient number of reference frames. Applies only to H.264 and H.265 decoding. |
set_pic_buf_size_err |
Int, an insufficient image buffer. |
format_err |
Int, an unsupported format. JPEG progressive stream. |
stream_unsupport |
Int, unsupported specifications (the stream specifications are inconsistent with the actual specifications supported by the Ascend AI Processor). |
pack_err |
Int, a stream error. |
stream_size_over |
Int, an oversized stream in a frame. When a frame stream is too large to be stored by the SCD buffer, the SCD buffer is forcibly cleared. Applies only to H.264 and H.265 decoding. |
stream_not_release |
Int, stream not released, leading to a video firmware (VFMW) internal stream error, reserved. |