mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-17 22:50:38 +08:00
[iep2]: Disable test log
Change-Id: I2d11bda157612472f000411bbe0dbf3452ceb34a Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#define MVL 28
|
||||
#define MVR 27
|
||||
|
||||
#define TEST_DBG printf
|
||||
#define TEST_DBG //printf
|
||||
#define FLOOR(v, r) (((v) / (r)) * (r))
|
||||
|
||||
#define RKCLIP(a, min, max) ((a < min) ? (min) : ((a > max) ? max : a))
|
||||
|
@@ -87,10 +87,10 @@ void iep2_check_ffo(struct iep2_api_ctx *ctx)
|
||||
if (RKABS(ctx->ff_inf.frm_score - ctx->ff_inf.fie_score) > 5) {
|
||||
if (ctx->ff_inf.frm_score > ctx->ff_inf.fie_score) {
|
||||
ctx->ff_inf.is_frm = 1;
|
||||
mpp_log("deinterlace frame mode\n");
|
||||
iep_dbg_trace("deinterlace frame mode\n");
|
||||
} else {
|
||||
ctx->ff_inf.is_frm = 0;
|
||||
mpp_log("deinterlace field mode\n");
|
||||
iep_dbg_trace("deinterlace field mode\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -160,19 +160,19 @@ void iep2_set_osd(struct iep2_api_ctx *ctx, struct mv_list *ls)
|
||||
ls->mv[idx] = mvx;
|
||||
ls->vld[idx] = 1;
|
||||
|
||||
TEST_DBG("[%d] from [%d,%d][%d,%d] to [%d,%d][%d,%d] mv %d\n", i,
|
||||
sx[i], ex[i], sy[i], ey[i],
|
||||
ctx->params.osd_x_sta[idx], ctx->params.osd_x_end[idx],
|
||||
ctx->params.osd_y_sta[idx], ctx->params.osd_y_end[idx],
|
||||
ls->mv[idx]);
|
||||
iep_dbg_trace("[%d] from [%d,%d][%d,%d] to [%d,%d][%d,%d] mv %d\n", i,
|
||||
sx[i], ex[i], sy[i], ey[i],
|
||||
ctx->params.osd_x_sta[idx], ctx->params.osd_x_end[idx],
|
||||
ctx->params.osd_y_sta[idx], ctx->params.osd_y_end[idx],
|
||||
ls->mv[idx]);
|
||||
idx++;
|
||||
}
|
||||
|
||||
ctx->params.osd_area_num = idx;
|
||||
ls->idx = idx;
|
||||
|
||||
TEST_DBG("osd tile count %d comb %d\n",
|
||||
osd_tile_cnt, ctx->output.out_osd_comb_cnt);
|
||||
iep_dbg_trace("osd tile count %d comb %d\n",
|
||||
osd_tile_cnt, ctx->output.out_osd_comb_cnt);
|
||||
if (osd_tile_cnt * 2 > ctx->output.out_osd_comb_cnt * 3) {
|
||||
memset(ctx->params.comb_osd_vld, 0, sizeof(ctx->params.comb_osd_vld));
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user