Searched refs:dtbl (Results 1 – 7 of 7) sorted by relevance
/external/libjpeg-turbo/ |
D | jcdctmgr.c | 173 compute_reciprocal (UINT16 divisor, DCTELEM *dtbl) in compute_reciprocal() argument 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() 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 …]
|
D | jdhuff.c | 159 d_derived_tbl *dtbl; in jpeg_make_d_derived_tbl() local 183 dtbl = *pdtbl; in jpeg_make_d_derived_tbl() 184 dtbl->pub = htbl; /* fill in back link */ in jpeg_make_d_derived_tbl() 227 dtbl->valoffset[l] = (JLONG) p - (JLONG) huffcode[p]; in jpeg_make_d_derived_tbl() 229 dtbl->maxcode[l] = huffcode[p-1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl() 231 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl() 234 dtbl->valoffset[17] = 0; in jpeg_make_d_derived_tbl() 235 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl() 245 dtbl->lookup[i] = (HUFF_LOOKAHEAD + 1) << HUFF_LOOKAHEAD; in jpeg_make_d_derived_tbl() 254 dtbl->lookup[lookbits] = (l << HUFF_LOOKAHEAD) | htbl->huffval[p]; in jpeg_make_d_derived_tbl()
|
D | jchuff.c | 226 c_derived_tbl *dtbl; in jpeg_make_c_derived_tbl() local 249 dtbl = *pdtbl; in jpeg_make_c_derived_tbl() 291 MEMZERO(dtbl->ehufsi, sizeof(dtbl->ehufsi)); in jpeg_make_c_derived_tbl() 302 if (i < 0 || i > maxsymbol || dtbl->ehufsi[i]) in jpeg_make_c_derived_tbl() 304 dtbl->ehufco[i] = huffcode[p]; in jpeg_make_c_derived_tbl() 305 dtbl->ehufsi[i] = huffsize[p]; in jpeg_make_c_derived_tbl()
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jdhuff.c | 152 d_derived_tbl *dtbl; in jpeg_make_d_derived_tbl() local 176 dtbl = *pdtbl; in jpeg_make_d_derived_tbl() 177 dtbl->pub = htbl; /* fill in back link */ in jpeg_make_d_derived_tbl() 220 dtbl->valoffset[l] = (INT32) p - (INT32) huffcode[p]; in jpeg_make_d_derived_tbl() 222 dtbl->maxcode[l] = huffcode[p-1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl() 224 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl() 227 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl() 236 MEMZERO(dtbl->look_nbits, SIZEOF(dtbl->look_nbits)); in jpeg_make_d_derived_tbl() 245 dtbl->look_nbits[lookbits] = l; in jpeg_make_d_derived_tbl() 246 dtbl->look_sym[lookbits] = htbl->huffval[p]; in jpeg_make_d_derived_tbl()
|
D | fpdfapi_jcdctmgr.c | 60 DCTELEM * dtbl; in start_pass_fdctmgr() local 83 dtbl = fdct->divisors[qtblno]; in start_pass_fdctmgr() 85 dtbl[i] = ((DCTELEM) qtbl->quantval[i]) << 3; in start_pass_fdctmgr() 117 dtbl = fdct->divisors[qtblno]; in start_pass_fdctmgr() 119 dtbl[i] = (DCTELEM) in start_pass_fdctmgr()
|
D | fpdfapi_jchuff.c | 182 c_derived_tbl *dtbl; in jpeg_make_c_derived_tbl() local 205 dtbl = *pdtbl; in jpeg_make_c_derived_tbl() 247 MEMZERO(dtbl->ehufsi, SIZEOF(dtbl->ehufsi)); in jpeg_make_c_derived_tbl() 258 if (i < 0 || i > maxsymbol || dtbl->ehufsi[i]) in jpeg_make_c_derived_tbl() 260 dtbl->ehufco[i] = huffcode[p]; in jpeg_make_c_derived_tbl() 261 dtbl->ehufsi[i] = huffsize[p]; in jpeg_make_c_derived_tbl()
|
/external/clang/test/Sema/ |
D | 2010-05-31-palignr.c | 13 short dtbl[] = {1,2,3,4,5,6,7,8}; in main() local 14 vSInt16 *vdtbl = (vSInt16*) dtbl; in main()
|