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

/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djfdctint.c144 jpeg_fdct_islow (DCTELEM * data)
149 DCTELEM *dataptr;
177 dataptr[0] = (DCTELEM) ((tmp10 + tmp11) << PASS1_BITS);
178 dataptr[4] = (DCTELEM) ((tmp10 - tmp11) << PASS1_BITS);
181 dataptr[2] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp13, FIX_0_765366865),
183 dataptr[6] = (DCTELEM) DESCALE(z1 + MULTIPLY(tmp12, - FIX_1_847759065),
209 dataptr[7] = (DCTELEM) DESCALE(tmp4 + z1 + z3, CONST_BITS-PASS1_BITS);
210 dataptr[5] = (DCTELEM) DESCALE(tmp5 + z2 + z4, CONST_BITS-PASS1_BITS);
211 dataptr[3] = (DCTELEM) DESCALE(tmp6 + z2 + z3, CONST_BITS-PASS1_BITS);
212 dataptr[1] = (DCTELEM) DESCAL
[all...]
H A Djidctfst.c119 /* Multiply a DCTELEM variable by an INT32 constant, and immediately
120 * descale to yield a DCTELEM result.
123 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
127 * entry; produce a DCTELEM result. For 8-bit data a 16x16->16
140 /* Like DESCALE, but applies to a DCTELEM and produces an int.
145 #define ISHIFT_TEMPS DCTELEM ishift_temp;
147 #define DCTELEMBITS 16 /* DCTELEM may be 16 or 32 bits */
149 #define DCTELEMBITS 32 /* DCTELEM must be 32 bits */
153 (ishift_temp >> (shft)) | ((~((DCTELEM) 0)) << (DCTELEMBITS-(shft))) : \
176 DCTELEM tmp
[all...]
H A Djdct.h21 * A forward DCT routine is given a pointer to a work area of type DCTELEM[];
22 * the DCT is to be performed in-place in that buffer. Type DCTELEM is int
34 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.c106 /* Multiply a DCTELEM variable by an INT32 constant, and immediately
107 * descale to yield a DCTELEM result.
110 #define MULTIPLY(var,const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
118 jpeg_fdct_ifast (DCTELEM * data)
120 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7;
121 DCTELEM tmp10, tmp11, tmp12, tmp13;
122 DCTELEM z1, z2, z3, z4, z5, z11, z13;
123 DCTELEM *dataptr;
H A Djcdctmgr.c36 DCTELEM * divisors[NUM_QUANT_TBLS];
64 DCTELEM * dtbl;
83 fdct->divisors[qtblno] = (DCTELEM *)
85 DCTSIZE2 * SIZEOF(DCTELEM));
89 dtbl[i] = ((DCTELEM) qtbl->quantval[i]) << 3;
117 fdct->divisors[qtblno] = (DCTELEM *)
119 DCTSIZE2 * SIZEOF(DCTELEM));
123 dtbl[i] = (DCTELEM)
193 DCTELEM * divisors = fdct->divisors[compptr->quant_tbl_no];
194 DCTELEM workspac
[all...]

Completed in 32 milliseconds