summaryrefslogtreecommitdiff
path: root/libavcodec/faanidct.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-19 16:00:21 +0100
committerClément Bœsch <u@pkh.me>2017-03-19 16:00:21 +0100
commit7a6514861ecf26fe7f892ddc494c063c5d093023 (patch)
treee3c4fb083b012188146ff12c8e1342d78b1dfe02 /libavcodec/faanidct.c
parent83706367e2b5693e093954997b19af5031b8e2ff (diff)
parent34c22a9ca656603428b2c3490d1339c5a5966961 (diff)
Merge commit '34c22a9ca656603428b2c3490d1339c5a5966961'
* commit '34c22a9ca656603428b2c3490d1339c5a5966961': faan(i)dct: Kill some disabled code Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/faanidct.c')
-rw-r--r--libavcodec/faanidct.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/faanidct.c b/libavcodec/faanidct.c
index bbaaa3fd5d..2aab726850 100644
--- a/libavcodec/faanidct.c
+++ b/libavcodec/faanidct.c
@@ -62,17 +62,8 @@ static inline void p8idct(int16_t data[64], FLOAT temp[64], uint8_t *dest, int s
od07= s17 + s53;
od25= (s17 - s53)*(2*A4);
-#if 0 //these 2 are equivalent
- {
- FLOAT tmp0;
- tmp0 = (d17 + d53) * (2 * A2);
- od34 = d17 * (2 * B6) - tmp0;
- od16 = d53 * (-2 * B2) + tmp0;
- }
-#else
od34= d17*(2*(B6-A2)) - d53*(2*A2);
od16= d53*(2*(A2-B2)) + d17*(2*A2);
-#endif
od16 -= od07;
od25 -= od16;