HomeSort by relevance Sort by last modified time
    Searched refs:DCTELEM (Results 1 - 25 of 38) sorted by null

1 2

  /external/jpeg/
mips_jidctfst.c 117 /* Multiply a DCTELEM variable by an INT32 constant, and immediately
118 * descale to yield a DCTELEM result.
121 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
125 * entry; produce a DCTELEM result. For 8-bit data a 16x16->16
138 /* Like DESCALE, but applies to a DCTELEM and produces an int.
143 #define ISHIFT_TEMPS DCTELEM ishift_temp;
145 #define DCTELEMBITS 16 /* DCTELEM may be 16 or 32 bits */
147 #define DCTELEMBITS 32 /* DCTELEM must be 32 bits */
151 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \
175 DCTELEM * wsptr, const int * mips_idct_coefs)
    [all...]
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...]
jidctfst.c 115 /* Multiply a DCTELEM variable by an INT32 constant, and immediately
116 * descale to yield a DCTELEM result.
119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
123 * entry; produce a DCTELEM result. For 8-bit data a 16x16->16
136 /* Like DESCALE, but applies to a DCTELEM and produces an int.
141 #define ISHIFT_TEMPS DCTELEM ishift_temp;
143 #define DCTELEMBITS 16 /* DCTELEM may be 16 or 32 bits */
145 #define DCTELEMBITS 32 /* DCTELEM must be 32 bits */
149 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \
172 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7
    [all...]
jdct.h 17 * A forward DCT routine is given a pointer to a work area of type DCTELEM[];
18 * the DCT is to be performed in-place in that buffer. Type DCTELEM is int
31 typedef short DCTELEM; /* 16 or 32 bits is fine */
33 typedef int DCTELEM; /* 16 or 32 bits is fine */
36 typedef INT32 DCTELEM; /* must have 32 bits */
39 typedef JMETHOD(void, forward_DCT_method_ptr, (DCTELEM * data));
101 EXTERN(void) jpeg_fdct_islow JPP((DCTELEM * data));
102 EXTERN(void) jpeg_fdct_ifast JPP((DCTELEM * data));
jfdctfst.c 102 /* Multiply a DCTELEM variable by an INT32 constant, and immediately
103 * descale to yield a DCTELEM result.
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;
jcdctmgr.c 32 DCTELEM * divisors[NUM_QUANT_TBLS];
60 DCTELEM * dtbl;
79 fdct->divisors[qtblno] = (DCTELEM *)
81 DCTSIZE2 * SIZEOF(DCTELEM));
85 dtbl[i] = ((DCTELEM) qtbl->quantval[i]) << 3;
113 fdct->divisors[qtblno] = (DCTELEM *)
115 DCTSIZE2 * SIZEOF(DCTELEM));
119 dtbl[i] = (DCTELEM)
189 DCTELEM * divisors = fdct->divisors[compptr->quant_tbl_no];
190 DCTELEM workspace[DCTSIZE2]; /* work area for FDCT subroutine *
    [all...]
  /external/chromium_org/third_party/libjpeg_turbo/
jcdctmgr.c 27 typedef JMETHOD(void, forward_DCT_method_ptr, (DCTELEM * data));
32 DCTELEM * workspace));
38 (JCOEFPTR coef_block, DCTELEM * divisors,
39 DCTELEM * workspace));
44 METHODDEF(void) quantize (JCOEFPTR, DCTELEM *, DCTELEM *);
58 DCTELEM * divisors[NUM_QUANT_TBLS];
61 DCTELEM * workspace;
121 * into DCTELEM:
168 compute_reciprocal (UINT16 divisor, DCTELEM * dtbl
    [all...]
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...]
jidctfst.c 115 /* Multiply a DCTELEM variable by an INT32 constant, and immediately
116 * descale to yield a DCTELEM result.
119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
123 * entry; produce a DCTELEM result. For 8-bit data a 16x16->16
136 /* Like DESCALE, but applies to a DCTELEM and produces an int.
141 #define ISHIFT_TEMPS DCTELEM ishift_temp;
143 #define DCTELEMBITS 16 /* DCTELEM may be 16 or 32 bits */
145 #define DCTELEMBITS 32 /* DCTELEM must be 32 bits */
149 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \
172 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7
    [all...]
jsimddct.h 46 DCTELEM * workspace));
55 EXTERN(void) jsimd_fdct_islow JPP((DCTELEM * data));
56 EXTERN(void) jsimd_fdct_ifast JPP((DCTELEM * data));
63 DCTELEM * divisors,
64 DCTELEM * workspace));
jfdctfst.c 102 /* Multiply a DCTELEM variable by an INT32 constant, and immediately
103 * descale to yield a DCTELEM result.
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;
jsimd_none.c 182 DCTELEM * workspace)
211 jsimd_fdct_islow (DCTELEM * data)
216 jsimd_fdct_ifast (DCTELEM * data)
238 jsimd_quantize (JCOEFPTR coef_block, DCTELEM * divisors,
239 DCTELEM * workspace)
jdct.h 17 * A forward DCT routine is given a pointer to a work area of type DCTELEM[];
18 * the DCT is to be performed in-place in that buffer. Type DCTELEM is int
32 typedef int DCTELEM; /* 16 or 32 bits is fine */
36 typedef short DCTELEM; /* prefer 16 bit with SIMD for parellelism */
41 typedef INT32 DCTELEM; /* must have 32 bits */
117 EXTERN(void) jpeg_fdct_islow JPP((DCTELEM * data));
118 EXTERN(void) jpeg_fdct_ifast JPP((DCTELEM * data));
  /external/pdfium/core/src/fxcodec/libjpeg/
fpdfapi_jfdctint.c 141 jpeg_fdct_islow (DCTELEM * data)
146 DCTELEM *dataptr;
174 dataptr[0] = (DCTELEM) ((tmp10 + tmp11) << PASS1_BITS);
175 dataptr[4] = (DCTELEM) ((tmp10 - tmp11) << PASS1_BITS);
178 dataptr[2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865),
180 dataptr[6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065),
206 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS);
207 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS);
208 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS);
209 dataptr[1] = (DCTELEM) DESCALE(tmp7 + z1 + z4, CONST_BITS-PASS1_BITS);
    [all...]
fpdfapi_jidctfst.c 116 /* Multiply a DCTELEM variable by an INT32 constant, and immediately
117 * descale to yield a DCTELEM result.
120 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
124 * entry; produce a DCTELEM result. For 8-bit data a 16x16->16
137 /* Like DESCALE, but applies to a DCTELEM and produces an int.
142 #define ISHIFT_TEMPS DCTELEM ishift_temp;
144 #define DCTELEMBITS 16 /* DCTELEM may be 16 or 32 bits */
146 #define DCTELEMBITS 32 /* DCTELEM must be 32 bits */
150 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \
173 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7;
    [all...]
jdct.h 17 * A forward DCT routine is given a pointer to a work area of type DCTELEM[];
18 * the DCT is to be performed in-place in that buffer. Type DCTELEM is int
30 typedef int DCTELEM; /* 16 or 32 bits is fine */
32 typedef INT32 DCTELEM; /* must have 32 bits */
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));
fpdfapi_jfdctfst.c 103 /* Multiply a DCTELEM variable by an INT32 constant, and immediately
104 * descale to yield a DCTELEM result.
107 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
115 jpeg_fdct_ifast (DCTELEM * data)
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;
fpdfapi_jcdctmgr.c 33 DCTELEM * divisors[NUM_QUANT_TBLS];
61 DCTELEM * dtbl;
80 fdct->divisors[qtblno] = (DCTELEM *)
82 DCTSIZE2 * SIZEOF(DCTELEM));
86 dtbl[i] = ((DCTELEM) qtbl->quantval[i]) << 3;
114 fdct->divisors[qtblno] = (DCTELEM *)
116 DCTSIZE2 * SIZEOF(DCTELEM));
120 dtbl[i] = (DCTELEM)
190 DCTELEM * divisors = fdct->divisors[compptr->quant_tbl_no];
191 DCTELEM workspace[DCTSIZE2]; /* work area for FDCT subroutine */
    [all...]
  /external/qemu/distrib/jpeg-6b/
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...]
jidctfst.c 115 /* Multiply a DCTELEM variable by an INT32 constant, and immediately
116 * descale to yield a DCTELEM result.
119 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
123 * entry; produce a DCTELEM result. For 8-bit data a 16x16->16
136 /* Like DESCALE, but applies to a DCTELEM and produces an int.
141 #define ISHIFT_TEMPS DCTELEM ishift_temp;
143 #define DCTELEMBITS 16 /* DCTELEM may be 16 or 32 bits */
145 #define DCTELEMBITS 32 /* DCTELEM must be 32 bits */
149 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \
172 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7
    [all...]
jdct.h 17 * A forward DCT routine is given a pointer to a work area of type DCTELEM[];
18 * the DCT is to be performed in-place in that buffer. Type DCTELEM is int
30 typedef int DCTELEM; /* 16 or 32 bits is fine */
32 typedef INT32 DCTELEM; /* must have 32 bits */
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));
jfdctfst.c 102 /* Multiply a DCTELEM variable by an INT32 constant, and immediately
103 * descale to yield a DCTELEM result.
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;
jcdctmgr.c 32 DCTELEM * divisors[NUM_QUANT_TBLS];
60 DCTELEM * dtbl;
79 fdct->divisors[qtblno] = (DCTELEM *)
81 DCTSIZE2 * SIZEOF(DCTELEM));
85 dtbl[i] = ((DCTELEM) qtbl->quantval[i]) << 3;
113 fdct->divisors[qtblno] = (DCTELEM *)
115 DCTSIZE2 * SIZEOF(DCTELEM));
119 dtbl[i] = (DCTELEM)
189 DCTELEM * divisors = fdct->divisors[compptr->quant_tbl_no];
190 DCTELEM workspace[DCTSIZE2]; /* work area for FDCT subroutine *
    [all...]
  /external/chromium_org/third_party/libjpeg_turbo/simd/
jsimd_arm.c 416 if (sizeof(DCTELEM) != 2)
435 DCTELEM * workspace)
463 if (sizeof(DCTELEM) != 2)
481 jsimd_fdct_islow (DCTELEM * data)
486 jsimd_fdct_ifast (DCTELEM * data)
507 if (sizeof(DCTELEM) != 2)
525 jsimd_quantize (JCOEFPTR coef_block, DCTELEM * divisors,
526 DCTELEM * workspace)
jsimd_x86_64.c 471 if (sizeof(DCTELEM) != 2)
495 DCTELEM * workspace)
513 if (sizeof(DCTELEM) != 2)
528 if (sizeof(DCTELEM) != 2)
553 jsimd_fdct_islow (DCTELEM * data)
559 jsimd_fdct_ifast (DCTELEM * data)
578 if (sizeof(DCTELEM) != 2)
599 jsimd_quantize (JCOEFPTR coef_block, DCTELEM * divisors,
600 DCTELEM * workspace)

Completed in 431 milliseconds

1 2