VDEC/JPEGD Return Codes

Table 1 lists the return codes shared by VDEC and JPEGD.

Table 1 Shared 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 argument.

0xA0058004

HI_ERR_VDEC_EXIST

Channel existed.

0xA0058005

HI_ERR_VDEC_UNEXIST

Channel destroyed or not created.

0xA0058006

HI_ERR_VDEC_NULL_PTR

Null pointer.

0xA0058007

HI_ERR_VDEC_NOT_CFG

Not configured.

0xA0058008

HI_ERR_VDEC_NOT_SUPPORT

Unsupported argument or function.

0xA0058009

HI_ERR_VDEC_NOT_PERM

Unallowed operation.

0xA005800C

HI_ERR_VDEC_NO_MEM

Memory allocation failure due to memory insufficiency or other reasons.

0xA005800D

HI_ERR_VDEC_NO_BUF

Buffer allocation failure due to too large requested 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

Bad memory address.

0xA0058012

HI_ERR_VDEC_BUSY

Busy system.

0xA0058013

-

Not enough buffer.

0xA0058014

-

Hardware or software processing timeout.

0xA0058015

HI_ERR_VDEC_SYS_ERROR

System error.

0xA005803F

-

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