33 #define IN_IDCT_DEPTH 16 
   53 #define IN_IDCT_DEPTH 32 
   62 #define C_FIX(x) ((int)((x) * (1 << CN_SHIFT) + 0.5)) 
   63 #define C1 C_FIX(0.6532814824) 
   64 #define C2 C_FIX(0.2705980501) 
   68 #define C_SHIFT (4+1+12) 
   82     dest[0] = av_clip_uint8((c0 + 
c1) >> 
C_SHIFT);
 
   84     dest[0] = av_clip_uint8((
c2 + c3) >> 
C_SHIFT);
 
   86     dest[0] = av_clip_uint8((
c2 - c3) >> 
C_SHIFT);
 
   88     dest[0] = av_clip_uint8((c0 - 
c1) >> 
C_SHIFT);
 
   97     ptr[8 + k] = a0 - a1;\ 
  127         idctRowCondDC_int16_8bit(
block + 
i*8, 0);
 
  144 #define C_FIX(x) ((int)((x) * M_SQRT2 * (1 << CN_SHIFT) + 0.5)) 
  145 #define C1 C_FIX(0.6532814824) 
  146 #define C2 C_FIX(0.2705980501) 
  147 #define C3 C_FIX(0.5) 
  148 #define C_SHIFT (4+1+12) 
  161     dest[0] = av_clip_uint8(dest[0] + ((c0 + 
c1) >> 
C_SHIFT));
 
  163     dest[0] = av_clip_uint8(dest[0] + ((
c2 + c3) >> 
C_SHIFT));
 
  165     dest[0] = av_clip_uint8(dest[0] + ((
c2 - c3) >> 
C_SHIFT));
 
  167     dest[0] = av_clip_uint8(dest[0] + ((c0 - 
c1) >> 
C_SHIFT));
 
  171 #define R_FIX(x) ((int)((x) * M_SQRT2 * (1 << RN_SHIFT) + 0.5)) 
  172 #define R1 R_FIX(0.6532814824) 
  173 #define R2 R_FIX(0.2705980501) 
  174 #define R3 R_FIX(0.5) 
  178     unsigned c0, 
c1, 
c2, c3;
 
  201         idctRowCondDC_int16_8bit(
block + 
i*8, 0);
 
  221         idctSparseColAdd_int16_8bit(dest + 
i, line_size, 
block + 
i);
 
  244     for (
i = 0; 
i < 64; 
i++)
 
  247     for (
i = 0; 
i < 8; 
i++)
 
  248         idctRowCondDC_extrashift_10(
block + 
i*8, 2);
 
  250     for (
i = 0; 
i < 8; 
i++) {
 
  252         idctSparseCol_extrashift_10(
block + 
i);
 
  260     for (
i = 0; 
i < 64; 
i++)
 
  263     for (
i = 0; 
i < 8; 
i++)
 
  264         idctRowCondDC_int16_12bit(
block + 
i*8, 0);
 
  266     for (
i = 0; 
i < 8; 
i++) {
 
  268         idctSparseCol_int16_12bit(
block + 
i);