Mercurial > libavcodec.hg
changeset 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 | 4863889843ef |
children | 65422cc3a288 |
files | jfdctfst.c jfdctint.c |
diffstat | 2 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/jfdctfst.c Mon Oct 19 22:45:22 2009 +0000 +++ b/jfdctfst.c Tue Oct 20 11:19:54 2009 +0000 @@ -76,7 +76,6 @@ #define DCTSIZE 8 #define GLOBAL(x) x #define RIGHT_SHIFT(x, n) ((x) >> (n)) -#define SHIFT_TEMPS /* * This module is specialized to the case DCTSIZE = 8. @@ -151,7 +150,6 @@ int_fast16_t z1, z2, z3, z4, z5, z11, z13; DCTELEM *dataptr; int ctr; - SHIFT_TEMPS /* Pass 1: process rows. */ @@ -216,7 +214,6 @@ int_fast16_t z1, z2, z3, z4, z5, z11, z13; DCTELEM *dataptr; int ctr; - SHIFT_TEMPS row_fdct(data); @@ -283,7 +280,6 @@ int_fast16_t z1; DCTELEM *dataptr; int ctr; - SHIFT_TEMPS row_fdct(data);
--- 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);