Home
last modified time | relevance | path

Searched refs:PASS1_BITS (Results 1 – 10 of 10) sorted by relevance

/utopia/UTPA2-700.0.x/modules/ojpd_vdec_v2/api/jpeg_ex/cmodel/src/
H A Djidctint.c162 #define PASS1_BITS 2 macro
165 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */
282 int dcval = DEQUANTIZE( inptr[DCTSIZE*0], quantptr[DCTSIZE*0] ) << PASS1_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 );
359 wsptr[DCTSIZE * 5] = ( int )DESCALE( tmp12 - tmp1, CONST_BITS - PASS1_BITS );
360 wsptr[DCTSIZE * 3] = ( int )DESCALE( tmp13 + tmp0, CONST_BITS - PASS1_BITS );
[all …]
H A Didct.c121 #define PASS1_BITS 2 macro
163 S16 dcval = ( S16 )( dataptr[0] << PASS1_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()
228 wsptr[3] = ( S16 )DESCALE( tmp13 + tmp0, CONST_BITS - PASS1_BITS ); in idct()
229 wsptr[4] = ( S16 )DESCALE( tmp13 - tmp0, CONST_BITS - PASS1_BITS ); in idct()
[all …]
H A Djidctfst.c160 #define PASS1_BITS 2 macro
163 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */
218 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
396 int dcval = IDESCALE( wsptr[0], PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
464 i = IDESCALE( tmp0 + tmp7, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
467 i = IDESCALE( tmp0 - tmp7, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
470 i = IDESCALE( tmp1 + tmp6, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
473 i = IDESCALE( tmp1 - tmp6, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
476 i = IDESCALE( tmp2 + tmp5, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
479 i = IDESCALE( tmp2 - tmp5, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
[all …]
/utopia/UTPA2-700.0.x/modules/ojpd_vdec_v1/api/jpeg/cmodel/src/
H A Djidctint.c162 #define PASS1_BITS 2 macro
165 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */
282 int dcval = DEQUANTIZE( inptr[DCTSIZE*0], quantptr[DCTSIZE*0] ) << PASS1_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 );
359 wsptr[DCTSIZE * 5] = ( int )DESCALE( tmp12 - tmp1, CONST_BITS - PASS1_BITS );
360 wsptr[DCTSIZE * 3] = ( int )DESCALE( tmp13 + tmp0, CONST_BITS - PASS1_BITS );
[all …]
H A Didct.c121 #define PASS1_BITS 2 macro
163 S16 dcval = ( S16 )( dataptr[0] << PASS1_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()
228 wsptr[3] = ( S16 )DESCALE( tmp13 + tmp0, CONST_BITS - PASS1_BITS ); in idct()
229 wsptr[4] = ( S16 )DESCALE( tmp13 - tmp0, CONST_BITS - PASS1_BITS ); in idct()
[all …]
H A Djidctfst.c160 #define PASS1_BITS 2 macro
163 #define PASS1_BITS 1 /* lose a little precision to avoid overflow */
218 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
396 int dcval = IDESCALE( wsptr[0], PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
464 i = IDESCALE( tmp0 + tmp7, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
467 i = IDESCALE( tmp0 - tmp7, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
470 i = IDESCALE( tmp1 + tmp6, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
473 i = IDESCALE( tmp1 - tmp6, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
476 i = IDESCALE( tmp2 + tmp5, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
479 i = IDESCALE( tmp2 - tmp5, PASS1_BITS + 3 ) + 128; in jpeg_idct_ifast()
[all …]
/utopia/UTPA2-700.0.x/modules/njpd/api/njpeg_ex/
H A DapiJPEG_OJPD.c251 #define PASS1_BITS 2 macro
H A DapiJPEG.c274 #define PASS1_BITS 2 macro
/utopia/UTPA2-700.0.x/modules/ojpd_vdec_v1/api/jpeg/
H A DapiJPEG.c249 #define PASS1_BITS 2 macro
/utopia/UTPA2-700.0.x/modules/ojpd_vdec_v2/api/jpeg_ex/
H A DapiJPEG.c256 #define PASS1_BITS 2 macro