Searched refs:CONST_BITS (Results 1 – 6 of 6) sorted by relevance
| /utopia/UTPA2-700.0.x/modules/ojpd_vdec_v2/api/jpeg_ex/cmodel/src/ |
| H A D | jidctint.c | 161 #define CONST_BITS 13 macro 164 #define CONST_BITS 13 175 #if CONST_BITS == 13 312 tmp0 = ( z2 + z3 ) << CONST_BITS; 313 tmp1 = ( z2 - z3 ) << CONST_BITS; 354 wsptr[DCTSIZE * 0] = ( int )DESCALE( tmp10 + tmp3, CONST_BITS - PASS1_BITS ); 355 wsptr[DCTSIZE * 7] = ( int )DESCALE( tmp10 - tmp3, CONST_BITS - PASS1_BITS ); 356 wsptr[DCTSIZE * 1] = ( int )DESCALE( tmp11 + tmp2, CONST_BITS - PASS1_BITS ); 357 wsptr[DCTSIZE * 6] = ( int )DESCALE( tmp11 - tmp2, CONST_BITS - PASS1_BITS ); 358 wsptr[DCTSIZE * 2] = ( int )DESCALE( tmp12 + tmp1, CONST_BITS - PASS1_BITS ); [all …]
|
| H A D | idct.c | 120 #define CONST_BITS 13 macro 123 #define CONST_SCALE (SCALEDONE << CONST_BITS) 186 tmp0 = ( ( S32 )dataptr[0] + ( S32 )dataptr[4] ) << CONST_BITS; in idct() 187 tmp1 = ( ( S32 )dataptr[0] - ( S32 )dataptr[4] ) << CONST_BITS; in idct() 222 wsptr[0] = ( S16 )DESCALE( tmp10 + tmp3, CONST_BITS - PASS1_BITS ); in idct() 223 wsptr[7] = ( S16 )DESCALE( tmp10 - tmp3, CONST_BITS - PASS1_BITS ); in idct() 224 wsptr[1] = ( S16 )DESCALE( tmp11 + tmp2, CONST_BITS - PASS1_BITS ); in idct() 225 wsptr[6] = ( S16 )DESCALE( tmp11 - tmp2, CONST_BITS - PASS1_BITS ); in idct() 226 wsptr[2] = ( S16 )DESCALE( tmp12 + tmp1, CONST_BITS - PASS1_BITS ); in idct() 227 wsptr[5] = ( S16 )DESCALE( tmp12 - tmp1, CONST_BITS - PASS1_BITS ); in idct() [all …]
|
| H A D | jidctfst.c | 159 #define CONST_BITS 8 macro 162 #define CONST_BITS 8 173 #if CONST_BITS == 8 204 #define MULTIPLY(var,cnst) ((DCTELEM) DESCALE((var) * (cnst), CONST_BITS))
|
| /utopia/UTPA2-700.0.x/modules/ojpd_vdec_v1/api/jpeg/cmodel/src/ |
| H A D | jidctint.c | 161 #define CONST_BITS 13 macro 164 #define CONST_BITS 13 175 #if CONST_BITS == 13 312 tmp0 = ( z2 + z3 ) << CONST_BITS; 313 tmp1 = ( z2 - z3 ) << CONST_BITS; 354 wsptr[DCTSIZE * 0] = ( int )DESCALE( tmp10 + tmp3, CONST_BITS - PASS1_BITS ); 355 wsptr[DCTSIZE * 7] = ( int )DESCALE( tmp10 - tmp3, CONST_BITS - PASS1_BITS ); 356 wsptr[DCTSIZE * 1] = ( int )DESCALE( tmp11 + tmp2, CONST_BITS - PASS1_BITS ); 357 wsptr[DCTSIZE * 6] = ( int )DESCALE( tmp11 - tmp2, CONST_BITS - PASS1_BITS ); 358 wsptr[DCTSIZE * 2] = ( int )DESCALE( tmp12 + tmp1, CONST_BITS - PASS1_BITS ); [all …]
|
| H A D | idct.c | 120 #define CONST_BITS 13 macro 123 #define CONST_SCALE (SCALEDONE << CONST_BITS) 186 tmp0 = ( ( S32 )dataptr[0] + ( S32 )dataptr[4] ) << CONST_BITS; in idct() 187 tmp1 = ( ( S32 )dataptr[0] - ( S32 )dataptr[4] ) << CONST_BITS; in idct() 222 wsptr[0] = ( S16 )DESCALE( tmp10 + tmp3, CONST_BITS - PASS1_BITS ); in idct() 223 wsptr[7] = ( S16 )DESCALE( tmp10 - tmp3, CONST_BITS - PASS1_BITS ); in idct() 224 wsptr[1] = ( S16 )DESCALE( tmp11 + tmp2, CONST_BITS - PASS1_BITS ); in idct() 225 wsptr[6] = ( S16 )DESCALE( tmp11 - tmp2, CONST_BITS - PASS1_BITS ); in idct() 226 wsptr[2] = ( S16 )DESCALE( tmp12 + tmp1, CONST_BITS - PASS1_BITS ); in idct() 227 wsptr[5] = ( S16 )DESCALE( tmp12 - tmp1, CONST_BITS - PASS1_BITS ); in idct() [all …]
|
| H A D | jidctfst.c | 159 #define CONST_BITS 8 macro 162 #define CONST_BITS 8 173 #if CONST_BITS == 8 204 #define MULTIPLY(var,cnst) ((DCTELEM) DESCALE((var) * (cnst), CONST_BITS))
|