/external/opencv3/3rdparty/libjpeg/ |
D | jfdctint.c | 158 jpeg_fdct_islow (DCTELEM * data, JSAMPARRAY sample_data, JDIMENSION start_col) 163 DCTELEM *dataptr; 196 dataptr[0] = (DCTELEM) ((tmp10 + tmp11 - 8 * CENTERJSAMPLE) << PASS1_BITS); 197 dataptr[4] = (DCTELEM) ((tmp10 - tmp11) << PASS1_BITS); 202 dataptr[2] = (DCTELEM) RIGHT_SHIFT(z1 + MULTIPLY(tmp12, FIX_0_765366865), 204 dataptr[6] = (DCTELEM) RIGHT_SHIFT(z1 - MULTIPLY(tmp13, FIX_1_847759065), 232 dataptr[1] = (DCTELEM) 234 dataptr[3] = (DCTELEM) 236 dataptr[5] = (DCTELEM) 238 dataptr[7] = (DCTELEM) [all …]
|
D | jdct.h | 35 typedef int DCTELEM; /* 16 or 32 bits is fine */ typedef 37 typedef INT32 DCTELEM; /* must have 32 bits */ typedef 40 typedef JMETHOD(void, forward_DCT_method_ptr, (DCTELEM * data, 166 JPP((DCTELEM * data, JSAMPARRAY sample_data, JDIMENSION start_col)); 168 JPP((DCTELEM * data, JSAMPARRAY sample_data, JDIMENSION start_col)); 172 JPP((DCTELEM * data, JSAMPARRAY sample_data, JDIMENSION start_col)); 174 JPP((DCTELEM * data, JSAMPARRAY sample_data, JDIMENSION start_col)); 176 JPP((DCTELEM * data, JSAMPARRAY sample_data, JDIMENSION start_col)); 178 JPP((DCTELEM * data, JSAMPARRAY sample_data, JDIMENSION start_col)); 180 JPP((DCTELEM * data, JSAMPARRAY sample_data, JDIMENSION start_col)); [all …]
|
D | jidctfst.c | 119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) 141 #define ISHIFT_TEMPS DCTELEM ishift_temp; 149 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \ 172 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; 173 DCTELEM tmp10, tmp11, tmp12, tmp13; 174 DCTELEM z5, z10, z11, z12, z13; 315 tmp10 = ((DCTELEM) wsptr[0] + (DCTELEM) wsptr[4]); 316 tmp11 = ((DCTELEM) wsptr[0] - (DCTELEM) wsptr[4]); 318 tmp13 = ((DCTELEM) wsptr[2] + (DCTELEM) wsptr[6]); 319 tmp12 = MULTIPLY((DCTELEM) wsptr[2] - (DCTELEM) wsptr[6], FIX_1_414213562) [all …]
|
D | jcdctmgr.c | 32 DCTELEM * divisors[NUM_QUANT_TBLS]; 74 DCTELEM * divisors = fdct->divisors[compptr->quant_tbl_no]; in forward_DCT() 75 DCTELEM workspace[DCTSIZE2]; /* work area for FDCT subroutine */ in forward_DCT() 85 { register DCTELEM temp, qval; in forward_DCT() 187 DCTELEM * dtbl; in start_pass_fdctmgr() 364 fdct->divisors[qtblno] = (DCTELEM *) in start_pass_fdctmgr() 366 DCTSIZE2 * SIZEOF(DCTELEM)); in start_pass_fdctmgr() 370 dtbl[i] = ((DCTELEM) qtbl->quantval[i]) << 3; in start_pass_fdctmgr() 399 fdct->divisors[qtblno] = (DCTELEM *) in start_pass_fdctmgr() 401 DCTSIZE2 * SIZEOF(DCTELEM)); in start_pass_fdctmgr() [all …]
|
D | jfdctfst.c | 107 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) 115 jpeg_fdct_ifast (DCTELEM * data, JSAMPARRAY sample_data, JDIMENSION start_col) 117 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; 118 DCTELEM tmp10, tmp11, tmp12, tmp13; 119 DCTELEM z1, z2, z3, z4, z5, z11, z13; 120 DCTELEM *dataptr;
|
/external/libjpeg-turbo/ |
D | jcdctmgr.c | 27 typedef void (*forward_DCT_method_ptr) (DCTELEM * data); 32 DCTELEM * workspace); 37 typedef void (*quantize_method_ptr) (JCOEFPTR coef_block, DCTELEM * divisors, 38 DCTELEM * workspace); 43 METHODDEF(void) quantize (JCOEFPTR, DCTELEM *, DCTELEM *); 57 DCTELEM * divisors[NUM_QUANT_TBLS]; 60 DCTELEM * workspace; 172 compute_reciprocal (UINT16 divisor, DCTELEM * dtbl) in compute_reciprocal() 184 dtbl[DCTSIZE2 * 0] = (DCTELEM) 1; /* reciprocal */ in compute_reciprocal() 185 dtbl[DCTSIZE2 * 1] = (DCTELEM) 0; /* correction */ in compute_reciprocal() [all …]
|
D | jidctfst.c | 119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) 141 #define ISHIFT_TEMPS DCTELEM ishift_temp; 149 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \ 172 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; 173 DCTELEM tmp10, tmp11, tmp12, tmp13; 174 DCTELEM z5, z10, z11, z12, z13; 315 tmp10 = ((DCTELEM) wsptr[0] + (DCTELEM) wsptr[4]); 316 tmp11 = ((DCTELEM) wsptr[0] - (DCTELEM) wsptr[4]); 318 tmp13 = ((DCTELEM) wsptr[2] + (DCTELEM) wsptr[6]); 319 tmp12 = MULTIPLY((DCTELEM) wsptr[2] - (DCTELEM) wsptr[6], FIX_1_414213562) [all …]
|
D | jfdctint.c | 142 jpeg_fdct_islow (DCTELEM * data) 147 DCTELEM *dataptr; 175 dataptr[0] = (DCTELEM) LEFT_SHIFT(tmp10 + tmp11, PASS1_BITS); 176 dataptr[4] = (DCTELEM) LEFT_SHIFT(tmp10 - tmp11, PASS1_BITS); 179 dataptr[2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865), 181 dataptr[6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065), 207 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS); 208 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS); 209 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS); 210 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS); [all …]
|
D | jsimddct.h | 16 DCTELEM * workspace); 25 EXTERN(void) jsimd_fdct_islow (DCTELEM * data); 26 EXTERN(void) jsimd_fdct_ifast (DCTELEM * data); 32 EXTERN(void) jsimd_quantize (JCOEFPTR coef_block, DCTELEM * divisors, 33 DCTELEM * workspace);
|
D | jfdctfst.c | 106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) 114 jpeg_fdct_ifast (DCTELEM * data) 116 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; 117 DCTELEM tmp10, tmp11, tmp12, tmp13; 118 DCTELEM z1, z2, z3, z4, z5, z11, z13; 119 DCTELEM *dataptr;
|
D | jdct.h | 34 typedef int DCTELEM; /* 16 or 32 bits is fine */ typedef 38 typedef short DCTELEM; /* prefer 16 bit with SIMD for parellelism */ typedef 43 typedef INT32 DCTELEM; /* must have 32 bits */ typedef 92 EXTERN(void) jpeg_fdct_islow (DCTELEM * data); 93 EXTERN(void) jpeg_fdct_ifast (DCTELEM * data);
|
D | jsimd_none.c | 232 DCTELEM * workspace) in jsimd_convsamp() 261 jsimd_fdct_islow (DCTELEM * data) in jsimd_fdct_islow() 266 jsimd_fdct_ifast (DCTELEM * data) in jsimd_fdct_ifast() 288 jsimd_quantize (JCOEFPTR coef_block, DCTELEM * divisors, in jsimd_quantize() 289 DCTELEM * workspace) in jsimd_quantize()
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jidctfst.c | 119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) 141 #define ISHIFT_TEMPS DCTELEM ishift_temp; 149 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \ 172 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; 173 DCTELEM tmp10, tmp11, tmp12, tmp13; 174 DCTELEM z5, z10, z11, z12, z13; 315 tmp10 = ((DCTELEM) wsptr[0] + (DCTELEM) wsptr[4]); 316 tmp11 = ((DCTELEM) wsptr[0] - (DCTELEM) wsptr[4]); 318 tmp13 = ((DCTELEM) wsptr[2] + (DCTELEM) wsptr[6]); 319 tmp12 = MULTIPLY((DCTELEM) wsptr[2] - (DCTELEM) wsptr[6], FIX_1_414213562) [all …]
|
D | fpdfapi_jfdctint.c | 140 jpeg_fdct_islow (DCTELEM * data) 145 DCTELEM *dataptr; 173 dataptr[0] = (DCTELEM) ((tmp10 + tmp11) << PASS1_BITS); 174 dataptr[4] = (DCTELEM) ((tmp10 - tmp11) << PASS1_BITS); 177 dataptr[2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865), 179 dataptr[6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065), 205 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS); 206 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS); 207 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS); 208 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS); [all …]
|
D | fpdfapi_jcdctmgr.c | 32 DCTELEM * divisors[NUM_QUANT_TBLS]; 60 DCTELEM * dtbl; in start_pass_fdctmgr() 79 fdct->divisors[qtblno] = (DCTELEM *) in start_pass_fdctmgr() 81 DCTSIZE2 * SIZEOF(DCTELEM)); in start_pass_fdctmgr() 85 dtbl[i] = ((DCTELEM) qtbl->quantval[i]) << 3; in start_pass_fdctmgr() 113 fdct->divisors[qtblno] = (DCTELEM *) in start_pass_fdctmgr() 115 DCTSIZE2 * SIZEOF(DCTELEM)); in start_pass_fdctmgr() 119 dtbl[i] = (DCTELEM) in start_pass_fdctmgr() 189 DCTELEM * divisors = fdct->divisors[compptr->quant_tbl_no]; in forward_DCT() 190 DCTELEM workspace[DCTSIZE2]; /* work area for FDCT subroutine */ in forward_DCT() [all …]
|
D | jdct.h | 30 typedef int DCTELEM; /* 16 or 32 bits is fine */ typedef 32 typedef INT32 DCTELEM; /* must have 32 bits */ typedef 35 typedef JMETHOD(void, forward_DCT_method_ptr, (DCTELEM * data)); 97 EXTERN(void) jpeg_fdct_islow JPP((DCTELEM * data)); 98 EXTERN(void) jpeg_fdct_ifast JPP((DCTELEM * data));
|
D | fpdfapi_jfdctfst.c | 106 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) 114 jpeg_fdct_ifast (DCTELEM * data) 116 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; 117 DCTELEM tmp10, tmp11, tmp12, tmp13; 118 DCTELEM z1, z2, z3, z4, z5, z11, z13; 119 DCTELEM *dataptr;
|
/external/libjpeg-turbo/simd/ |
D | jsimd.h | 515 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM * workspace); 518 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM * workspace); 521 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM * workspace); 524 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM * workspace); 540 EXTERN(void) jsimd_fdct_islow_mmx (DCTELEM * data); 543 EXTERN(void) jsimd_fdct_islow_sse2 (DCTELEM * data); 545 EXTERN(void) jsimd_fdct_islow_mips_dspr2 (DCTELEM * data); 548 EXTERN(void) jsimd_fdct_ifast_mmx (DCTELEM * data); 551 EXTERN(void) jsimd_fdct_ifast_sse2 (DCTELEM * data); 553 EXTERN(void) jsimd_fdct_ifast_neon (DCTELEM * data); [all …]
|
D | jsimd_x86_64.c | 466 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp() 490 DCTELEM * workspace) in jsimd_convsamp() 508 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow() 523 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast() 548 jsimd_fdct_islow (DCTELEM * data) in jsimd_fdct_islow() 554 jsimd_fdct_ifast (DCTELEM * data) in jsimd_fdct_ifast() 573 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize() 594 jsimd_quantize (JCOEFPTR coef_block, DCTELEM * divisors, in jsimd_quantize() 595 DCTELEM * workspace) in jsimd_quantize()
|
D | jsimd_arm.c | 439 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp() 458 DCTELEM * workspace) in jsimd_convsamp() 486 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast() 504 jsimd_fdct_islow (DCTELEM * data) in jsimd_fdct_islow() 509 jsimd_fdct_ifast (DCTELEM * data) in jsimd_fdct_ifast() 530 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize() 548 jsimd_quantize (JCOEFPTR coef_block, DCTELEM * divisors, in jsimd_quantize() 549 DCTELEM * workspace) in jsimd_quantize()
|
D | jsimd_mips.c | 688 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp() 722 DCTELEM * workspace) in jsimd_convsamp() 744 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow() 761 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast() 779 jsimd_fdct_islow (DCTELEM * data) in jsimd_fdct_islow() 786 jsimd_fdct_ifast (DCTELEM * data) in jsimd_fdct_ifast() 807 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize() 840 jsimd_quantize (JCOEFPTR coef_block, DCTELEM * divisors, in jsimd_quantize() 841 DCTELEM * workspace) in jsimd_quantize() 1091 DCTELEM workspace[DCTSIZE2]; /* buffers data between passes */ in jsimd_idct_ifast()
|
D | jsimd_arm64.c | 320 DCTELEM * workspace) in jsimd_convsamp() 355 jsimd_fdct_islow (DCTELEM * data) in jsimd_fdct_islow() 360 jsimd_fdct_ifast (DCTELEM * data) in jsimd_fdct_ifast() 386 jsimd_quantize (JCOEFPTR coef_block, DCTELEM * divisors, in jsimd_quantize() 387 DCTELEM * workspace) in jsimd_quantize()
|
D | jsimdcfg.inc | 68 ; A forward DCT routine is given a pointer to a work area of type DCTELEM[]; 70 ; To maximize parallelism, Type DCTELEM is changed to short (originally, int). 72 %define DCTELEM word ; short 73 %define SIZEOF_DCTELEM SIZEOF_WORD ; sizeof(DCTELEM)
|
D | jsimd_i386.c | 658 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp() 696 DCTELEM * workspace) in jsimd_convsamp() 724 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow() 743 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast() 774 jsimd_fdct_islow (DCTELEM * data) in jsimd_fdct_islow() 783 jsimd_fdct_ifast (DCTELEM * data) in jsimd_fdct_ifast() 810 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize() 845 jsimd_quantize (JCOEFPTR coef_block, DCTELEM * divisors, in jsimd_quantize() 846 DCTELEM * workspace) in jsimd_quantize()
|
/external/libjpeg-turbo/win/ |
D | jsimdcfg.inc | 68 ; A forward DCT routine is given a pointer to a work area of type DCTELEM[]; 70 ; To maximize parallelism, Type DCTELEM is changed to short (originally, int). 72 %define DCTELEM word ; short 73 %define SIZEOF_DCTELEM SIZEOF_WORD ; sizeof(DCTELEM)
|