Home
last modified time | relevance | path

Searched refs:DCTELEM (Results 1 – 25 of 33) 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]);
323 MULTIPLY((DCTELEM)wsptr[2] - (DCTELEM)wsptr[6], FIX_1_414213562) - tmp13;
[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);
24 EXTERN(void) jsimd_fdct_islow(DCTELEM *data);
25 EXTERN(void) jsimd_fdct_ifast(DCTELEM *data);
31 EXTERN(void) jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors,
32 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.c222 DCTELEM *workspace) in jsimd_convsamp()
251 jsimd_fdct_islow(DCTELEM *data) in jsimd_fdct_islow()
256 jsimd_fdct_ifast(DCTELEM *data) in jsimd_fdct_ifast()
278 jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in jsimd_quantize()
/external/libjpeg-turbo/simd/
Djsimd.h855 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
858 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
861 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
864 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
867 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
870 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
886 EXTERN(void) jsimd_fdct_islow_mmx(DCTELEM *data);
889 EXTERN(void) jsimd_fdct_islow_sse2(DCTELEM *data);
892 EXTERN(void) jsimd_fdct_islow_avx2(DCTELEM *data);
894 EXTERN(void) jsimd_fdct_islow_neon(DCTELEM *data);
[all …]
/external/libjpeg-turbo/simd/arm/
Djsimd.c419 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp()
436 DCTELEM *workspace) in jsimd_convsamp()
461 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast()
477 jsimd_fdct_islow(DCTELEM *data) in jsimd_fdct_islow()
482 jsimd_fdct_ifast(DCTELEM *data) in jsimd_fdct_ifast()
502 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize()
518 jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in jsimd_quantize()
/external/libjpeg-turbo/simd/arm64/
Djsimd.c481 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp()
498 DCTELEM *workspace) in jsimd_convsamp()
517 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow()
534 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast()
550 jsimd_fdct_islow(DCTELEM *data) in jsimd_fdct_islow()
556 jsimd_fdct_ifast(DCTELEM *data) in jsimd_fdct_ifast()
576 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize()
592 jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in jsimd_quantize()
/external/libjpeg-turbo/simd/loongson/
Djsimd.c370 DCTELEM *workspace) in jsimd_convsamp()
388 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow()
410 jsimd_fdct_islow(DCTELEM *data) in jsimd_fdct_islow()
416 jsimd_fdct_ifast(DCTELEM *data) in jsimd_fdct_ifast()
435 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize()
451 jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in jsimd_quantize()
Djquanti-mmi.c115 void jsimd_quantize_mmi(JCOEFPTR coef_block, DCTELEM *divisors, in jsimd_quantize_mmi()
116 DCTELEM *workspace) in jsimd_quantize_mmi()
/external/libjpeg-turbo/simd/powerpc/
Djsimd.c620 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp()
637 DCTELEM *workspace) in jsimd_convsamp()
656 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow()
673 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast()
689 jsimd_fdct_islow(DCTELEM *data) in jsimd_fdct_islow()
695 jsimd_fdct_ifast(DCTELEM *data) in jsimd_fdct_ifast()
715 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize()
731 jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in jsimd_quantize()
/external/libjpeg-turbo/simd/x86_64/
Djquanti-avx2.asm31 ; DCTELEM *workspace);
36 ; r12 = DCTELEM *workspace
101 ; jsimd_quantize_avx2(JCOEFPTR coef_block, DCTELEM *divisors,
102 ; DCTELEM *workspace);
113 ; r11 = DCTELEM *divisors
114 ; r12 = DCTELEM *workspace
Djsimd.c653 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp()
687 DCTELEM *workspace) in jsimd_convsamp()
710 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow()
729 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast()
756 jsimd_fdct_islow(DCTELEM *data) in jsimd_fdct_islow()
765 jsimd_fdct_ifast(DCTELEM *data) in jsimd_fdct_ifast()
786 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize()
817 jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in jsimd_quantize()
Djquanti-sse2.asm30 ; DCTELEM *workspace);
35 ; r12 = DCTELEM *workspace
/external/libjpeg-turbo/simd/nasm/
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)
/external/libjpeg-turbo/simd/mips/
Djsimd.c669 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp()
705 DCTELEM *workspace) in jsimd_convsamp()
727 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow()
744 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast()
760 jsimd_fdct_islow(DCTELEM *data) in jsimd_fdct_islow()
766 jsimd_fdct_ifast(DCTELEM *data) in jsimd_fdct_ifast()
786 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize()
821 jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in jsimd_quantize()
1059 DCTELEM workspace[DCTSIZE2]; /* buffers data between passes */ in jsimd_idct_ifast()
/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/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)
/external/libjpeg-turbo/simd/i386/
Djquanti-avx2.asm31 ; DCTELEM *workspace);
36 %define workspace ebp + 16 ; DCTELEM *workspace
52 mov edi, POINTER [workspace] ; (DCTELEM *)
Djsimd.c756 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp()
796 DCTELEM *workspace) in jsimd_convsamp()
826 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow()
847 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast()
878 jsimd_fdct_islow(DCTELEM *data) in jsimd_fdct_islow()
889 jsimd_fdct_ifast(DCTELEM *data) in jsimd_fdct_ifast()
916 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize()
953 jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in jsimd_quantize()
Djquanti-sse2.asm30 ; DCTELEM *workspace);
35 %define workspace ebp + 16 ; DCTELEM *workspace
Djquant-mmx.asm30 ; DCTELEM *workspace);
35 %define workspace ebp + 16 ; DCTELEM *workspace

12