From 9c6cf7f2c9d326281e3eefa67673aabaa9d69940 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 25 Sep 2012 18:28:44 +0200 Subject: avcodec: Drop silly and/or broken printf debug output --- libavcodec/motion_est_template.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'libavcodec/motion_est_template.c') diff --git a/libavcodec/motion_est_template.c b/libavcodec/motion_est_template.c index 136d8b8494..7228744756 100644 --- a/libavcodec/motion_est_template.c +++ b/libavcodec/motion_est_template.c @@ -367,13 +367,11 @@ static int qpel_motion_search(MpegEncContext * s, assert((x) <= xmax);\ assert((y) >= ymin);\ assert((y) <= ymax);\ -/*printf("check_mv %d %d\n", x, y);*/\ if(map[index]!=key){\ d= cmp(s, x, y, 0, 0, size, h, ref_index, src_index, cmpf, chroma_cmpf, flags);\ map[index]= key;\ score_map[index]= d;\ d += (mv_penalty[((x)<xmin) CHECK_MV_DIR(x-1, y , 0) if(dir!=3 && y>ymin) CHECK_MV_DIR(x , y-1, 1) if(dir!=0 && xfirst_slice_line) { CHECK_MV(P_LEFT[0]>>shift, P_LEFT[1]>>shift) @@ -1050,7 +1042,6 @@ static int epzs_motion_search4(MpegEncContext * s, *mx_ptr= best[0]; *my_ptr= best[1]; -// printf("%d %d %d \n", best[0], best[1], dmin); return dmin; } @@ -1080,7 +1071,7 @@ static int epzs_motion_search2(MpegEncContext * s, map_generation= update_map_generation(c); dmin = 1000000; -//printf("%d %d %d %d //",xmin, ymin, xmax, ymax); + /* first line */ if (s->first_slice_line) { CHECK_MV(P_LEFT[0]>>shift, P_LEFT[1]>>shift) @@ -1110,6 +1101,5 @@ static int epzs_motion_search2(MpegEncContext * s, *mx_ptr= best[0]; *my_ptr= best[1]; -// printf("%d %d %d \n", best[0], best[1], dmin); return dmin; } -- cgit v1.2.3