Searched refs:dtbl (Results 1 – 4 of 4) sorted by relevance
173 compute_reciprocal(UINT16 divisor, DCTELEM *dtbl) in compute_reciprocal() argument185 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()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()215 dtbl[DCTSIZE2 * 2] = 1; in compute_reciprocal()217 dtbl[DCTSIZE2 * 3] = (DCTELEM)r - sizeof(DCTELEM) * 8; /* shift */ in compute_reciprocal()[all …]
162 d_derived_tbl *dtbl; in jpeg_make_d_derived_tbl() local186 dtbl = *pdtbl; in jpeg_make_d_derived_tbl()187 dtbl->pub = htbl; /* fill in back link */ in jpeg_make_d_derived_tbl()230 dtbl->valoffset[l] = (JLONG)p - (JLONG)huffcode[p]; in jpeg_make_d_derived_tbl()232 dtbl->maxcode[l] = huffcode[p - 1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()234 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()237 dtbl->valoffset[17] = 0; in jpeg_make_d_derived_tbl()238 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl()248 dtbl->lookup[i] = (HUFF_LOOKAHEAD + 1) << HUFF_LOOKAHEAD; in jpeg_make_d_derived_tbl()257 dtbl->lookup[lookbits] = (l << HUFF_LOOKAHEAD) | htbl->huffval[p]; in jpeg_make_d_derived_tbl()
225 c_derived_tbl *dtbl; in jpeg_make_c_derived_tbl() local248 dtbl = *pdtbl; in jpeg_make_c_derived_tbl()290 MEMZERO(dtbl->ehufsi, sizeof(dtbl->ehufsi)); in jpeg_make_c_derived_tbl()301 if (i < 0 || i > maxsymbol || dtbl->ehufsi[i]) in jpeg_make_c_derived_tbl()303 dtbl->ehufco[i] = huffcode[p]; in jpeg_make_c_derived_tbl()304 dtbl->ehufsi[i] = huffsize[p]; in jpeg_make_c_derived_tbl()
13 short dtbl[] = {1,2,3,4,5,6,7,8}; in main() local14 vSInt16 *vdtbl = (vSInt16*) dtbl; in main()