Home
last modified time | relevance | path

Searched refs:DCTELEM (Results 1 - 24 of 24) sorted by relevance

/third_party/skia/third_party/externals/libjpeg-turbo/
H A 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;
125 * into DCTELEM:
173 compute_reciprocal(UINT16 divisor, DCTELEM *dtb
[all...]
H A Djfdctint.c143 jpeg_fdct_islow(DCTELEM *data) in jpeg_fdct_islow()
148 DCTELEM *dataptr; in jpeg_fdct_islow()
176 dataptr[0] = (DCTELEM)LEFT_SHIFT(tmp10 + tmp11, PASS1_BITS); in jpeg_fdct_islow()
177 dataptr[4] = (DCTELEM)LEFT_SHIFT(tmp10 - tmp11, PASS1_BITS); in jpeg_fdct_islow()
180 dataptr[2] = (DCTELEM)DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865), in jpeg_fdct_islow()
182 dataptr[6] = (DCTELEM)DESCALE(z1 + MULTIPLY(tmp12, -FIX_1_847759065), in jpeg_fdct_islow()
208 dataptr[7] = (DCTELEM)DESCALE(tmp4 + z1 + z3, CONST_BITS - PASS1_BITS); in jpeg_fdct_islow()
209 dataptr[5] = (DCTELEM)DESCALE(tmp5 + z2 + z4, CONST_BITS - PASS1_BITS); in jpeg_fdct_islow()
210 dataptr[3] = (DCTELEM)DESCALE(tmp6 + z2 + z3, CONST_BITS - PASS1_BITS); in jpeg_fdct_islow()
211 dataptr[1] = (DCTELEM)DESCAL in jpeg_fdct_islow()
[all...]
H A Djidctfst.c118 /* Multiply a DCTELEM variable by an JLONG constant, and immediately
119 * descale to yield a DCTELEM result.
122 #define MULTIPLY(var, const) ((DCTELEM)DESCALE((var) * (const), CONST_BITS))
126 * entry; produce a DCTELEM result. For 8-bit data a 16x16->16
139 /* Like DESCALE, but applies to a DCTELEM and produces an int.
144 #define ISHIFT_TEMPS DCTELEM ishift_temp;
146 #define DCTELEMBITS 16 /* DCTELEM may be 16 or 32 bits */
148 #define DCTELEMBITS 32 /* DCTELEM must be 32 bits */
152 (ishift_temp >> (shft)) | ((~((DCTELEM)0)) << (DCTELEMBITS - (shft))) : \
175 DCTELEM tmp in jpeg_idct_ifast()
[all...]
H A 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);
H A Djfdctfst.c105 /* Multiply a DCTELEM variable by an JLONG constant, and immediately
106 * descale to yield a DCTELEM result.
109 #define MULTIPLY(var, const) ((DCTELEM)DESCALE((var) * (const), CONST_BITS))
117 jpeg_fdct_ifast(DCTELEM *data) in jpeg_fdct_ifast()
119 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; in jpeg_fdct_ifast()
120 DCTELEM tmp10, tmp11, tmp12, tmp13; in jpeg_fdct_ifast()
121 DCTELEM z1, z2, z3, z4, z5, z11, z13; in jpeg_fdct_ifast()
122 DCTELEM *dataptr; in jpeg_fdct_ifast()
H A Djdct.h20 * A forward DCT routine is given a pointer to a work area of type DCTELEM[];
21 * the DCT is to be performed in-place in that buffer. Type DCTELEM is int
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);
H A Djsimd_none.c235 DCTELEM *workspace) in jsimd_convsamp()
264 jsimd_fdct_islow(DCTELEM *data) in jsimd_fdct_islow()
269 jsimd_fdct_ifast(DCTELEM *data) in jsimd_fdct_ifast()
291 jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in jsimd_quantize()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/
H A Djsimd.h1012 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
1015 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
1018 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
1021 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
1024 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
1027 (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace);
1043 EXTERN(void) jsimd_fdct_islow_mmx(DCTELEM *data);
1046 EXTERN(void) jsimd_fdct_islow_sse2(DCTELEM *data);
1049 EXTERN(void) jsimd_fdct_islow_avx2(DCTELEM *data);
1051 EXTERN(void) jsimd_fdct_islow_neon(DCTELEM *dat
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch32/
H A Djsimd.c646 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp()
663 DCTELEM *workspace) in jsimd_convsamp()
682 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow()
699 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast()
715 jsimd_fdct_islow(DCTELEM *data) in jsimd_fdct_islow()
721 jsimd_fdct_ifast(DCTELEM *data) in jsimd_fdct_ifast()
741 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize()
757 jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in jsimd_quantize()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch64/
H A Djsimd.c714 if (sizeof(DCTELEM) != 2) in jsimd_can_convsamp()
731 DCTELEM *workspace) in jsimd_convsamp()
750 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_islow()
767 if (sizeof(DCTELEM) != 2) in jsimd_can_fdct_ifast()
783 jsimd_fdct_islow(DCTELEM *data) in jsimd_fdct_islow()
789 jsimd_fdct_ifast(DCTELEM *data) in jsimd_fdct_ifast()
809 if (sizeof(DCTELEM) != 2) in jsimd_can_quantize()
825 jsimd_quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in jsimd_quantize()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/nasm/
H A Djsimdcfg.inc.h102 ; A forward DCT routine is given a pointer to a work area of type DCTELEM[]; variable
104 ; To maximize parallelism, Type DCTELEM is changed to short (originally, int).
106 %define DCTELEM word ; short
107 %define SIZEOF_DCTELEM SIZEOF_WORD ; sizeof(DCTELEM)
/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/
H A 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()
H A Djfdctint-avx2.asm254 ; jsimd_fdct_islow_avx2(DCTELEM *data)
257 ; r10 = DCTELEM *data
H A Djfdctfst-sse2.asm71 ; jsimd_fdct_ifast_sse2(DCTELEM *data)
74 ; r10 = DCTELEM *data
94 mov rdx, r10 ; (DCTELEM *)
H A Djfdctint-sse2.asm92 ; jsimd_fdct_islow_sse2(DCTELEM *data)
95 ; r10 = DCTELEM *data
115 mov rdx, r10 ; (DCTELEM *)
/third_party/skia/third_party/externals/libjpeg-turbo/simd/i386/
H A 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()
H A Djfdctint-avx2.asm254 ; jsimd_fdct_islow_avx2(DCTELEM *data)
257 %define data(b) (b) + 8 ; DCTELEM *data
275 mov edx, POINTER [data(ebp)] ; (DCTELEM *)
H A Djfdctfst-mmx.asm71 ; jsimd_fdct_ifast_mmx(DCTELEM *data)
74 %define data(b) (b) + 8 ; DCTELEM *data
101 mov edx, POINTER [data(eax)] ; (DCTELEM *)
242 mov edx, POINTER [data(eax)] ; (DCTELEM *)
H A Djfdctfst-sse2.asm71 ; jsimd_fdct_ifast_sse2(DCTELEM *data)
74 %define data(b) (b) + 8 ; DCTELEM *data
102 mov edx, POINTER [data(eax)] ; (DCTELEM *)
247 ; mov edx, POINTER [data(eax)] ; (DCTELEM *)
H A Djfdctint-mmx.asm92 ; jsimd_fdct_islow_mmx(DCTELEM *data)
95 %define data(b) (b) + 8 ; DCTELEM *data
122 mov edx, POINTER [data(eax)] ; (DCTELEM *)
364 mov edx, POINTER [data(eax)] ; (DCTELEM *)
H A Djfdctint-sse2.asm92 ; jsimd_fdct_islow_sse2(DCTELEM *data)
95 %define data(b) (b) + 8 ; DCTELEM *data
123 mov edx, POINTER [data(eax)] ; (DCTELEM *)
371 ; mov edx, POINTER [data(eax)] ; (DCTELEM *)
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
H A Djquanti-neon.c46 DCTELEM *workspace) in jsimd_convsamp_neon()
94 void jsimd_quantize_neon(JCOEFPTR coef_block, DCTELEM *divisors, in jsimd_quantize_neon()
95 DCTELEM *workspace) in jsimd_quantize_neon()
100 DCTELEM *shift_ptr = divisors + 3 * DCTSIZE2; in jsimd_quantize_neon()
H A Djfdctfst-neon.c61 void jsimd_fdct_ifast_neon(DCTELEM *data) in jsimd_fdct_ifast_neon()
H A Djfdctint-neon.c87 void jsimd_fdct_islow_neon(DCTELEM *data) in jsimd_fdct_islow_neon()

Completed in 17 milliseconds