From 0768b252fa8c36512e5dc60a7394f57660fbe17e Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 9 Apr 2015 19:43:45 -0700 Subject: [PATCH] dsp/enc.c: cosmetics: move DST() def closer to use Change-Id: Iccbcf046412426c2893b71eced517f611d2ffc3f --- src/dsp/enc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dsp/enc.c b/src/dsp/enc.c index ee388cb8..7775e2df 100644 --- a/src/dsp/enc.c +++ b/src/dsp/enc.c @@ -213,8 +213,6 @@ static void FTransformWHT(const int16_t* in, int16_t* out) { //------------------------------------------------------------------------------ // Intra predictions -#define DST(x, y) dst[(x) + (y) * BPS] - static WEBP_INLINE void Fill(uint8_t* dst, int value, int size) { int j; for (j = 0; j < size; ++j) { @@ -331,6 +329,7 @@ static void Intra16Preds(uint8_t* dst, //------------------------------------------------------------------------------ // luma 4x4 prediction +#define DST(x, y) dst[(x) + (y) * BPS] #define AVG3(a, b, c) (((a) + 2 * (b) + (c) + 2) >> 2) #define AVG2(a, b) (((a) + (b) + 1) >> 1)