mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-04 08:46:24 +08:00
[mpi_cmd]: add disable error command
1. Disable error default is not set for normal error detection. 2. On special case like drone streaming the user prefers to ignore all error and continue decoding. Then disable error flag will be set to fullfill this requirement. 3. When disable error flag is set H.264/H.265 decoding will ignore hardware error and mark all output frame as no error. Signed-off-by: Ding Wei <leo.ding@rock-chips.com> Change-Id: I8fd619511c53ee744ae973ab3fe015565106dd37 Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This commit is contained in:
@@ -96,6 +96,7 @@ typedef enum {
|
||||
MPP_DEC_GET_VPUMEM_USED_COUNT,
|
||||
MPP_DEC_SET_VC1_EXTRA_DATA,
|
||||
MPP_DEC_SET_OUTPUT_FORMAT,
|
||||
MPP_DEC_SET_DISABLE_ERROR, /* When set it will disable sw/hw error (H.264 / H.265) */
|
||||
MPP_DEC_CMD_END,
|
||||
|
||||
MPP_ENC_CMD_BASE = CMD_MODULE_CODEC | CMD_CTX_ID_ENC,
|
||||
|
Reference in New Issue
Block a user