Lines Matching refs:DCTELEM

27 typedef void (*forward_DCT_method_ptr) (DCTELEM * data);
32 DCTELEM * workspace);
37 typedef void (*quantize_method_ptr) (JCOEFPTR coef_block, DCTELEM * divisors,
38 DCTELEM * workspace);
43 METHODDEF(void) quantize (JCOEFPTR, DCTELEM *, DCTELEM *);
57 DCTELEM * divisors[NUM_QUANT_TBLS];
60 DCTELEM * workspace;
172 compute_reciprocal (UINT16 divisor, DCTELEM * dtbl) in compute_reciprocal()
184 dtbl[DCTSIZE2 * 0] = (DCTELEM) 1; /* reciprocal */ in compute_reciprocal()
185 dtbl[DCTSIZE2 * 1] = (DCTELEM) 0; /* correction */ in compute_reciprocal()
186 dtbl[DCTSIZE2 * 2] = (DCTELEM) 1; /* scale */ in compute_reciprocal()
187 dtbl[DCTSIZE2 * 3] = (DCTELEM) (-sizeof(DCTELEM) * 8); /* shift */ in compute_reciprocal()
192 r = sizeof(DCTELEM) * 8 + b; in compute_reciprocal()
209 dtbl[DCTSIZE2 * 0] = (DCTELEM) fq; /* reciprocal */ in compute_reciprocal()
210 dtbl[DCTSIZE2 * 1] = (DCTELEM) c; /* correction + roundfactor */ in compute_reciprocal()
211 dtbl[DCTSIZE2 * 2] = (DCTELEM) (1 << (sizeof(DCTELEM)*8*2 - r)); /* scale */ in compute_reciprocal()
212 dtbl[DCTSIZE2 * 3] = (DCTELEM) r - sizeof(DCTELEM)*8; /* shift */ in compute_reciprocal()
237 DCTELEM * dtbl; in start_pass_fdctmgr()
256 fdct->divisors[qtblno] = (DCTELEM *) in start_pass_fdctmgr()
258 (DCTSIZE2 * 4) * sizeof(DCTELEM)); in start_pass_fdctmgr()
267 dtbl[i] = ((DCTELEM) qtbl->quantval[i]) << 3; in start_pass_fdctmgr()
296 fdct->divisors[qtblno] = (DCTELEM *) in start_pass_fdctmgr()
298 (DCTSIZE2 * 4) * sizeof(DCTELEM)); in start_pass_fdctmgr()
310 dtbl[i] = (DCTELEM) in start_pass_fdctmgr()
368 convsamp (JSAMPARRAY sample_data, JDIMENSION start_col, DCTELEM * workspace) in convsamp()
370 register DCTELEM *workspaceptr; in convsamp()
403 quantize (JCOEFPTR coef_block, DCTELEM * divisors, DCTELEM * workspace) in quantize()
406 DCTELEM temp; in quantize()
424 product >>= shift + sizeof(DCTELEM)*8; in quantize()
429 product >>= shift + sizeof(DCTELEM)*8; in quantize()
437 register DCTELEM qval; in quantize()
493 DCTELEM * divisors = fdct->divisors[compptr->quant_tbl_no]; in forward_DCT()
494 DCTELEM * workspace; in forward_DCT()
705 fdct->workspace = (DCTELEM *) in jinit_forward_dct()
707 sizeof(DCTELEM) * DCTSIZE2); in jinit_forward_dct()