Searched defs:htblptr (Results 1 - 9 of 9) sorted by relevance

/external/libjpeg-turbo/
H A Djstdhuff.c21 JHUFF_TBL **htblptr, const UINT8 *bits, const UINT8 *val)
26 if (*htblptr == NULL)
27 *htblptr = jpeg_alloc_huff_table(cinfo);
32 MEMCOPY((*htblptr)->bits, bits, sizeof((*htblptr)->bits));
44 MEMCOPY((*htblptr)->huffval, val, nsymbols * sizeof(UINT8));
45 MEMZERO(&((*htblptr)->huffval[nsymbols]), (256 - nsymbols) * sizeof(UINT8));
48 (*htblptr)->sent_table = FALSE;
20 add_huff_table(j_common_ptr cinfo, JHUFF_TBL **htblptr, const UINT8 *bits, const UINT8 *val) argument
H A Djcphuff.c774 JHUFF_TBL **htblptr; local
798 htblptr = & cinfo->dc_huff_tbl_ptrs[tbl];
800 htblptr = & cinfo->ac_huff_tbl_ptrs[tbl];
801 if (*htblptr == NULL)
802 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo);
803 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->count_ptrs[tbl]);
H A Djchuff.c1033 JHUFF_TBL **htblptr; local
1048 htblptr = & cinfo->dc_huff_tbl_ptrs[dctbl];
1049 if (*htblptr == NULL)
1050 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo);
1051 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->dc_count_ptrs[dctbl]);
1055 htblptr = & cinfo->ac_huff_tbl_ptrs[actbl];
1056 if (*htblptr == NULL)
1057 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo);
1058 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->ac_count_ptrs[actbl]);
H A Djdmarker.c440 JHUFF_TBL **htblptr; local
484 htblptr = &cinfo->ac_huff_tbl_ptrs[index];
488 htblptr = &cinfo->dc_huff_tbl_ptrs[index];
491 if (*htblptr == NULL)
492 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo);
494 MEMCOPY((*htblptr)->bits, bits, sizeof((*htblptr)->bits));
495 MEMCOPY((*htblptr)->huffval, huffval, sizeof((*htblptr)->huffval));
/external/pdfium/third_party/libjpeg/
H A Dfpdfapi_jcparam.c153 JHUFF_TBL **htblptr, const UINT8 *bits, const UINT8 *val)
158 if (*htblptr == NULL)
159 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo);
162 MEMCOPY((*htblptr)->bits, bits, SIZEOF((*htblptr)->bits));
174 MEMCOPY((*htblptr)->huffval, val, nsymbols * SIZEOF(UINT8));
177 (*htblptr)->sent_table = FALSE;
152 add_huff_table(j_compress_ptr cinfo, JHUFF_TBL **htblptr, const UINT8 *bits, const UINT8 *val) argument
H A Dfpdfapi_jchuff.c850 JHUFF_TBL **htblptr; local
865 htblptr = & cinfo->dc_huff_tbl_ptrs[dctbl];
866 if (*htblptr == NULL)
867 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo);
868 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->dc_count_ptrs[dctbl]);
872 htblptr = & cinfo->ac_huff_tbl_ptrs[actbl];
873 if (*htblptr == NULL)
874 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo);
875 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->ac_count_ptrs[actbl]);
H A Dfpdfapi_jcphuff.c773 JHUFF_TBL **htblptr; local
797 htblptr = & cinfo->dc_huff_tbl_ptrs[tbl];
799 htblptr = & cinfo->ac_huff_tbl_ptrs[tbl];
800 if (*htblptr == NULL)
801 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo);
802 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->count_ptrs[tbl]);
H A Dfpdfapi_jdmarker.c459 JHUFF_TBL **htblptr; local
499 htblptr = &cinfo->ac_huff_tbl_ptrs[index];
501 htblptr = &cinfo->dc_huff_tbl_ptrs[index];
507 if (*htblptr == NULL)
508 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo);
510 MEMCOPY((*htblptr)->bits, bits, SIZEOF((*htblptr)->bits));
511 MEMCOPY((*htblptr)->huffval, huffval, SIZEOF((*htblptr)->huffval));
/external/dng_sdk/source/
H A Ddng_lossless_jpeg.cpp600 HuffmanTable *&htblptr = info.dcHuffTblPtrs [index]; local
602 if (htblptr == NULL)
607 htblptr = (HuffmanTable *) huffmanBuffer [index] . Buffer ();
611 htblptr->bits [0] = 0;
618 htblptr->bits [i] = GetJpegChar ();
620 count += htblptr->bits [i];
632 htblptr->huffval [j] = GetJpegChar ();

Completed in 401 milliseconds