Lines Matching refs:DCTELEM
28 typedef void (*forward_DCT_method_ptr) (DCTELEM *data);
33 DCTELEM *workspace);
38 typedef void (*quantize_method_ptr) (JCOEFPTR coef_block, DCTELEM *divisors,
39 DCTELEM *workspace);
44 METHODDEF(void) quantize(JCOEFPTR, DCTELEM *, DCTELEM *);
58 DCTELEM *divisors[NUM_QUANT_TBLS];
61 DCTELEM *workspace;
173 compute_reciprocal(UINT16 divisor, DCTELEM *dtbl) in compute_reciprocal()
185 dtbl[DCTSIZE2 * 0] = (DCTELEM)1; /* reciprocal */ in compute_reciprocal()
186 dtbl[DCTSIZE2 * 1] = (DCTELEM)0; /* correction */ in compute_reciprocal()
187 dtbl[DCTSIZE2 * 2] = (DCTELEM)1; /* scale */ in compute_reciprocal()
188 dtbl[DCTSIZE2 * 3] = -(DCTELEM)(sizeof(DCTELEM) * 8); /* shift */ in compute_reciprocal()
193 r = sizeof(DCTELEM) * 8 + b; in compute_reciprocal()
210 dtbl[DCTSIZE2 * 0] = (DCTELEM)fq; /* reciprocal */ in compute_reciprocal()
211 dtbl[DCTSIZE2 * 1] = (DCTELEM)c; /* correction + roundfactor */ in compute_reciprocal()
213 dtbl[DCTSIZE2 * 2] = (DCTELEM)(1 << (sizeof(DCTELEM) * 8 * 2 - r)); /* scale */ in compute_reciprocal()
217 dtbl[DCTSIZE2 * 3] = (DCTELEM)r - sizeof(DCTELEM) * 8; /* shift */ in compute_reciprocal()
242 DCTELEM *dtbl; in start_pass_fdctmgr()
261 fdct->divisors[qtblno] = (DCTELEM *) in start_pass_fdctmgr()
263 (DCTSIZE2 * 4) * sizeof(DCTELEM)); in start_pass_fdctmgr()
272 dtbl[i] = ((DCTELEM)qtbl->quantval[i]) << 3; in start_pass_fdctmgr()
301 fdct->divisors[qtblno] = (DCTELEM *) in start_pass_fdctmgr()
303 (DCTSIZE2 * 4) * sizeof(DCTELEM)); in start_pass_fdctmgr()
315 dtbl[i] = (DCTELEM) in start_pass_fdctmgr()
373 convsamp(JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM *workspace) in convsamp()
375 register DCTELEM *workspaceptr; in convsamp()
408 quantize(JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in quantize()
411 DCTELEM temp; in quantize()
429 product >>= shift + sizeof(DCTELEM) * 8; in quantize()
430 temp = (DCTELEM)product; in quantize()
434 product >>= shift + sizeof(DCTELEM) * 8; in quantize()
435 temp = (DCTELEM)product; in quantize()
442 register DCTELEM qval; in quantize()
497 DCTELEM *divisors = fdct->divisors[compptr->quant_tbl_no]; in forward_DCT()
498 DCTELEM *workspace; in forward_DCT()
710 fdct->workspace = (DCTELEM *) in jinit_forward_dct()
712 sizeof(DCTELEM) * DCTSIZE2); in jinit_forward_dct()