Home
last modified time | relevance | path

Searched refs:dtbl (Results 1 – 10 of 10) sorted by relevance

/external/libjpeg-turbo/
Djcdctmgr.c172 compute_reciprocal (UINT16 divisor, DCTELEM * dtbl) in compute_reciprocal() argument
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()
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() local
[all …]
Djdhuff.c158 d_derived_tbl *dtbl; in jpeg_make_d_derived_tbl() local
182 dtbl = *pdtbl; in jpeg_make_d_derived_tbl()
183 dtbl->pub = htbl; /* fill in back link */ in jpeg_make_d_derived_tbl()
226 dtbl->valoffset[l] = (INT32) p - (INT32) huffcode[p]; in jpeg_make_d_derived_tbl()
228 dtbl->maxcode[l] = huffcode[p-1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()
230 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()
233 dtbl->valoffset[17] = 0; in jpeg_make_d_derived_tbl()
234 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl()
244 dtbl->lookup[i] = (HUFF_LOOKAHEAD + 1) << HUFF_LOOKAHEAD; in jpeg_make_d_derived_tbl()
253 dtbl->lookup[lookbits] = (l << HUFF_LOOKAHEAD) | htbl->huffval[p]; in jpeg_make_d_derived_tbl()
Djchuff.c219 c_derived_tbl *dtbl; in jpeg_make_c_derived_tbl() local
242 dtbl = *pdtbl; in jpeg_make_c_derived_tbl()
284 MEMZERO(dtbl->ehufsi, sizeof(dtbl->ehufsi)); in jpeg_make_c_derived_tbl()
295 if (i < 0 || i > maxsymbol || dtbl->ehufsi[i]) in jpeg_make_c_derived_tbl()
297 dtbl->ehufco[i] = huffcode[p]; in jpeg_make_c_derived_tbl()
298 dtbl->ehufsi[i] = huffsize[p]; in jpeg_make_c_derived_tbl()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdhuff.c156 d_derived_tbl *dtbl; in jpeg_make_d_derived_tbl() local
180 dtbl = *pdtbl; in jpeg_make_d_derived_tbl()
181 dtbl->pub = htbl; /* fill in back link */ in jpeg_make_d_derived_tbl()
224 dtbl->valoffset[l] = (INT32) p - (INT32) huffcode[p]; in jpeg_make_d_derived_tbl()
226 dtbl->maxcode[l] = huffcode[p-1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()
228 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()
231 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl()
240 MEMZERO(dtbl->look_nbits, SIZEOF(dtbl->look_nbits)); in jpeg_make_d_derived_tbl()
249 dtbl->look_nbits[lookbits] = l; in jpeg_make_d_derived_tbl()
250 dtbl->look_sym[lookbits] = htbl->huffval[p]; in jpeg_make_d_derived_tbl()
Dfpdfapi_jcdctmgr.c60 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()
Dfpdfapi_jchuff.c186 c_derived_tbl *dtbl; in jpeg_make_c_derived_tbl() local
209 dtbl = *pdtbl; in jpeg_make_c_derived_tbl()
251 MEMZERO(dtbl->ehufsi, SIZEOF(dtbl->ehufsi)); in jpeg_make_c_derived_tbl()
262 if (i < 0 || i > maxsymbol || dtbl->ehufsi[i]) in jpeg_make_c_derived_tbl()
264 dtbl->ehufco[i] = huffcode[p]; in jpeg_make_c_derived_tbl()
265 dtbl->ehufsi[i] = huffsize[p]; in jpeg_make_c_derived_tbl()
/external/clang/test/Sema/
D2010-05-31-palignr.c13 short dtbl[] = {1,2,3,4,5,6,7,8}; in main() local
14 vSInt16 *vdtbl = (vSInt16*) dtbl; in main()
/external/opencv3/3rdparty/libjpeg/
Djcdctmgr.c187 DCTELEM * dtbl; in start_pass_fdctmgr() local
368 dtbl = fdct->divisors[qtblno]; in start_pass_fdctmgr()
370 dtbl[i] = ((DCTELEM) qtbl->quantval[i]) << 3; in start_pass_fdctmgr()
403 dtbl = fdct->divisors[qtblno]; in start_pass_fdctmgr()
405 dtbl[i] = (DCTELEM) in start_pass_fdctmgr()
Djdhuff.c327 d_derived_tbl *dtbl; in jpeg_make_d_derived_tbl() local
351 dtbl = *pdtbl; in jpeg_make_d_derived_tbl()
352 dtbl->pub = htbl; /* fill in back link */ in jpeg_make_d_derived_tbl()
395 dtbl->valoffset[l] = (INT32) p - (INT32) huffcode[p]; in jpeg_make_d_derived_tbl()
397 dtbl->maxcode[l] = huffcode[p-1]; /* maximum code of length l */ in jpeg_make_d_derived_tbl()
399 dtbl->maxcode[l] = -1; /* -1 if no codes of this length */ in jpeg_make_d_derived_tbl()
402 dtbl->maxcode[17] = 0xFFFFFL; /* ensures jpeg_huff_decode terminates */ in jpeg_make_d_derived_tbl()
411 MEMZERO(dtbl->look_nbits, SIZEOF(dtbl->look_nbits)); in jpeg_make_d_derived_tbl()
420 dtbl->look_nbits[lookbits] = l; in jpeg_make_d_derived_tbl()
421 dtbl->look_sym[lookbits] = htbl->huffval[p]; in jpeg_make_d_derived_tbl()
Djchuff.c165 c_derived_tbl *dtbl; in jpeg_make_c_derived_tbl() local
188 dtbl = *pdtbl; in jpeg_make_c_derived_tbl()
230 MEMZERO(dtbl->ehufsi, SIZEOF(dtbl->ehufsi)); in jpeg_make_c_derived_tbl()
241 if (i < 0 || i > maxsymbol || dtbl->ehufsi[i]) in jpeg_make_c_derived_tbl()
243 dtbl->ehufco[i] = huffcode[p]; in jpeg_make_c_derived_tbl()
244 dtbl->ehufsi[i] = huffsize[p]; in jpeg_make_c_derived_tbl()