32 #define IN_IDCT_DEPTH 16
52 #define IN_IDCT_DEPTH 32
61 #define C_FIX(x) ((int)((x) * (1 << CN_SHIFT) + 0.5))
62 #define C1 C_FIX(0.6532814824)
63 #define C2 C_FIX(0.2705980501)
67 #define C_SHIFT (4+1+12)
69 static inline void idct4col_put(uint8_t *dest, ptrdiff_t line_size,
const int16_t *col)
96 ptr[8 + k] = a0 - a1;\
126 idctRowCondDC_int16_8bit(
block +
i*8, 0);
143 #define C_FIX(x) ((int)((x) * M_SQRT2 * (1 << CN_SHIFT) + 0.5))
144 #define C1 C_FIX(0.6532814824)
145 #define C2 C_FIX(0.2705980501)
146 #define C3 C_FIX(0.5)
147 #define C_SHIFT (4+1+12)
148 static inline void idct4col_add(uint8_t *dest, ptrdiff_t line_size,
const int16_t *col)
170 #define R_FIX(x) ((int)((x) * M_SQRT2 * (1 << RN_SHIFT) + 0.5))
171 #define R1 R_FIX(0.6532814824)
172 #define R2 R_FIX(0.2705980501)
173 #define R3 R_FIX(0.5)
177 unsigned c0,
c1,
c2, c3;
200 idctRowCondDC_int16_8bit(
block +
i*8, 0);
220 idctSparseColAdd_int16_8bit(dest +
i, line_size,
block +
i);
243 for (
i = 0;
i < 64;
i++)
246 for (
i = 0;
i < 8;
i++)
247 idctRowCondDC_extrashift_10(
block +
i*8, 2);
249 for (
i = 0;
i < 8;
i++) {
251 idctSparseCol_extrashift_10(
block +
i);
259 for (
i = 0;
i < 64;
i++)
262 for (
i = 0;
i < 8;
i++)
263 idctRowCondDC_int16_12bit(
block +
i*8, 0);
265 for (
i = 0;
i < 8;
i++) {
267 idctSparseCol_int16_12bit(
block +
i);