Go to the documentation of this file.
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);
static void idct4col_put(uint8_t *dest, ptrdiff_t line_size, const int16_t *col)
static void idct4row(int16_t *row)
void ff_simple_idct44_add(uint8_t *dest, ptrdiff_t line_size, int16_t *block)
void ff_simple_idct84_add(uint8_t *dest, ptrdiff_t line_size, int16_t *block)
void ff_simple_idct248_put(uint8_t *dest, ptrdiff_t line_size, int16_t *block)
static double a2(void *priv, double x, double y)
static void idct4col_add(uint8_t *dest, ptrdiff_t line_size, const int16_t *col)
void ff_simple_idct48_add(uint8_t *dest, ptrdiff_t line_size, int16_t *block)
static double a3(void *priv, double x, double y)
static double a0(void *priv, double x, double y)
#define i(width, name, range_min, range_max)
void ff_prores_idct_12(int16_t *block, const int16_t *qmat)
void ff_prores_idct_10(int16_t *block, const int16_t *qmat)
Special version of ff_simple_idct_int16_10bit() which does dequantization and scales by a factor of 2...
The exact code depends on how similar the blocks are and how related they are to the block
static double a1(void *priv, double x, double y)