[inc]: add error define for operation not permitted

Operation not permitted, it also means that this operation
is not implemented.

Change-Id: I752efb3f5a697125f334f6fdf8bd58fea94a7024
Signed-off-by: Randy Li <randy.li@rock-chips.com>
This commit is contained in:
Randy Li 2018-04-13 11:07:37 +08:00 committed by Herman Chen
parent 86c5f925cd
commit 35cb04f7bb

View File

@ -32,9 +32,11 @@ typedef enum {
MPP_ERR_VALUE = -6, MPP_ERR_VALUE = -6,
MPP_ERR_READ_BIT = -7, MPP_ERR_READ_BIT = -7,
MPP_ERR_TIMEOUT = -8, MPP_ERR_TIMEOUT = -8,
MPP_ERR_PERM = -9,
MPP_ERR_BASE = -1000, MPP_ERR_BASE = -1000,
/* The error in stream processing */
MPP_ERR_LIST_STREAM = MPP_ERR_BASE - 1, MPP_ERR_LIST_STREAM = MPP_ERR_BASE - 1,
MPP_ERR_INIT = MPP_ERR_BASE - 2, MPP_ERR_INIT = MPP_ERR_BASE - 2,
MPP_ERR_VPU_CODEC_INIT = MPP_ERR_BASE - 3, MPP_ERR_VPU_CODEC_INIT = MPP_ERR_BASE - 3,