idctdsp: prettyprinting cosmetics
authorDiego Biurrun <diego@biurrun.de>
Fri, 18 Jul 2014 14:37:35 +0000 (07:37 -0700)
committerDiego Biurrun <diego@biurrun.de>
Fri, 18 Jul 2014 14:51:03 +0000 (07:51 -0700)
libavcodec/arm/idctdsp_init_arm.c
libavcodec/arm/idctdsp_init_armv5te.c
libavcodec/arm/idctdsp_init_armv6.c
libavcodec/arm/idctdsp_init_neon.c
libavcodec/idctdsp.c
libavcodec/ppc/idctdsp.c
libavcodec/x86/idctdsp_init.c

index e61bf83d0d22949d36e3e922ab14dcf69117e58d..cf7538392264612604490b15c0a711181842534a 100644 (file)
@@ -75,15 +75,15 @@ av_cold void ff_idctdsp_init_arm(IDCTDSPContext *c, AVCodecContext *avctx,
     if (!high_bit_depth) {
         if (avctx->idct_algo == FF_IDCT_AUTO ||
             avctx->idct_algo == FF_IDCT_ARM) {
-            c->idct_put              = j_rev_dct_arm_put;
-            c->idct_add              = j_rev_dct_arm_add;
-            c->idct                  = ff_j_rev_dct_arm;
-            c->perm_type             = FF_IDCT_PERM_LIBMPEG2;
+            c->idct_put  = j_rev_dct_arm_put;
+            c->idct_add  = j_rev_dct_arm_add;
+            c->idct      = ff_j_rev_dct_arm;
+            c->perm_type = FF_IDCT_PERM_LIBMPEG2;
         } else if (avctx->idct_algo == FF_IDCT_SIMPLEARM) {
-            c->idct_put              = simple_idct_arm_put;
-            c->idct_add              = simple_idct_arm_add;
-            c->idct                  = ff_simple_idct_arm;
-            c->perm_type             = FF_IDCT_PERM_NONE;
+            c->idct_put  = simple_idct_arm_put;
+            c->idct_add  = simple_idct_arm_add;
+            c->idct      = ff_simple_idct_arm;
+            c->perm_type = FF_IDCT_PERM_NONE;
         }
     }
 
index 20373316a8c6a7f90f674c8129449207a7607560..1088563d76dc6834271522d2c7c6dc554180d996 100644 (file)
@@ -35,9 +35,9 @@ av_cold void ff_idctdsp_init_armv5te(IDCTDSPContext *c, AVCodecContext *avctx,
     if (!high_bit_depth &&
         (avctx->idct_algo == FF_IDCT_AUTO ||
          avctx->idct_algo == FF_IDCT_SIMPLEARMV5TE)) {
-        c->idct_put              = ff_simple_idct_put_armv5te;
-        c->idct_add              = ff_simple_idct_add_armv5te;
-        c->idct                  = ff_simple_idct_armv5te;
-        c->perm_type             = FF_IDCT_PERM_NONE;
+        c->idct_put  = ff_simple_idct_put_armv5te;
+        c->idct_add  = ff_simple_idct_add_armv5te;
+        c->idct      = ff_simple_idct_armv5te;
+        c->perm_type = FF_IDCT_PERM_NONE;
     }
 }
index dbf364794075507afd3cc0c07dfce740a14d6aec..1717421a975f7305c0bf323d7e94a9e04a2ce389 100644 (file)
@@ -38,10 +38,10 @@ av_cold void ff_idctdsp_init_armv6(IDCTDSPContext *c, AVCodecContext *avctx,
     if (!high_bit_depth) {
         if (avctx->idct_algo == FF_IDCT_AUTO ||
             avctx->idct_algo == FF_IDCT_SIMPLEARMV6) {
-            c->idct_put              = ff_simple_idct_put_armv6;
-            c->idct_add              = ff_simple_idct_add_armv6;
-            c->idct                  = ff_simple_idct_armv6;
-            c->perm_type             = FF_IDCT_PERM_LIBMPEG2;
+            c->idct_put  = ff_simple_idct_put_armv6;
+            c->idct_add  = ff_simple_idct_add_armv6;
+            c->idct      = ff_simple_idct_armv6;
+            c->perm_type = FF_IDCT_PERM_LIBMPEG2;
         }
     }
     c->add_pixels_clamped = ff_add_pixels_clamped_armv6;
index 6dcda250acec40cc0379793e9136b2999d135225..66783d81d03facf016112dd40bd9e19cc7f105af 100644 (file)
@@ -40,10 +40,10 @@ av_cold void ff_idctdsp_init_neon(IDCTDSPContext *c, AVCodecContext *avctx,
     if (!high_bit_depth) {
         if (avctx->idct_algo == FF_IDCT_AUTO ||
             avctx->idct_algo == FF_IDCT_SIMPLENEON) {
-            c->idct_put              = ff_simple_idct_put_neon;
-            c->idct_add              = ff_simple_idct_add_neon;
-            c->idct                  = ff_simple_idct_neon;
-            c->perm_type             = FF_IDCT_PERM_PARTTRANS;
+            c->idct_put  = ff_simple_idct_put_neon;
+            c->idct_add  = ff_simple_idct_add_neon;
+            c->idct      = ff_simple_idct_neon;
+            c->perm_type = FF_IDCT_PERM_PARTTRANS;
         }
     }
 
index 9651c2cb69d1d0acae580ff3175fb7087cd8bbd3..9dbeba107c38f1ee6a4706d55c96a796d85aacf9 100644 (file)
@@ -158,26 +158,26 @@ av_cold void ff_idctdsp_init(IDCTDSPContext *c, AVCodecContext *avctx)
     const unsigned high_bit_depth = avctx->bits_per_raw_sample > 8;
 
     if (avctx->bits_per_raw_sample == 10) {
-        c->idct_put              = ff_simple_idct_put_10;
-        c->idct_add              = ff_simple_idct_add_10;
-        c->idct                  = ff_simple_idct_10;
-        c->perm_type             = FF_IDCT_PERM_NONE;
+        c->idct_put  = ff_simple_idct_put_10;
+        c->idct_add  = ff_simple_idct_add_10;
+        c->idct      = ff_simple_idct_10;
+        c->perm_type = FF_IDCT_PERM_NONE;
     } else {
         if (avctx->idct_algo == FF_IDCT_INT) {
-            c->idct_put              = jref_idct_put;
-            c->idct_add              = jref_idct_add;
-            c->idct                  = ff_j_rev_dct;
-            c->perm_type             = FF_IDCT_PERM_LIBMPEG2;
+            c->idct_put  = jref_idct_put;
+            c->idct_add  = jref_idct_add;
+            c->idct      = ff_j_rev_dct;
+            c->perm_type = FF_IDCT_PERM_LIBMPEG2;
         } else if (avctx->idct_algo == FF_IDCT_FAAN) {
-            c->idct_put              = ff_faanidct_put;
-            c->idct_add              = ff_faanidct_add;
-            c->idct                  = ff_faanidct;
-            c->perm_type             = FF_IDCT_PERM_NONE;
+            c->idct_put  = ff_faanidct_put;
+            c->idct_add  = ff_faanidct_add;
+            c->idct      = ff_faanidct;
+            c->perm_type = FF_IDCT_PERM_NONE;
         } else { // accurate/default
-            c->idct_put              = ff_simple_idct_put_8;
-            c->idct_add              = ff_simple_idct_add_8;
-            c->idct                  = ff_simple_idct_8;
-            c->perm_type             = FF_IDCT_PERM_NONE;
+            c->idct_put  = ff_simple_idct_put_8;
+            c->idct_add  = ff_simple_idct_add_8;
+            c->idct      = ff_simple_idct_8;
+            c->perm_type = FF_IDCT_PERM_NONE;
         }
     }
 
index 7dd3ab2c99117c5c9f52844b7f1824a10d247396..e1dde82e21c344e1d23065454c12586ebcfb7779 100644 (file)
@@ -235,9 +235,9 @@ av_cold void ff_idctdsp_init_ppc(IDCTDSPContext *c, AVCodecContext *avctx,
         if (!high_bit_depth) {
             if ((avctx->idct_algo == FF_IDCT_AUTO) ||
                 (avctx->idct_algo == FF_IDCT_ALTIVEC)) {
-                c->idct_add              = idct_add_altivec;
-                c->idct_put              = idct_put_altivec;
-                c->perm_type             = FF_IDCT_PERM_TRANSPOSE;
+                c->idct_add  = idct_add_altivec;
+                c->idct_put  = idct_put_altivec;
+                c->perm_type = FF_IDCT_PERM_TRANSPOSE;
             }
         }
     }
index 5bd293fb6b3de3b4f16d080b103b0be349daa310..40ed0ac5fc5b8cb69fd76e69b8443e08a3980df3 100644 (file)
@@ -73,15 +73,15 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
             switch (avctx->idct_algo) {
             case FF_IDCT_AUTO:
             case FF_IDCT_SIMPLEMMX:
-                c->idct_put              = ff_simple_idct_put_mmx;
-                c->idct_add              = ff_simple_idct_add_mmx;
-                c->idct                  = ff_simple_idct_mmx;
-                c->perm_type             = FF_IDCT_PERM_SIMPLE;
+                c->idct_put  = ff_simple_idct_put_mmx;
+                c->idct_add  = ff_simple_idct_add_mmx;
+                c->idct      = ff_simple_idct_mmx;
+                c->perm_type = FF_IDCT_PERM_SIMPLE;
                 break;
             case FF_IDCT_XVIDMMX:
-                c->idct_put              = ff_idct_xvid_mmx_put;
-                c->idct_add              = ff_idct_xvid_mmx_add;
-                c->idct                  = ff_idct_xvid_mmx;
+                c->idct_put  = ff_idct_xvid_mmx_put;
+                c->idct_add  = ff_idct_xvid_mmx_add;
+                c->idct      = ff_idct_xvid_mmx;
                 break;
             }
         }
@@ -97,10 +97,10 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
 
     if (INLINE_SSE2(cpu_flags)) {
         if (!high_bit_depth && avctx->idct_algo == FF_IDCT_XVIDMMX) {
-            c->idct_put              = ff_idct_xvid_sse2_put;
-            c->idct_add              = ff_idct_xvid_sse2_add;
-            c->idct                  = ff_idct_xvid_sse2;
-            c->perm_type             = FF_IDCT_PERM_SSE2;
+            c->idct_put  = ff_idct_xvid_sse2_put;
+            c->idct_add  = ff_idct_xvid_sse2_add;
+            c->idct      = ff_idct_xvid_sse2;
+            c->perm_type = FF_IDCT_PERM_SSE2;
         }
     }
 }