[hal_h264e_vepu]: ignore cmd MPP_ENC_PRE_ALLOC_BUFF

Change-Id: I3ed69ea6f9b7cd5963704d79a8d739379cf3df7e
Signed-off-by: Hertz Wang <wangh@rock-chips.com>
This commit is contained in:
Hertz Wang
2019-06-12 11:13:54 +08:00
committed by Herman Chen
parent d2459e4fac
commit b3a34b84db
2 changed files with 6 additions and 0 deletions

View File

@@ -758,6 +758,9 @@ MPP_RET hal_h264e_vepu1_control(void *hal, RK_S32 cmd_type, void *param)
mpp_err("vepu1 do not support roi cfg\n"); mpp_err("vepu1 do not support roi cfg\n");
ret = MPP_NOK; ret = MPP_NOK;
} break; } break;
case MPP_ENC_PRE_ALLOC_BUFF:
// vepu do not support prealloc buff, ignore cmd
break;
default : { default : {
mpp_err("unrecognizable cmd type %d", cmd_type); mpp_err("unrecognizable cmd type %d", cmd_type);
ret = MPP_NOK; ret = MPP_NOK;

View File

@@ -785,6 +785,9 @@ MPP_RET hal_h264e_vepu2_control(void *hal, RK_S32 cmd_type, void *param)
mpp_err("vepu2 do not support roi cfg\n"); mpp_err("vepu2 do not support roi cfg\n");
ret = MPP_NOK; ret = MPP_NOK;
} break; } break;
case MPP_ENC_PRE_ALLOC_BUFF:
// vepu do not support prealloc buff, ignore cmd
break;
default : { default : {
mpp_err("unrecognizable cmd type %x", cmd_type); mpp_err("unrecognizable cmd type %x", cmd_type);
ret = MPP_NOK; ret = MPP_NOK;