7.5. Error CodesΒΆ

Video Encoding API Error Codesas shown in the following table:

Error Code

Macro Definitions

Description

0xC0078002

CVI_ERR_VENC_INVALID_CHNID

invalid channel ID

0xC0078003

CVI_ERR_VENC_ILLEGAL_PARAM

IllegalParameter

0xC0078004

CVI_ERR_VENC_EXIST

an attempt was made to create a resource that already exists in the device, channel, or user resources

0xC0078005

CVI_ERR_VENC_UNEXIST

channel does not exist

0xC0078006

CVI_ERR_VENC_NULL_PTR

hasNull Pointer

0xC0078007

CVI_ERR_VENC_NOT_CONFIG

Not configured before use

0xC0078008

CVI_ERR_VENC_NOT_SUPPORT

Operation not supported

0xC0078009

CVI_ERR_VENC_NOT_PERM

operation is not permitted

0xC007800A

CVI_ERR_VENC_INVALID_PIPEID

IllegalPipeID

0xC007800B

CVI_ERR_VENC_INVALID_GRPID

Illegalgroup id

0xC007800C

CVI_ERR_VENC_NOMEM

Memory configuration failure

0xC007800D

CVI_ERR_VENC_NOBUF

Image buffer configuration failure

0xC007800E

CVI_ERR_VENC_BUF_EMPTY

buffer contains no data

0xC007800F

CVI_ERR_VENC_BUF_FULL

buffer is full

0xC0078010

CVI_ERR_VENC_SYS_NOTREADY

system is not ready

0xC0078011

CVI_ERR_VENC_BADADDR

IllegalAddress

0xC0078012

CVI_ERR_VENC_BUSY

device is busy

0xC0078014

CVI_ERR_VENC_INVALID_VB

Illegalvb

0xC0078040

CVI_ERR_VENC_INIT

Initialization error

0xC0078041

CVI_ERR_VENC_FRC_NO_ENC

FRC intentionally did not encode the current frame

0xC0078042

CVI_ERR_VENC_STAT_VFPS_CHANGE

the frame rate changed

0xC0078043

CVI_ERR_VENC_EMPTY_STREAM_FRAME

no bitstream was encoded

0xC0078044

CVI_ERR_VENC_EMPTY_PACK

no bitstream is available

0xC0078045

CVI_ERR_VENC_JPEG_MARKER_ORDER

Not supportedFormat

0xC0078047

CVI_ERR_VENC_RC_PARAM

RC parameter error

0xC007804B

CVI_ERR_VENC_MUTEX_ERROR

Signal error

0xC007804C

CVI_ERR_VENC_INVALILD_RET

an illegal value was returned by the lower layer

0xC007804D

CVI_ERR_VENC_H264_VUI

Failed to set H.264 VUI information

0xC007804E

CVI_ERR_VENC_H265_VUI

Failed to set H.265 VUI information

0xC007804F

CVI_ERR_VENC_GOP_ATTR

Failed to set GOP attributes

0xC0078050

CVI_ERR_VENC_FRAME_PARAM

Failed to set frame parameters

0xC0078051

CVI_ERR_VENC_H264_SPLIT

Failed to set H.264 split parameters

0xC0078052

CVI_ERR_VENC_H265_SPLIT

Failed to set H.265 split parameters

0xC0078053

CVI_ERR_VENC_H264_INTRA_PRED

failed to set H.264 frame intra prediction

0xC0078054

CVI_ERR_VENC_SVC_PARAM

Failed to set SVC parameters