]> git.sesse.net Git - vlc/blobdiff - modules/codec/xvmc/motion_comp.c
Removes trailing spaces. Removes tabs.
[vlc] / modules / codec / xvmc / motion_comp.c
index 0eef8fbffff638cd3351b4cce98610c20d3420de..769a8fc5cb67484cab512ead9ae7702af6885b68 100644 (file)
@@ -50,53 +50,53 @@ void mpeg2_mc_init (uint32_t accel)
 #define predict_x(i) (avg2 (ref[i], ref[i+1]))
 #define predict_y(i) (avg2 (ref[i], (ref+stride)[i]))
 #define predict_xy(i) (avg4 (ref[i], ref[i+1], \
-                            (ref+stride)[i], (ref+stride)[i+1]))
+                 (ref+stride)[i], (ref+stride)[i+1]))
 
 #define put(predictor,i) dest[i] = predictor (i)
 #define avg(predictor,i) dest[i] = avg2 (predictor (i), dest[i])
 
 /* mc function template */
 
-#define MC_FUNC(op,xy)                                                 \
-static void MC_##op##_##xy##_16_c (uint8_t * dest, const uint8_t * ref,        \
-                                  const int stride, int height)        \
-{                                                                      \
-    do {                                                               \
-       op (predict_##xy, 0);                                           \
-       op (predict_##xy, 1);                                           \
-       op (predict_##xy, 2);                                           \
-       op (predict_##xy, 3);                                           \
-       op (predict_##xy, 4);                                           \
-       op (predict_##xy, 5);                                           \
-       op (predict_##xy, 6);                                           \
-       op (predict_##xy, 7);                                           \
-       op (predict_##xy, 8);                                           \
-       op (predict_##xy, 9);                                           \
-       op (predict_##xy, 10);                                          \
-       op (predict_##xy, 11);                                          \
-       op (predict_##xy, 12);                                          \
-       op (predict_##xy, 13);                                          \
-       op (predict_##xy, 14);                                          \
-       op (predict_##xy, 15);                                          \
-       ref += stride;                                                  \
-       dest += stride;                                                 \
-    } while (--height);                                                        \
-}                                                                      \
-static void MC_##op##_##xy##_8_c (uint8_t * dest, const uint8_t * ref, \
-                                 const int stride, int height)         \
-{                                                                      \
-    do {                                                               \
-       op (predict_##xy, 0);                                           \
-       op (predict_##xy, 1);                                           \
-       op (predict_##xy, 2);                                           \
-       op (predict_##xy, 3);                                           \
-       op (predict_##xy, 4);                                           \
-       op (predict_##xy, 5);                                           \
-       op (predict_##xy, 6);                                           \
-       op (predict_##xy, 7);                                           \
-       ref += stride;                                                  \
-       dest += stride;                                                 \
-    } while (--height);                                                        \
+#define MC_FUNC(op,xy)                            \
+static void MC_##op##_##xy##_16_c (uint8_t * dest, const uint8_t * ref,    \
+                   const int stride, int height)    \
+{                                    \
+    do {                                \
+    op (predict_##xy, 0);                        \
+    op (predict_##xy, 1);                        \
+    op (predict_##xy, 2);                        \
+    op (predict_##xy, 3);                        \
+    op (predict_##xy, 4);                        \
+    op (predict_##xy, 5);                        \
+    op (predict_##xy, 6);                        \
+    op (predict_##xy, 7);                        \
+    op (predict_##xy, 8);                        \
+    op (predict_##xy, 9);                        \
+    op (predict_##xy, 10);                        \
+    op (predict_##xy, 11);                        \
+    op (predict_##xy, 12);                        \
+    op (predict_##xy, 13);                        \
+    op (predict_##xy, 14);                        \
+    op (predict_##xy, 15);                        \
+    ref += stride;                            \
+    dest += stride;                            \
+    } while (--height);                            \
+}                                    \
+static void MC_##op##_##xy##_8_c (uint8_t * dest, const uint8_t * ref,    \
+                  const int stride, int height)        \
+{                                    \
+    do {                                \
+    op (predict_##xy, 0);                        \
+    op (predict_##xy, 1);                        \
+    op (predict_##xy, 2);                        \
+    op (predict_##xy, 3);                        \
+    op (predict_##xy, 4);                        \
+    op (predict_##xy, 5);                        \
+    op (predict_##xy, 6);                        \
+    op (predict_##xy, 7);                        \
+    ref += stride;                            \
+    dest += stride;                            \
+    } while (--height);                            \
 }
 
 /* definitions of the actual mc functions */