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
Originally committed as revision 20331 to svn://svn.ffmpeg.org/ffmpeg/trunk
#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.
int_fast16_t z1, z2, z3, z4, z5, z11, z13;
DCTELEM *dataptr;
int ctr;
- SHIFT_TEMPS
/* Pass 1: process rows. */
int_fast16_t z1, z2, z3, z4, z5, z11, z13;
DCTELEM *dataptr;
int ctr;
- SHIFT_TEMPS
row_fdct(data);
int_fast16_t z1;
DCTELEM *dataptr;
int ctr;
- SHIFT_TEMPS
row_fdct(data);
#include "libavutil/common.h"
#include "dsputil.h"
-#define SHIFT_TEMPS
#define DCTSIZE 8
#define BITS_IN_JSAMPLE 8
#define GLOBAL(x) x
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; */
int_fast32_t z1, z2, z3, z4, z5;
DCTELEM *dataptr;
int ctr;
- SHIFT_TEMPS
row_fdct(data);
int_fast32_t z1;
DCTELEM *dataptr;
int ctr;
- SHIFT_TEMPS
row_fdct(data);