VDEC/JPEGD Return Codes

Error Code

Macro Definition

Description

0xA0058001

-

Invalid device ID.

0xA0058002

HI_ERR_VDEC_INVALID_CHN_ID

Invalid channel ID.

0xA0058003

HI_ERR_VDEC_ILLEGAL_PARAM

Invalid parameter.

0xA0058004

HI_ERR_VDEC_EXIST

Channel existed.

0xA0058005

HI_ERR_VDEC_UNEXIST

Channel destroyed or not created.

0xA0058006

HI_ERR_VDEC_NULL_PTR

The pointer address in the function parameter is 0.

0xA0058007

HI_ERR_VDEC_NOT_CFG

Not configured.

0xA0058008

HI_ERR_VDEC_NOT_SUPPORT

Unsupported parameter or function.

0xA0058009

HI_ERR_VDEC_NOT_PERM

Unallowed operation.

0xA005800C

HI_ERR_VDEC_NO_MEM

Memory allocation failure due to system memory insufficiency or other reasons

0xA005800D

HI_ERR_VDEC_NO_BUF

Buffer allocation failure due to too large requested data buffer or other reasons.

0xA005800E

HI_ERR_VDEC_BUF_EMPTY

Empty buffer.

0xA005800F

HI_ERR_VDEC_BUF_FULL

Full buffer.

0xA0058010

HI_ERR_VDEC_SYS_NOT_READY

Uninitialized system or absent dependencies.

0xA0058011

HI_ERR_VDEC_BAD_ADDR

HI_ERR_VDEC_BAD_ADDR

Bad memory address.

The input and output buffers involved in media data processing need to be allocated by calling the dedicated APIs. For details, see Restrictions on Buffer Allocation and Freeing APIs for JPEGD and Buffer Allocation and Release APIs for VDEC. Check the code logic.

0xA0058012

HI_ERR_VDEC_BUSY

Busy system.

0xA0058013

-

Not enough buffer.

0xA0058014

-

Hardware or software processing timeout.

0xA0058015

-

System error.

0xA005803F

-

Maximum return. The error code value of the module must be less than this value.