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

/external/jpeg/
H A Dmips_jidctfst.c117 /* 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 * wspt
[all...]
H A Djfdctint.c140 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) DESCAL
[all...]
H A Djidctfst.c115 /* 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 tmp
[all...]
H A Djdct.h17 * 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 */ typedef
33 typedef int DCTELEM; /* 16 or 32 bits is fine */ typedef
36 typedef INT32 DCTELEM; /* must have 32 bits */ typedef
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));
H A Djfdctfst.c102 /* 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;
H A Djcdctmgr.c32 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 workspac
[all...]
H A Dmips_idct_le.S48 # DCTELEM * wsptr, const int * mips_idct_coefs);
287 # void mips_idct_rows(DCTELEM * wsptr, JSAMPARRAY output_buf,
/external/pdfium/core/src/fxcodec/libjpeg/
H A Dfpdfapi_jfdctint.c141 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) DESCAL
[all...]
H A Dfpdfapi_jidctfst.c116 /* 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 tmp
[all...]
H A Djdct.h17 * 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 */ typedef
32 typedef INT32 DCTELEM; /* must have 32 bits */ typedef
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));
H A Dfpdfapi_jfdctfst.c103 /* 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;
H A Dfpdfapi_jcdctmgr.c33 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 workspac
[all...]

Completed in 359 milliseconds