Home | History | Annotate | Download | only in libjpeg_turbo

Lines Matching refs:DCTELEM

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;
173 DCTELEM tmp10, tmp11, tmp12, tmp13;
174 DCTELEM z5, z10, z11, z12, z13;
315 tmp10 = ((DCTELEM) wsptr[0] + (DCTELEM) wsptr[4]);
316 tmp11 = ((DCTELEM) wsptr[0] - (DCTELEM) wsptr[4]);
318 tmp13 = ((DCTELEM) wsptr[2] + (DCTELEM) wsptr[6]);
319 tmp12 = MULTIPLY((DCTELEM) wsptr[2] - (DCTELEM) wsptr[6], FIX_1_414213562)
329 z13 = (DCTELEM) wsptr[5] + (DCTELEM) wsptr[3];
330 z10 = (DCTELEM) wsptr[5] - (DCTELEM) wsptr[3];
331 z11 = (DCTELEM) wsptr[1] + (DCTELEM) wsptr[7];
332 z12 = (DCTELEM) wsptr[1] - (DCTELEM) wsptr[7];