#include "sizes.h"

Go to the source code of this file.
Defines | |
| #define | SHIFT_TEMPS |
| #define | RIGHT_SHIFT(x, shft) ((x) >> (shft)) |
| #define | MAXJSAMPLE 255 |
| #define | RANGE_MASK (MAXJSAMPLE * 4 + 3) |
| #define | CONST_SCALE (ONE << CONST_BITS) |
| #define | ONE ((long)1) |
| #define | CONST_BITS 13 |
| #define | PASS1_BITS 2 |
| #define | DCTSIZE1 8 |
| #define | DCTSIZE2 64 |
| #define | MULTIPLY(var, const) ((var) * (const)) |
| #define | FIX(x) ((long)((x) * CONST_SCALE + 0.5)) |
| #define | DESCALE(x, n) RIGHT_SHIFT((x) + (ONE << ((n) - 1)), n) |
Functions | |
| int | quicktime_rev_dct (int16_t *data, unsigned char *outptr, unsigned char *rnglimit) |
| #define DESCALE | ( | x, | |||
| n | ) | RIGHT_SHIFT((x) + (ONE << ((n) - 1)), n) |
| int quicktime_rev_dct | ( | int16_t * | data, | |
| unsigned char * | outptr, | |||
| unsigned char * | rnglimit | |||
| ) |
Definition at line 26 of file revdct.c.
References CONST_BITS, DCTSIZE1, DESCALE, FIX, MULTIPLY, PASS1_BITS, RANGE_MASK, and SHIFT_TEMPS.
Referenced by quicktime_fastjpg_huffparse().
1.5.5