VENC/JPEGE Return Codes

Table 1 lists the return codes shared by VENC and JPEGE.

Table 1 Shared return codes

Error Code

Macro Definition

Description

0xA0088001

-

Invalid device ID.

0xA0088002

HI_ERR_VENC_INVALID_CHN_ID

Invalid channel ID.

0xA0088003

HI_ERR_VENC_ILLEGAL_PARAM

Invalid argument.

0xA0088004

HI_ERR_VENC_EXIST

Cannot request or create an existent device, channel, or resource.

0xA0088005

HI_ERR_VENC_UNEXIST

Cannot use or destroy a non-existent device, channel, or resource.

0xA0088006

HI_ERR_VENC_NULL_PTR

Null pointer.

0xA0088007

HI_ERR_VENC_NOT_CFG

Not configured.

0xA0088008

HI_ERR_VENC_NOT_SUPPORT

Unsupported argument or function.

0xA0088009

HI_ERR_VENC_NOT_PERM

Unallowed operation, for example, an attempt to update a static attribute.

0xA008800C

HI_ERR_VENC_NO_MEM

Memory allocation failure due to memory insufficiency or other reasons.

0xA008800D

HI_ERR_VENC_NO_BUF

Buffer allocation failure due to too large requested allocation or full buffer due to too many input frames.

0xA008800E

HI_ERR_VENC_BUF_EMPTY

Empty buffer.

0xA008800F

HI_ERR_VENC_BUF_FULL

Full buffer.

0xA0088010

HI_ERR_VENC_SYS_NOT_READY

Uninitialized system or absent dependencies.

0xA0088011

HI_ERR_VENC_BAD_ADDR

Bad memory address.

0xA0088012

HI_ERR_VENC_BUSY

Busy system.

0xA0088013

-

Not enough buffer.

0xA0088014

-

Hardware or software processing timeout.

0xA0088015

HI_ERR_VENC_SYS_ERROR

System error.

0xA008803F

-

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