/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | jstdhuff.c | 20 add_huff_table(j_common_ptr cinfo, JHUFF_TBL **htblptr, const UINT8 *bits, in add_huff_table() argument 26 if (*htblptr == NULL) in add_huff_table() 27 *htblptr = jpeg_alloc_huff_table(cinfo); in add_huff_table() 32 MEMCOPY((*htblptr)->bits, bits, sizeof((*htblptr)->bits)); in add_huff_table() 44 MEMCOPY((*htblptr)->huffval, val, nsymbols * sizeof(UINT8)); in add_huff_table() 45 MEMZERO(&((*htblptr)->huffval[nsymbols]), (256 - nsymbols) * sizeof(UINT8)); in add_huff_table() 48 (*htblptr)->sent_table = FALSE; in add_huff_table()
|
D | jchuff.c | 1034 JHUFF_TBL **htblptr; in finish_pass_gather() local 1049 htblptr = &cinfo->dc_huff_tbl_ptrs[dctbl]; in finish_pass_gather() 1050 if (*htblptr == NULL) in finish_pass_gather() 1051 *htblptr = jpeg_alloc_huff_table((j_common_ptr)cinfo); in finish_pass_gather() 1052 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->dc_count_ptrs[dctbl]); in finish_pass_gather() 1056 htblptr = &cinfo->ac_huff_tbl_ptrs[actbl]; in finish_pass_gather() 1057 if (*htblptr == NULL) in finish_pass_gather() 1058 *htblptr = jpeg_alloc_huff_table((j_common_ptr)cinfo); in finish_pass_gather() 1059 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->ac_count_ptrs[actbl]); in finish_pass_gather()
|
D | jdmarker.c | 440 JHUFF_TBL **htblptr; in get_dht() local 484 htblptr = &cinfo->ac_huff_tbl_ptrs[index]; in get_dht() 488 htblptr = &cinfo->dc_huff_tbl_ptrs[index]; in get_dht() 491 if (*htblptr == NULL) in get_dht() 492 *htblptr = jpeg_alloc_huff_table((j_common_ptr)cinfo); in get_dht() 494 MEMCOPY((*htblptr)->bits, bits, sizeof((*htblptr)->bits)); in get_dht() 495 MEMCOPY((*htblptr)->huffval, huffval, sizeof((*htblptr)->huffval)); in get_dht()
|
D | jcphuff.c | 1045 JHUFF_TBL **htblptr; in finish_pass_gather_phuff() local 1069 htblptr = &cinfo->dc_huff_tbl_ptrs[tbl]; in finish_pass_gather_phuff() 1071 htblptr = &cinfo->ac_huff_tbl_ptrs[tbl]; in finish_pass_gather_phuff() 1072 if (*htblptr == NULL) in finish_pass_gather_phuff() 1073 *htblptr = jpeg_alloc_huff_table((j_common_ptr)cinfo); in finish_pass_gather_phuff() 1074 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->count_ptrs[tbl]); in finish_pass_gather_phuff()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jstdhuff.c | 20 add_huff_table(j_common_ptr cinfo, JHUFF_TBL **htblptr, const UINT8 *bits, in add_huff_table() argument 26 if (*htblptr == NULL) in add_huff_table() 27 *htblptr = jpeg_alloc_huff_table(cinfo); in add_huff_table() 32 MEMCOPY((*htblptr)->bits, bits, sizeof((*htblptr)->bits)); in add_huff_table() 44 MEMCOPY((*htblptr)->huffval, val, nsymbols * sizeof(UINT8)); in add_huff_table() 45 MEMZERO(&((*htblptr)->huffval[nsymbols]), (256 - nsymbols) * sizeof(UINT8)); in add_huff_table() 48 (*htblptr)->sent_table = FALSE; in add_huff_table()
|
D | jchuff.c | 1078 JHUFF_TBL **htblptr; in finish_pass_gather() local 1093 htblptr = &cinfo->dc_huff_tbl_ptrs[dctbl]; in finish_pass_gather() 1094 if (*htblptr == NULL) in finish_pass_gather() 1095 *htblptr = jpeg_alloc_huff_table((j_common_ptr)cinfo); in finish_pass_gather() 1096 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->dc_count_ptrs[dctbl]); in finish_pass_gather() 1100 htblptr = &cinfo->ac_huff_tbl_ptrs[actbl]; in finish_pass_gather() 1101 if (*htblptr == NULL) in finish_pass_gather() 1102 *htblptr = jpeg_alloc_huff_table((j_common_ptr)cinfo); in finish_pass_gather() 1103 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->ac_count_ptrs[actbl]); in finish_pass_gather()
|
D | jdmarker.c | 440 JHUFF_TBL **htblptr; in get_dht() local 484 htblptr = &cinfo->ac_huff_tbl_ptrs[index]; in get_dht() 488 htblptr = &cinfo->dc_huff_tbl_ptrs[index]; in get_dht() 491 if (*htblptr == NULL) in get_dht() 492 *htblptr = jpeg_alloc_huff_table((j_common_ptr)cinfo); in get_dht() 494 MEMCOPY((*htblptr)->bits, bits, sizeof((*htblptr)->bits)); in get_dht() 495 MEMCOPY((*htblptr)->huffval, huffval, sizeof((*htblptr)->huffval)); in get_dht()
|
D | jcphuff.c | 1052 JHUFF_TBL **htblptr; in finish_pass_gather_phuff() local 1076 htblptr = &cinfo->dc_huff_tbl_ptrs[tbl]; in finish_pass_gather_phuff() 1078 htblptr = &cinfo->ac_huff_tbl_ptrs[tbl]; in finish_pass_gather_phuff() 1079 if (*htblptr == NULL) in finish_pass_gather_phuff() 1080 *htblptr = jpeg_alloc_huff_table((j_common_ptr)cinfo); in finish_pass_gather_phuff() 1081 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->count_ptrs[tbl]); in finish_pass_gather_phuff()
|
/third_party/libjpeg-turbo/ |
D | jstdhuff.c | 20 add_huff_table(j_common_ptr cinfo, JHUFF_TBL **htblptr, const UINT8 *bits, in add_huff_table() argument 26 if (*htblptr == NULL) in add_huff_table() 27 *htblptr = jpeg_alloc_huff_table(cinfo); in add_huff_table() 32 MEMCOPY((*htblptr)->bits, bits, sizeof((*htblptr)->bits)); in add_huff_table() 44 MEMCOPY((*htblptr)->huffval, val, nsymbols * sizeof(UINT8)); in add_huff_table() 45 MEMZERO(&((*htblptr)->huffval[nsymbols]), (256 - nsymbols) * sizeof(UINT8)); in add_huff_table() 48 (*htblptr)->sent_table = FALSE; in add_huff_table()
|
D | jchuff.c | 1038 JHUFF_TBL **htblptr; in finish_pass_gather() local 1053 htblptr = &cinfo->dc_huff_tbl_ptrs[dctbl]; in finish_pass_gather() 1054 if (*htblptr == NULL) in finish_pass_gather() 1055 *htblptr = jpeg_alloc_huff_table((j_common_ptr)cinfo); in finish_pass_gather() 1056 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->dc_count_ptrs[dctbl]); in finish_pass_gather() 1060 htblptr = &cinfo->ac_huff_tbl_ptrs[actbl]; in finish_pass_gather() 1061 if (*htblptr == NULL) in finish_pass_gather() 1062 *htblptr = jpeg_alloc_huff_table((j_common_ptr)cinfo); in finish_pass_gather() 1063 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->ac_count_ptrs[actbl]); in finish_pass_gather()
|
D | jdmarker.c | 440 JHUFF_TBL **htblptr; in get_dht() local 484 htblptr = &cinfo->ac_huff_tbl_ptrs[index]; in get_dht() 488 htblptr = &cinfo->dc_huff_tbl_ptrs[index]; in get_dht() 491 if (*htblptr == NULL) in get_dht() 492 *htblptr = jpeg_alloc_huff_table((j_common_ptr)cinfo); in get_dht() 494 MEMCOPY((*htblptr)->bits, bits, sizeof((*htblptr)->bits)); in get_dht() 495 MEMCOPY((*htblptr)->huffval, huffval, sizeof((*htblptr)->huffval)); in get_dht()
|
D | jcphuff.c | 1045 JHUFF_TBL **htblptr; in finish_pass_gather_phuff() local 1069 htblptr = &cinfo->dc_huff_tbl_ptrs[tbl]; in finish_pass_gather_phuff() 1071 htblptr = &cinfo->ac_huff_tbl_ptrs[tbl]; in finish_pass_gather_phuff() 1072 if (*htblptr == NULL) in finish_pass_gather_phuff() 1073 *htblptr = jpeg_alloc_huff_table((j_common_ptr)cinfo); in finish_pass_gather_phuff() 1074 jpeg_gen_optimal_table(cinfo, *htblptr, entropy->count_ptrs[tbl]); in finish_pass_gather_phuff()
|
/third_party/gstreamer/gstplugins_good/ext/jpeg/ |
D | gstjpegdec.c | 481 JHUFF_TBL ** htblptr, const UINT8 * bits, const UINT8 * val) in add_huff_table() argument 486 if (*htblptr == NULL) in add_huff_table() 487 *htblptr = jpeg_alloc_huff_table ((j_common_ptr) dinfo); in add_huff_table() 489 g_assert (*htblptr); in add_huff_table() 492 memcpy ((*htblptr)->bits, bits, sizeof ((*htblptr)->bits)); in add_huff_table() 504 memcpy ((*htblptr)->huffval, val, nsymbols * sizeof (UINT8)); in add_huff_table()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_lossless_jpeg.cpp | 600 HuffmanTable *&htblptr = info.dcHuffTblPtrs [index]; in GetDht() local 602 if (htblptr == NULL) in GetDht() 607 htblptr = (HuffmanTable *) huffmanBuffer [index] . Buffer (); in GetDht() 611 htblptr->bits [0] = 0; in GetDht() 618 htblptr->bits [i] = GetJpegChar (); in GetDht() 620 count += htblptr->bits [i]; in GetDht() 632 htblptr->huffval [j] = GetJpegChar (); in GetDht()
|