Browse Source

avfilter/motion_estimation: Fix pre processor formating

IIRC, The spaces are not standard before the #

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.2
Michael Niedermayer 8 years ago
parent
commit
0c7979b43d
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavfilter/motion_estimation.c

+ 3
- 3
libavfilter/motion_estimation.c View File

@@ -262,10 +262,10 @@ uint64_t ff_me_search_ds(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv
x = mv[0]; x = mv[0];
y = mv[1]; y = mv[1];


#if 1
#if 1
for (i = 0; i < 8; i++) for (i = 0; i < 8; i++)
COST_P_MV(x + dia2[i][0], y + dia2[i][1]); COST_P_MV(x + dia2[i][0], y + dia2[i][1]);
#else
#else
/* this version skips previously examined 3 or 5 locations based on prev origin */ /* this version skips previously examined 3 or 5 locations based on prev origin */
if (dir_x <= 0) if (dir_x <= 0)
COST_P_MV(x - 2, y); COST_P_MV(x - 2, y);
@@ -286,7 +286,7 @@ uint64_t ff_me_search_ds(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv


dir_x = mv[0] - x; dir_x = mv[0] - x;
dir_y = mv[1] - y; dir_y = mv[1] - y;
#endif
#endif


} while (x != mv[0] || y != mv[1]); } while (x != mv[0] || y != mv[1]);




Loading…
Cancel
Save