Home
last modified time | relevance | path

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

/external/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()
/external/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 …]
/external/pdfium/third_party/libpng16/
Dpngset.c641 png_const_bytep profile, png_uint_32 proflen) in png_set_iCCP() argument
663 proflen, profile, info_ptr->color_type); in png_set_iCCP()
688 png_malloc_warn(png_ptr, proflen)); in png_set_iCCP()
699 memcpy(new_iccp_profile, profile, proflen); in png_set_iCCP()
703 info_ptr->iccp_proflen = proflen; in png_set_iCCP()
Dpngget.c738 png_bytepp profile, png_uint_32 *proflen) in png_get_iCCP() argument
745 proflen != NULL) in png_get_iCCP()
749 *proflen = png_get_uint_32(info_ptr->iccp_profile); in png_get_iCCP()
Dpng.h2117 png_bytepp profile, png_uint_32 *proflen));
2123 png_const_bytep profile, png_uint_32 proflen));
/external/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
745 proflen != NULL) in png_get_iCCP()
749 *proflen = png_get_uint_32(info_ptr->iccp_profile); in png_get_iCCP()
Dpngtest.c1166 png_uint_32 proflen; in test_one_file() local
1170 &profile, &proflen) != 0) in test_one_file()
1173 profile, proflen); in test_one_file()
Dpng.h2123 png_bytepp profile, png_uint_32 *proflen));
2129 png_const_bytep profile, png_uint_32 proflen));
Dlibpng-manual.txt1431 &compression_type, &profile, &proflen);
1443 proflen - length of profile data in bytes.
3080 profile, proflen);
3092 proflen - length of profile data in bytes.
DCHANGES674 Changed type of proflen from png_int_32 to png_uint_32 in png_get_iCCP().