Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-08-01 20:59:58 +0300
committerDiego Biurrun <diego@biurrun.de>2016-08-17 13:16:42 +0300
commit34c22a9ca656603428b2c3490d1339c5a5966961 (patch)
treeb91b80998a94c23d7eb700e119c72a9629ec4357 /libavcodec/faandct.c
parenta4b1b5aa281cacde8351d9947b54ccf82ff10cd0 (diff)
faan(i)dct: Kill some disabled code
Diffstat (limited to 'libavcodec/faandct.c')
-rw-r--r--libavcodec/faandct.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/libavcodec/faandct.c b/libavcodec/faandct.c
index 4053d69db1..7888633d7c 100644
--- a/libavcodec/faandct.c
+++ b/libavcodec/faandct.c
@@ -97,17 +97,9 @@ static av_always_inline void row_fdct(FLOAT temp[64], int16_t *data)
tmp5 += tmp6;
tmp6 += tmp7;
-#if 0
- {
- FLOAT z5;
- z5 = (tmp4 - tmp6) * A5;
- z2 = tmp4 * A2 + z5;
- z4 = tmp6 * A4 + z5;
- }
-#else
z2= tmp4*(A2+A5) - tmp6*A5;
z4= tmp6*(A4-A5) + tmp4*A5;
-#endif
+
tmp5*=A1;
z11= tmp7 + tmp5;
@@ -159,17 +151,9 @@ void ff_faandct(int16_t *data)
tmp5 += tmp6;
tmp6 += tmp7;
-#if 0
- {
- FLOAT z5;
- z5 = (tmp4 - tmp6) * A5;
- z2 = tmp4 * A2 + z5;
- z4 = tmp6 * A4 + z5;
- }
-#else
z2= tmp4*(A2+A5) - tmp6*A5;
z4= tmp6*(A4-A5) + tmp4*A5;
-#endif
+
tmp5*=A1;
z11= tmp7 + tmp5;