Home
last modified time | relevance | path

Searched refs:FAST_FLOAT (Results 1 – 25 of 25) sorted by relevance

/external/opencv3/3rdparty/libjpeg/
Djfdctflt.c60 jpeg_fdct_float (FAST_FLOAT * data, JSAMPARRAY sample_data, JDIMENSION start_col)
62 FAST_FLOAT tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7;
63 FAST_FLOAT tmp10, tmp11, tmp12, tmp13;
64 FAST_FLOAT z1, z2, z3, z4, z5, z11, z13;
65 FAST_FLOAT *dataptr;
76 tmp0 = (FAST_FLOAT) (GETJSAMPLE(elemptr[0]) + GETJSAMPLE(elemptr[7]));
77 tmp7 = (FAST_FLOAT) (GETJSAMPLE(elemptr[0]) - GETJSAMPLE(elemptr[7]));
78 tmp1 = (FAST_FLOAT) (GETJSAMPLE(elemptr[1]) + GETJSAMPLE(elemptr[6]));
79 tmp6 = (FAST_FLOAT) (GETJSAMPLE(elemptr[1]) - GETJSAMPLE(elemptr[6]));
80 tmp2 = (FAST_FLOAT) (GETJSAMPLE(elemptr[2]) + GETJSAMPLE(elemptr[5]));
[all …]
Djidctflt.c61 #define DEQUANTIZE(coef,quantval) (((FAST_FLOAT) (coef)) * (quantval))
73 FAST_FLOAT tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7;
74 FAST_FLOAT tmp10, tmp11, tmp12, tmp13;
75 FAST_FLOAT z5, z10, z11, z12, z13;
78 FAST_FLOAT * wsptr;
82 FAST_FLOAT workspace[DCTSIZE2]; /* buffers data between passes */
104 FAST_FLOAT dcval = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]);
132 tmp12 = (tmp1 - tmp3) * ((FAST_FLOAT) 1.414213562) - tmp13; /* 2*c4 */
152 tmp11 = (z11 - z13) * ((FAST_FLOAT) 1.414213562); /* 2*c4 */
154 z5 = (z10 + z12) * ((FAST_FLOAT) 1.847759065); /* 2*c2 */
[all …]
Djcdctmgr.c37 FAST_FLOAT * float_divisors[NUM_QUANT_TBLS];
137 FAST_FLOAT * divisors = fdct->float_divisors[compptr->quant_tbl_no]; in forward_DCT_float()
138 FAST_FLOAT workspace[DCTSIZE2]; /* work area for FDCT subroutine */ in forward_DCT_float()
148 { register FAST_FLOAT temp; in forward_DCT_float()
161 output_ptr[i] = (JCOEF) ((int) (temp + (FAST_FLOAT) 16384.5) - 16384); in forward_DCT_float()
425 FAST_FLOAT * fdtbl; in start_pass_fdctmgr()
433 fdct->float_divisors[qtblno] = (FAST_FLOAT *) in start_pass_fdctmgr()
435 DCTSIZE2 * SIZEOF(FAST_FLOAT)); in start_pass_fdctmgr()
441 fdtbl[i] = (FAST_FLOAT) in start_pass_fdctmgr()
Djmorecfg.h382 #ifndef FAST_FLOAT
384 #define FAST_FLOAT float macro
386 #define FAST_FLOAT double macro
Djdct.h43 typedef JMETHOD(void, float_DCT_method_ptr, (FAST_FLOAT * data,
73 typedef FAST_FLOAT FLOAT_MULT_TYPE; /* preferred floating type */
170 JPP((FAST_FLOAT * data, JSAMPARRAY sample_data, JDIMENSION start_col));
/external/libjpeg-turbo/
Djfdctflt.c59 jpeg_fdct_float (FAST_FLOAT * data)
61 FAST_FLOAT tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7;
62 FAST_FLOAT tmp10, tmp11, tmp12, tmp13;
63 FAST_FLOAT z1, z2, z3, z4, z5, z11, z13;
64 FAST_FLOAT *dataptr;
90 z1 = (tmp12 + tmp13) * ((FAST_FLOAT) 0.707106781); /* c4 */
101 z5 = (tmp10 - tmp12) * ((FAST_FLOAT) 0.382683433); /* c6 */
102 z2 = ((FAST_FLOAT) 0.541196100) * tmp10 + z5; /* c2-c6 */
103 z4 = ((FAST_FLOAT) 1.306562965) * tmp12 + z5; /* c2+c6 */
104 z3 = tmp11 * ((FAST_FLOAT) 0.707106781); /* c4 */
[all …]
Djidctflt.c63 #define DEQUANTIZE(coef,quantval) (((FAST_FLOAT) (coef)) * (quantval))
75 FAST_FLOAT tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7;
76 FAST_FLOAT tmp10, tmp11, tmp12, tmp13;
77 FAST_FLOAT z5, z10, z11, z12, z13;
80 FAST_FLOAT * wsptr;
84 FAST_FLOAT workspace[DCTSIZE2]; /* buffers data between passes */
107 FAST_FLOAT dcval = DEQUANTIZE(inptr[DCTSIZE*0],
136 tmp12 = (tmp1 - tmp3) * ((FAST_FLOAT) 1.414213562) - tmp13; /* 2*c4 */
156 tmp11 = (z11 - z13) * ((FAST_FLOAT) 1.414213562); /* 2*c4 */
158 z5 = (z10 + z12) * ((FAST_FLOAT) 1.847759065); /* 2*c2 */
[all …]
Djcdctmgr.c28 typedef void (*float_DCT_method_ptr) (FAST_FLOAT * data);
35 FAST_FLOAT *workspace);
40 FAST_FLOAT * divisors,
41 FAST_FLOAT * workspace);
67 FAST_FLOAT * float_divisors[NUM_QUANT_TBLS];
68 FAST_FLOAT * float_workspace;
330 FAST_FLOAT * fdtbl; in start_pass_fdctmgr()
338 fdct->float_divisors[qtblno] = (FAST_FLOAT *) in start_pass_fdctmgr()
340 DCTSIZE2 * sizeof(FAST_FLOAT)); in start_pass_fdctmgr()
346 fdtbl[i] = (FAST_FLOAT) in start_pass_fdctmgr()
[all …]
Djsimddct.h19 FAST_FLOAT * workspace);
27 EXTERN(void) jsimd_fdct_float (FAST_FLOAT * data);
34 EXTERN(void) jsimd_quantize_float (JCOEFPTR coef_block, FAST_FLOAT * divisors,
35 FAST_FLOAT * workspace);
Djsimd_none.c238 FAST_FLOAT * workspace) in jsimd_convsamp_float()
271 jsimd_fdct_float (FAST_FLOAT * data) in jsimd_fdct_float()
294 jsimd_quantize_float (JCOEFPTR coef_block, FAST_FLOAT * divisors, in jsimd_quantize_float()
295 FAST_FLOAT * workspace) in jsimd_quantize_float()
Djmorecfg.h394 #ifndef FAST_FLOAT
395 #define FAST_FLOAT float macro
Djdct.h73 typedef FAST_FLOAT FLOAT_MULT_TYPE; /* preferred floating type */
94 EXTERN(void) jpeg_fdct_float (FAST_FLOAT * data);
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jcdctmgr.c37 FAST_FLOAT * float_divisors[NUM_QUANT_TBLS];
138 FAST_FLOAT * fdtbl; in start_pass_fdctmgr()
146 fdct->float_divisors[qtblno] = (FAST_FLOAT *) in start_pass_fdctmgr()
148 DCTSIZE2 * SIZEOF(FAST_FLOAT)); in start_pass_fdctmgr()
154 fdtbl[i] = (FAST_FLOAT) in start_pass_fdctmgr()
279 FAST_FLOAT * divisors = fdct->float_divisors[compptr->quant_tbl_no]; in forward_DCT_float()
280 FAST_FLOAT workspace[DCTSIZE2]; /* work area for FDCT subroutine */ in forward_DCT_float()
287 { register FAST_FLOAT *workspaceptr; in forward_DCT_float()
295 *workspaceptr++ = (FAST_FLOAT)(GETJSAMPLE(*elemptr++) - CENTERJSAMPLE); in forward_DCT_float()
296 *workspaceptr++ = (FAST_FLOAT)(GETJSAMPLE(*elemptr++) - CENTERJSAMPLE); in forward_DCT_float()
[all …]
Djmorecfg.h368 #ifndef FAST_FLOAT
370 #define FAST_FLOAT float macro
372 #define FAST_FLOAT double macro
Djdct.h36 typedef JMETHOD(void, float_DCT_method_ptr, (FAST_FLOAT * data));
64 typedef FAST_FLOAT FLOAT_MULT_TYPE; /* preferred floating type */
99 EXTERN(void) jpeg_fdct_float JPP((FAST_FLOAT * data));
/external/libjpeg-turbo/simd/
Djsimd_x86_64.c482 if (sizeof(FAST_FLOAT) != 4) in jsimd_can_convsamp_float()
497 FAST_FLOAT * workspace) in jsimd_convsamp_float()
538 if (sizeof(FAST_FLOAT) != 4) in jsimd_can_fdct_float()
560 jsimd_fdct_float (FAST_FLOAT * data) in jsimd_fdct_float()
587 if (sizeof(FAST_FLOAT) != 4) in jsimd_can_quantize_float()
601 jsimd_quantize_float (JCOEFPTR coef_block, FAST_FLOAT * divisors, in jsimd_quantize_float()
602 FAST_FLOAT * workspace) in jsimd_quantize_float()
720 if (sizeof(FAST_FLOAT) != 4) in jsimd_can_idct_float()
Djquantf-sse2-64.asm31 ; FAST_FLOAT * workspace);
36 ; r12 = FAST_FLOAT * workspace
104 ; jsimd_quantize_float_sse2 (JCOEFPTR coef_block, FAST_FLOAT * divisors,
105 ; FAST_FLOAT * workspace);
109 ; r11 = FAST_FLOAT * divisors
110 ; r12 = FAST_FLOAT * workspace
Djquantf-sse2.asm30 ; FAST_FLOAT * workspace);
35 %define workspace ebp+16 ; FAST_FLOAT * workspace
109 ; jsimd_quantize_float_sse2 (JCOEFPTR coef_block, FAST_FLOAT * divisors,
110 ; FAST_FLOAT * workspace);
114 %define divisors ebp+12 ; FAST_FLOAT * divisors
115 %define workspace ebp+16 ; FAST_FLOAT * workspace
Djquant-sse.asm30 ; FAST_FLOAT * workspace);
35 %define workspace ebp+16 ; FAST_FLOAT * workspace
132 ; jsimd_quantize_float_sse (JCOEFPTR coef_block, FAST_FLOAT * divisors,
133 ; FAST_FLOAT * workspace);
137 %define divisors ebp+12 ; FAST_FLOAT * divisors
138 %define workspace ebp+16 ; FAST_FLOAT * workspace
Djsimd.h528 (JSAMPARRAY sample_data, JDIMENSION start_col, FAST_FLOAT * workspace);
531 (JSAMPARRAY sample_data, JDIMENSION start_col, FAST_FLOAT * workspace);
534 (JSAMPARRAY sample_data, JDIMENSION start_col, FAST_FLOAT * workspace);
537 (JSAMPARRAY sample_data, JDIMENSION start_col, FAST_FLOAT * workspace);
558 EXTERN(void) jsimd_fdct_float_3dnow (FAST_FLOAT * data);
561 EXTERN(void) jsimd_fdct_float_sse (FAST_FLOAT * data);
578 (JCOEFPTR coef_block, FAST_FLOAT * divisors, FAST_FLOAT * workspace);
581 (JCOEFPTR coef_block, FAST_FLOAT * divisors, FAST_FLOAT * workspace);
584 (JCOEFPTR coef_block, FAST_FLOAT * divisors, FAST_FLOAT * workspace);
587 (JCOEFPTR coef_block, FAST_FLOAT * divisors, FAST_FLOAT * workspace);
Djquant-3dn.asm30 ; FAST_FLOAT * workspace);
35 %define workspace ebp+16 ; FAST_FLOAT * workspace
132 ; jsimd_quantize_float_3dnow (JCOEFPTR coef_block, FAST_FLOAT * divisors,
133 ; FAST_FLOAT * workspace);
137 %define divisors ebp+12 ; FAST_FLOAT * divisors
138 %define workspace ebp+16 ; FAST_FLOAT * workspace
Djsimd_arm64.c326 FAST_FLOAT * workspace) in jsimd_convsamp_float()
365 jsimd_fdct_float (FAST_FLOAT * data) in jsimd_fdct_float()
392 jsimd_quantize_float (JCOEFPTR coef_block, FAST_FLOAT * divisors, in jsimd_quantize_float()
393 FAST_FLOAT * workspace) in jsimd_quantize_float()
Djsimd_i386.c681 if (sizeof(FAST_FLOAT) != 4) in jsimd_can_convsamp_float()
706 FAST_FLOAT * workspace) in jsimd_convsamp_float()
762 if (sizeof(FAST_FLOAT) != 4) in jsimd_can_fdct_float()
792 jsimd_fdct_float (FAST_FLOAT * data) in jsimd_fdct_float()
831 if (sizeof(FAST_FLOAT) != 4) in jsimd_can_quantize_float()
855 jsimd_quantize_float (JCOEFPTR coef_block, FAST_FLOAT * divisors, in jsimd_quantize_float()
856 FAST_FLOAT * workspace) in jsimd_quantize_float()
1005 if (sizeof(FAST_FLOAT) != 4) in jsimd_can_idct_float()
Djsimd_arm.c466 FAST_FLOAT * workspace) in jsimd_convsamp_float()
516 jsimd_fdct_float (FAST_FLOAT * data) in jsimd_fdct_float()
556 jsimd_quantize_float (JCOEFPTR coef_block, FAST_FLOAT * divisors, in jsimd_quantize_float()
557 FAST_FLOAT * workspace) in jsimd_quantize_float()
Djsimd_mips.c730 FAST_FLOAT * workspace) in jsimd_convsamp_float()
793 jsimd_fdct_float (FAST_FLOAT * data) in jsimd_fdct_float()
848 jsimd_quantize_float (JCOEFPTR coef_block, FAST_FLOAT * divisors, in jsimd_quantize_float()
849 FAST_FLOAT * workspace) in jsimd_quantize_float()