Home
last modified time | relevance | path

Searched refs:htblptr (Results 1 – 4 of 4) sorted by relevance

/external/jpeg/
Djcparam.c153 JHUFF_TBL **htblptr, const UINT8 *bits, const UINT8 *val) in add_huff_table() argument
158 if (*htblptr == NULL) in add_huff_table()
159 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo); in add_huff_table()
162 MEMCOPY((*htblptr)->bits, bits, SIZEOF((*htblptr)->bits)); in add_huff_table()
174 MEMCOPY((*htblptr)->huffval, val, nsymbols * SIZEOF(UINT8)); in add_huff_table()
177 (*htblptr)->sent_table = FALSE; in add_huff_table()
Djchuff.c851 JHUFF_TBL **htblptr; in finish_pass_gather() local
866 htblptr = & cinfo->dc_huff_tbl_ptrs[dctbl]; in finish_pass_gather()
867 if (*htblptr == NULL) in finish_pass_gather()
868 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo); in finish_pass_gather()
869 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->dc_count_ptrs[dctbl]); in finish_pass_gather()
873 htblptr = & cinfo->ac_huff_tbl_ptrs[actbl]; in finish_pass_gather()
874 if (*htblptr == NULL) in finish_pass_gather()
875 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo); in finish_pass_gather()
876 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->ac_count_ptrs[actbl]); in finish_pass_gather()
Djcphuff.c773 JHUFF_TBL **htblptr; in finish_pass_gather_phuff() local
797 htblptr = & cinfo->dc_huff_tbl_ptrs[tbl]; in finish_pass_gather_phuff()
799 htblptr = & cinfo->ac_huff_tbl_ptrs[tbl]; in finish_pass_gather_phuff()
800 if (*htblptr == NULL) in finish_pass_gather_phuff()
801 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo); in finish_pass_gather_phuff()
802 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->count_ptrs[tbl]); in finish_pass_gather_phuff()
Djdmarker.c426 JHUFF_TBL **htblptr; in get_dht() local
466 htblptr = &cinfo->ac_huff_tbl_ptrs[index]; in get_dht()
468 htblptr = &cinfo->dc_huff_tbl_ptrs[index]; in get_dht()
474 if (*htblptr == NULL) in get_dht()
475 *htblptr = jpeg_alloc_huff_table((j_common_ptr) cinfo); in get_dht()
477 MEMCOPY((*htblptr)->bits, bits, SIZEOF((*htblptr)->bits)); in get_dht()
478 MEMCOPY((*htblptr)->huffval, huffval, SIZEOF((*htblptr)->huffval)); in get_dht()