Home
last modified time | relevance | path

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

12

/external/libjpeg-turbo/
Djcdctmgr.c28 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 …]
Djidctfst.c122 #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 …]
Djfdctint.c143 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 …]
Djsimddct.h16 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);
Djfdctfst.c109 #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;
Djdct.h35 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);
Djsimd_none.c234 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/
Djsimd.h674 (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 …]
Djsimd_arm.c441 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()
Djsimd_arm64.c502 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()
Djsimd_powerpc.c626 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()
Djsimd_x86_64.c537 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()
Djsimd_mips.c699 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()
Djsimdcfg.inc.h100 ; 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)
Djsimdcfg.inc68 ; 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)
Djsimd_i386.c663 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()
Djquanti-sse2-64.asm30 ; DCTELEM *workspace);
35 ; r12 = DCTELEM *workspace
Djquant-mmx.asm29 ; DCTELEM *workspace);
34 %define workspace ebp+16 ; DCTELEM *workspace
Djquanti-sse2.asm29 ; DCTELEM *workspace);
34 %define workspace ebp+16 ; DCTELEM *workspace
Djquanti-altivec.c53 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()
Djfdctfst-altivec.c92 jsimd_fdct_ifast_altivec (DCTELEM *data) in jsimd_fdct_ifast_altivec()
Djquantf-sse2.asm54 mov edi, POINTER [workspace] ; (DCTELEM *)
/external/skqp/third_party/libjpeg-turbo/
Djsimdcfg.inc68 ; 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/
Djsimdcfg.inc68 ; 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/
Djsimdcfg.inc68 ; 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)

12