Mercurial > libavcodec.hg
diff jfdctint.c @ 10446:f522171a5d3d libavcodec
Remove SHIFT_TEMPS from jfdct code.
Patch by avcoder: our_beloved_project AT gmail DOT com
See thread [FFmpeg-devel] Patch: remove useless SHIFT_TEMPS definition
Date: Tue, 20 Oct 2009 14:29:05 +0800
| author | benoit |
|---|---|
| date | Tue, 20 Oct 2009 11:19:54 +0000 |
| parents | e9d9d946f213 |
| children | 7dd2a45249a9 |
line wrap: on
line diff
--- a/jfdctint.c Mon Oct 19 22:45:22 2009 +0000 +++ b/jfdctint.c Tue Oct 20 11:19:54 2009 +0000 @@ -66,7 +66,6 @@ #include "libavutil/common.h" #include "dsputil.h" -#define SHIFT_TEMPS #define DCTSIZE 8 #define BITS_IN_JSAMPLE 8 #define GLOBAL(x) x @@ -187,7 +186,6 @@ int_fast32_t z1, z2, z3, z4, z5; DCTELEM *dataptr; int ctr; - SHIFT_TEMPS /* Pass 1: process rows. */ /* Note results are scaled up by sqrt(8) compared to a true DCT; */ @@ -266,7 +264,6 @@ int_fast32_t z1, z2, z3, z4, z5; DCTELEM *dataptr; int ctr; - SHIFT_TEMPS row_fdct(data); @@ -353,7 +350,6 @@ int_fast32_t z1; DCTELEM *dataptr; int ctr; - SHIFT_TEMPS row_fdct(data);
