mirror of
https://github.com/rockchip-linux/mpp.git
synced 2024-11-26 19:43:35 +08:00
feat[vpu_api]: Support configuration to disable decoding errors
Signed-off-by: Xingwen Fang <fxw@rock-chips.com> Change-Id: I9f01c5092c02dc5ff36f27ca1c8eeaf503d0fa17
This commit is contained in:
parent
18e19c57c6
commit
ab45161834
@ -106,6 +106,7 @@ typedef enum VPU_API_CMD {
|
||||
VPU_API_DEC_EN_MVC,
|
||||
VPU_API_DEC_EN_FBC_HDR_256_ODD,
|
||||
VPU_API_SET_INPUT_BLOCK,
|
||||
VPU_API_SET_DISABLE_ERROR,
|
||||
|
||||
/* set pkt/frm ready callback */
|
||||
VPU_API_SET_PKT_RDY_CB = 0x1100,
|
||||
|
@ -1716,6 +1716,9 @@ RK_S32 VpuApiLegacy::control(VpuCodecContext *ctx, VPU_API_CMD cmd, void *param)
|
||||
mpp_dec_cfg_deinit(cfg);
|
||||
return ret;
|
||||
} break;
|
||||
case VPU_API_SET_DISABLE_ERROR: {
|
||||
mpicmd = MPP_DEC_SET_DISABLE_ERROR;
|
||||
} break;
|
||||
case VPU_API_SET_IMMEDIATE_OUT: {
|
||||
mpicmd = MPP_DEC_SET_IMMEDIATE_OUT;
|
||||
} break;
|
||||
|
Loading…
Reference in New Issue
Block a user