/external/libjpeg-turbo/ |
D | jcdctmgr.c | 28 typedef void (*forward_DCT_method_ptr) (DCTELEM *data); 33 DCTELEM *workspace); 38 typedef void (*quantize_method_ptr) (JCOEFPTR coef_block, DCTELEM *divisors, 39 DCTELEM *workspace); 44 METHODDEF(void) quantize (JCOEFPTR, DCTELEM *, DCTELEM *); 58 DCTELEM *divisors[NUM_QUANT_TBLS]; 61 DCTELEM *workspace; 173 compute_reciprocal (UINT16 divisor, DCTELEM *dtbl) in compute_reciprocal() 185 dtbl[DCTSIZE2 * 0] = (DCTELEM) 1; /* reciprocal */ in compute_reciprocal() 186 dtbl[DCTSIZE2 * 1] = (DCTELEM) 0; /* correction */ in compute_reciprocal() [all …]
|
D | jidctfst.c | 122 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) 144 #define ISHIFT_TEMPS DCTELEM ishift_temp; 152 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \ 175 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; 176 DCTELEM tmp10, tmp11, tmp12, tmp13; 177 DCTELEM z5, z10, z11, z12, z13; 318 tmp10 = ((DCTELEM) wsptr[0] + (DCTELEM) wsptr[4]); 319 tmp11 = ((DCTELEM) wsptr[0] - (DCTELEM) wsptr[4]); 321 tmp13 = ((DCTELEM) wsptr[2] + (DCTELEM) wsptr[6]); 322 tmp12 = MULTIPLY((DCTELEM) wsptr[2] - (DCTELEM) wsptr[6], FIX_1_414213562) [all …]
|
D | jfdctint.c | 143 jpeg_fdct_islow (DCTELEM *data) 148 DCTELEM *dataptr; 176 dataptr[0] = (DCTELEM) LEFT_SHIFT(tmp10 + tmp11, PASS1_BITS); 177 dataptr[4] = (DCTELEM) LEFT_SHIFT(tmp10 - tmp11, PASS1_BITS); 180 dataptr[2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865), 182 dataptr[6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065), 208 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS); 209 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS); 210 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS); 211 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 | 109 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) 117 jpeg_fdct_ifast (DCTELEM *data) 119 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; 120 DCTELEM tmp10, tmp11, tmp12, tmp13; 121 DCTELEM z1, z2, z3, z4, z5, z11, z13; 122 DCTELEM *dataptr;
|
D | jdct.h | 35 typedef int DCTELEM; /* 16 or 32 bits is fine */ typedef 39 typedef short DCTELEM; /* prefer 16 bit with SIMD for parellelism */ typedef 44 typedef JLONG DCTELEM; /* must have 32 bits */ typedef 93 EXTERN(void) jpeg_fdct_islow (DCTELEM *data); 94 EXTERN(void) jpeg_fdct_ifast (DCTELEM *data);
|
D | jsimd_none.c | 234 DCTELEM *workspace) in jsimd_convsamp() 263 jsimd_fdct_islow (DCTELEM *data) in jsimd_fdct_islow() 268 jsimd_fdct_ifast (DCTELEM *data) in jsimd_fdct_ifast() 290 jsimd_quantize (JCOEFPTR coef_block, DCTELEM *divisors, in jsimd_quantize() 291 DCTELEM *workspace) in jsimd_quantize()
|
/external/libjpeg-turbo/simd/ |
D | jsimd.h | 674 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace); 677 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace); 680 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace); 683 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace); 686 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace); 702 EXTERN(void) jsimd_fdct_islow_mmx (DCTELEM *data); 705 EXTERN(void) jsimd_fdct_islow_sse2 (DCTELEM *data); 707 EXTERN(void) jsimd_fdct_islow_neon (DCTELEM *data); 709 EXTERN(void) jsimd_fdct_islow_mips_dspr2 (DCTELEM *data); 711 EXTERN(void) jsimd_fdct_islow_altivec (DCTELEM *data); [all …]
|
D | jsimd_arm.c | 441 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp() 460 DCTELEM *workspace) in jsimd_convsamp() 487 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast() 505 jsimd_fdct_islow (DCTELEM *data) in jsimd_fdct_islow() 510 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_arm64.c | 502 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp() 521 DCTELEM *workspace) in jsimd_convsamp() 540 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow() 557 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast() 575 jsimd_fdct_islow (DCTELEM *data) in jsimd_fdct_islow() 581 jsimd_fdct_ifast (DCTELEM *data) in jsimd_fdct_ifast() 601 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize() 619 jsimd_quantize (JCOEFPTR coef_block, DCTELEM *divisors, in jsimd_quantize() 620 DCTELEM *workspace) in jsimd_quantize()
|
D | jsimd_powerpc.c | 626 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp() 643 DCTELEM *workspace) in jsimd_convsamp() 662 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow() 679 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast() 695 jsimd_fdct_islow (DCTELEM *data) in jsimd_fdct_islow() 701 jsimd_fdct_ifast (DCTELEM *data) in jsimd_fdct_ifast() 721 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize() 737 jsimd_quantize (JCOEFPTR coef_block, DCTELEM *divisors, in jsimd_quantize() 738 DCTELEM *workspace) in jsimd_quantize()
|
D | jsimd_x86_64.c | 537 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp() 569 DCTELEM *workspace) in jsimd_convsamp() 589 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow() 606 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast() 633 jsimd_fdct_islow (DCTELEM *data) in jsimd_fdct_islow() 639 jsimd_fdct_ifast (DCTELEM *data) in jsimd_fdct_ifast() 660 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize() 689 jsimd_quantize (JCOEFPTR coef_block, DCTELEM *divisors, in jsimd_quantize() 690 DCTELEM *workspace) in jsimd_quantize()
|
D | jsimd_mips.c | 699 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp() 733 DCTELEM *workspace) in jsimd_convsamp() 755 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow() 772 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast() 790 jsimd_fdct_islow (DCTELEM *data) in jsimd_fdct_islow() 797 jsimd_fdct_ifast (DCTELEM *data) in jsimd_fdct_ifast() 818 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize() 851 jsimd_quantize (JCOEFPTR coef_block, DCTELEM *divisors, in jsimd_quantize() 852 DCTELEM *workspace) in jsimd_quantize() 1102 DCTELEM workspace[DCTSIZE2]; /* buffers data between passes */ in jsimd_idct_ifast()
|
D | jsimdcfg.inc.h | 100 ; A forward DCT routine is given a pointer to a work area of type DCTELEM[]; variable 102 ; To maximize parallelism, Type DCTELEM is changed to short (originally, int). 104 %define DCTELEM word ; short 105 %define SIZEOF_DCTELEM SIZEOF_WORD ; sizeof(DCTELEM)
|
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 | 663 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp() 701 DCTELEM *workspace) in jsimd_convsamp() 729 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow() 748 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast() 779 jsimd_fdct_islow (DCTELEM *data) in jsimd_fdct_islow() 788 jsimd_fdct_ifast (DCTELEM *data) in jsimd_fdct_ifast() 815 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize() 850 jsimd_quantize (JCOEFPTR coef_block, DCTELEM *divisors, in jsimd_quantize() 851 DCTELEM *workspace) in jsimd_quantize()
|
D | jquanti-sse2-64.asm | 30 ; DCTELEM *workspace); 35 ; r12 = DCTELEM *workspace
|
D | jquant-mmx.asm | 29 ; DCTELEM *workspace); 34 %define workspace ebp+16 ; DCTELEM *workspace
|
D | jquanti-sse2.asm | 29 ; DCTELEM *workspace); 34 %define workspace ebp+16 ; DCTELEM *workspace
|
D | jquanti-altivec.c | 53 DCTELEM *workspace) in jsimd_convsamp_altivec() 118 jsimd_quantize_altivec (JCOEFPTR coef_block, DCTELEM *divisors, in jsimd_quantize_altivec() 119 DCTELEM *workspace) in jsimd_quantize_altivec()
|
D | jfdctfst-altivec.c | 92 jsimd_fdct_ifast_altivec (DCTELEM *data) in jsimd_fdct_ifast_altivec()
|
D | jquantf-sse2.asm | 54 mov edi, POINTER [workspace] ; (DCTELEM *)
|
/external/skqp/third_party/libjpeg-turbo/ |
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)
|
/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)
|
/external/skia/third_party/libjpeg-turbo/ |
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)
|