PNGD Return Codes

Error Code

Macro Definition

Description

0xA0408001

-

Invalid device ID.

0xA0408002

HI_ERR_PNGD_INVALID_CHN_ID

Invalid channel ID.

0xA0408003

HI_ERR_PNGD_ILLEGAL_PARAM

Invalid argument.

0xA0408004

HI_ERR_PNGD_EXIST

Cannot create an existent channel.

0xA0408005

HI_ERR_PNGD_UNEXIST

Channel destroyed or not created.

0xA0408006

HI_ERR_PNGD_NULL_PTR

Null pointer.

0xA0408007

HI_ERR_PNGD_NOT_CFG

Not configured.

0xA0408008

HI_ERR_PNGD_NOT_SUPPORT

Unsupported argument or function.

0xA0408009

HI_ERR_PNGD_NOT_PERM

Unallowed operation.

0xA040800C

HI_ERR_PNGD_NO_MEM

Memory allocation failure due to memory insufficiency or other reasons.

0xA040800D

HI_ERR_PNGD_NO_BUF

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

0xA040800E

HI_ERR_PNGD_BUF_EMPTY

Empty buffer.

0xA040800F

HI_ERR_PNGD_BUF_FULL

Full buffer.

0xA0408010

HI_ERR_PNGD_SYS_NOT_READY

Uninitialized system or absent dependencies.

0xA0408011

HI_ERR_PNGD_BAD_ADDR

Bad memory address.

The input and output buffers involved in media data processing need to be allocated by calling dedicated APIs. Check the code logic.

0xA0408012

HI_ERR_PNGD_BUSY

Busy system.

0xA0408013

-

Not enough buffer.

0xA0408014

HI_ERR_PNGD_TIMEOUT

Hardware or software processing timeout.

0xA0408015

HI_ERR_PNGD_SYS_ERROR

System error.

0xA040803F

-

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