mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-08 02:20:06 +08:00
[iep2]: Disable OSD check
OSD checking will cost much CPU time and affecting field detection. So disable it. Change-Id: I18fa811623d7d219e207672c7835c366409a9e07 Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
This commit is contained in:

committed by
Herman Chen

parent
8d368ce49d
commit
24d1594b7f
@@ -40,6 +40,7 @@
|
|||||||
|
|
||||||
#define IEP2_TILE_W_MAX 120
|
#define IEP2_TILE_W_MAX 120
|
||||||
#define IEP2_TILE_H_MAX 480
|
#define IEP2_TILE_H_MAX 480
|
||||||
|
#define IEP2_OSD_EN 0
|
||||||
|
|
||||||
RK_U32 iep_debug = 0;
|
RK_U32 iep_debug = 0;
|
||||||
RK_U32 iep_md_pre_en = 0;
|
RK_U32 iep_md_pre_en = 0;
|
||||||
@@ -237,7 +238,11 @@ static MPP_RET iep2_done(struct iep2_api_ctx *ctx)
|
|||||||
ctx->params.dil_mode == IEP2_DIL_MODE_I5O1B) {
|
ctx->params.dil_mode == IEP2_DIL_MODE_I5O1B) {
|
||||||
struct mv_list ls;
|
struct mv_list ls;
|
||||||
|
|
||||||
|
#if IEP2_OSD_EN
|
||||||
iep2_set_osd(ctx, &ls);
|
iep2_set_osd(ctx, &ls);
|
||||||
|
#else
|
||||||
|
memset(&ls, 0, sizeof(struct mv_list));
|
||||||
|
#endif
|
||||||
iep2_update_gmv(ctx, &ls);
|
iep2_update_gmv(ctx, &ls);
|
||||||
iep2_check_ffo(ctx);
|
iep2_check_ffo(ctx);
|
||||||
iep2_check_pd(ctx);
|
iep2_check_pd(ctx);
|
||||||
|
Reference in New Issue
Block a user