Home
last modified time | relevance | path

Searched refs:SCALEBITS (Results 1 – 6 of 6) sorted by relevance

/utopia/UTPA2-700.0.x/modules/ojpd_vdec_v2/api/jpeg_ex/cmodel/src/
H A Djpeg_cmodel.c118 #define SCALEBITS 16 macro
119 #define ONE_HALF ((long) 1 << (SCALEBITS-1))
120 #define FIX(x) ((long) ((x) * (1L<<SCALEBITS) + 0.5))
864 gs32Crr[i] = ( FIX( 1.40200 ) * k + ONE_HALF ) >> SCALEBITS; in JPEG_CMODEL_create_look_ups()
865 gs32Cbb[i] = ( FIX( 1.77200 ) * k + ONE_HALF ) >> SCALEBITS; in JPEG_CMODEL_create_look_ups()
/utopia/UTPA2-700.0.x/modules/ojpd_vdec_v1/api/jpeg/cmodel/src/
H A Djpeg_cmodel.c118 #define SCALEBITS 16 macro
119 #define ONE_HALF ((long) 1 << (SCALEBITS-1))
120 #define FIX(x) ((long) ((x) * (1L<<SCALEBITS) + 0.5))
864 gs32Crr[i] = ( FIX( 1.40200 ) * k + ONE_HALF ) >> SCALEBITS; in JPEG_CMODEL_create_look_ups()
865 gs32Cbb[i] = ( FIX( 1.77200 ) * k + ONE_HALF ) >> SCALEBITS; in JPEG_CMODEL_create_look_ups()
/utopia/UTPA2-700.0.x/modules/njpd/api/njpeg_ex/
H A DapiJPEG_OJPD.c267 #define SCALEBITS 16 macro
268 #define ONE_HALF ((MS_S32) 1 << (SCALEBITS-1))
269 #define FIX(x) ((MS_S32) ((x) * (1L<<SCALEBITS) + 0.5))
5138 gs32Crr[i] = ( FIX( 1.40200 ) * k + ONE_HALF ) >> SCALEBITS; in msAPI_JPEG_create_look_ups()
5139 gs32Cbb[i] = ( FIX( 1.77200 ) * k + ONE_HALF ) >> SCALEBITS; in msAPI_JPEG_create_look_ups()
H A DapiJPEG.c290 #define SCALEBITS 16UL macro
291 #define ONE_HALF ((MS_S32) 1UL << (SCALEBITS-1))
292 #define FIX(x) ((MS_S32) ((x) * (1L<<SCALEBITS) + 0.5))
5146 pNJPEGContext->gs32Crr[i] = ( FIX( 1.40200 ) * k + ONE_HALF ) >> SCALEBITS; in msAPI_JPEG_create_look_ups()
5147 pNJPEGContext->gs32Cbb[i] = ( FIX( 1.77200 ) * k + ONE_HALF ) >> SCALEBITS; in msAPI_JPEG_create_look_ups()
/utopia/UTPA2-700.0.x/modules/ojpd_vdec_v1/api/jpeg/
H A DapiJPEG.c265 #define SCALEBITS 16 macro
266 #define ONE_HALF ((MS_S32) 1 << (SCALEBITS-1))
267 #define FIX(x) ((MS_S32) ((x) * (1L<<SCALEBITS) + 0.5))
5130 gs32Crr[i] = ( FIX( 1.40200 ) * k + ONE_HALF ) >> SCALEBITS; in msAPI_JPEG_create_look_ups()
5131 gs32Cbb[i] = ( FIX( 1.77200 ) * k + ONE_HALF ) >> SCALEBITS; in msAPI_JPEG_create_look_ups()
/utopia/UTPA2-700.0.x/modules/ojpd_vdec_v2/api/jpeg_ex/
H A DapiJPEG.c272 #define SCALEBITS 16 macro
273 #define ONE_HALF ((MS_S32) 1 << (SCALEBITS-1))
274 #define FIX(x) ((MS_S32) ((x) * (1L<<SCALEBITS) + 0.5))
5085 gs32Crr[i] = ( FIX( 1.40200 ) * k + ONE_HALF ) >> SCALEBITS; in msAPI_JPEG_create_look_ups()
5086 gs32Cbb[i] = ( FIX( 1.77200 ) * k + ONE_HALF ) >> SCALEBITS; in msAPI_JPEG_create_look_ups()