Lines Matching refs:DCTELEM
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;
174 DCTELEM tmp10, tmp11, tmp12, tmp13;
175 DCTELEM z5, z10, z11, z12, z13;
316 tmp10 = ((DCTELEM) wsptr[0] + (DCTELEM) wsptr[4]);
317 tmp11 = ((DCTELEM) wsptr[0] - (DCTELEM) wsptr[4]);
319 tmp13 = ((DCTELEM) wsptr[2] + (DCTELEM) wsptr[6]);
320 tmp12 = MULTIPLY((DCTELEM) wsptr[2] - (DCTELEM) wsptr[6], FIX_1_414213562)
330 z13 = (DCTELEM) wsptr[5] + (DCTELEM) wsptr[3];
331 z10 = (DCTELEM) wsptr[5] - (DCTELEM) wsptr[3];
332 z11 = (DCTELEM) wsptr[1] + (DCTELEM) wsptr[7];
333 z12 = (DCTELEM) wsptr[1] - (DCTELEM) wsptr[7];