Home
last modified time | relevance | path

Searched refs:proflen (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/libpng/contrib/examples/
Diccfrompng.c37 extract(FILE *fp, png_uint_32 *proflen) in extract() argument
44 *proflen = 0; in extract()
72 proflen) & PNG_INFO_iCCP) in extract()
74 result = malloc(*proflen); in extract()
76 memcpy(result, profile, *proflen); in extract()
98 png_uint_32 proflen = 0; in extract_one_file() local
99 png_bytep profile = extract(fp, &proflen); in extract_one_file()
127 if (fwrite(profile, proflen, 1, of) == 1 && in extract_one_file()
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dmakepng.c1158 png_uint_32 proflen = 0; in insert_iCCP() local
1175 proflen = (png_uint_32)filelen; in insert_iCCP()
1193 proflen = (png_uint_32)(fake_len & ~3U); in insert_iCCP()
1195 png_save_uint_32(profile, proflen); in insert_iCCP()
1208 if (proflen & 3) in insert_iCCP()
1217 while (proflen & 3) in insert_iCCP()
1218 profile[proflen++] = 0; in insert_iCCP()
1221 if (profile != NULL && proflen > 3) in insert_iCCP()
1225 if (prof_header != proflen) in insert_iCCP()
1230 (unsigned long)proflen, (unsigned long)prof_header); in insert_iCCP()
[all …]
/third_party/skia/third_party/externals/libpng/
Dpngset.c690 png_const_bytep profile, png_uint_32 proflen) in png_set_iCCP() argument
712 proflen, profile, info_ptr->color_type); in png_set_iCCP()
737 png_malloc_warn(png_ptr, proflen)); in png_set_iCCP()
748 memcpy(new_iccp_profile, profile, proflen); in png_set_iCCP()
752 info_ptr->iccp_proflen = proflen; in png_set_iCCP()
Dpngget.c738 png_bytepp profile, png_uint_32 *proflen) in png_get_iCCP() argument
744 name != NULL && profile != NULL && proflen != NULL) in png_get_iCCP()
748 *proflen = png_get_uint_32(info_ptr->iccp_profile); in png_get_iCCP()
Dpngtest.c1168 png_uint_32 proflen; in test_one_file() local
1172 &profile, &proflen) != 0) in test_one_file()
1175 profile, proflen); in test_one_file()
Dpng.h2092 png_bytepp profile, png_uint_32 *proflen));
2098 png_const_bytep profile, png_uint_32 proflen));
Dlibpng-manual.txt1432 &compression_type, &profile, &proflen);
1444 proflen - length of profile data in bytes.
3081 profile, proflen);
3093 proflen - length of profile data in bytes.
DCHANGES673 Changed type of proflen from png_int_32 to png_uint_32 in png_get_iCCP().