From 78128bddda4bcea1f256fc13cc33fa2652ed277c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 13 Apr 2014 18:00:51 +0200 Subject: Kill all tabs I hate tabs. This replaces all tabs in all source files with spaces. The only exception is old-makefile. The replacement was made by running the GNU coreutils "expand" command on every file. Since the replacement was automatic, it's possible that some formatting was destroyed (but perhaps only if it was assuming that the end of a tab does not correspond to aligning the end to multiples of 8 spaces). --- video/filter/vf_phase.c | 142 ++++++++++++++++++++++++------------------------ 1 file changed, 71 insertions(+), 71 deletions(-) (limited to 'video/filter/vf_phase.c') diff --git a/video/filter/vf_phase.c b/video/filter/vf_phase.c index b016e66820..d0b6e33312 100644 --- a/video/filter/vf_phase.c +++ b/video/filter/vf_phase.c @@ -34,8 +34,8 @@ #include "vf_lavfi.h" enum mode { PROGRESSIVE, TOP_FIRST, BOTTOM_FIRST, - TOP_FIRST_ANALYZE, BOTTOM_FIRST_ANALYZE, - ANALYZE, FULL_ANALYZE, AUTO, AUTO_ANALYZE }; + TOP_FIRST_ANALYZE, BOTTOM_FIRST_ANALYZE, + ANALYZE, FULL_ANALYZE, AUTO, AUTO_ANALYZE }; #define fixed_mode(p) ((p)<=BOTTOM_FIRST) @@ -53,8 +53,8 @@ struct vf_priv_s */ static void do_plane(unsigned char *to, unsigned char *from, - int w, int h, int ts, int fs, - unsigned char **bufp, enum mode mode) + int w, int h, int ts, int fs, + unsigned char **bufp, enum mode mode) { unsigned char *buf, *end; int top; @@ -90,8 +90,8 @@ static void do_plane(unsigned char *to, unsigned char *from, static enum mode analyze_plane(struct vf_instance *vf, unsigned char *old, unsigned char *new, - int w, int h, int os, int ns, enum mode mode, - int unused, int fields) + int w, int h, int os, int ns, enum mode mode, + int unused, int fields) { double bdiff, pdiff, tdiff, scale; int bdif, tdif, pdif; @@ -100,10 +100,10 @@ static enum mode analyze_plane(struct vf_instance *vf, if(mode==AUTO) mode=fields&MP_IMGFIELD_ORDERED?fields&MP_IMGFIELD_TOP_FIRST? - TOP_FIRST:BOTTOM_FIRST:PROGRESSIVE; + TOP_FIRST:BOTTOM_FIRST:PROGRESSIVE; else if(mode==AUTO_ANALYZE) mode=fields&MP_IMGFIELD_ORDERED?fields&MP_IMGFIELD_TOP_FIRST? - TOP_FIRST_ANALYZE:BOTTOM_FIRST_ANALYZE:FULL_ANALYZE; + TOP_FIRST_ANALYZE:BOTTOM_FIRST_ANALYZE:FULL_ANALYZE; if(fixed_mode(mode)) bdiff=pdiff=tdiff=65536.0; @@ -112,62 +112,62 @@ static enum mode analyze_plane(struct vf_instance *vf, bdiff=pdiff=tdiff=0.0; for(end=new+(h-2)*ns, new+=ns, old+=os, top=0; - newpriv->buf[0], mpi->planes[0], - pw[0], dmpi->h, pw[0], mpi->stride[0], mode, - vf->priv->verbose, mpi->fields); + pw[0], dmpi->h, pw[0], mpi->stride[0], mode, + vf->priv->verbose, mpi->fields); for (int p = 0; p < mpi->num_planes; p++) { do_plane(dmpi->planes[p], mpi->planes[p], pw[p], dmpi->plane_h[p], -- cgit v1.2.3