/external/libpng/contrib/examples/ |
iccfrompng.c | 33 extract(FILE *fp, png_uint_32 *proflen) 40 *proflen = 0; 68 proflen) & PNG_INFO_iCCP) 70 result = malloc(*proflen); 72 memcpy(result, profile, *proflen); 94 png_uint_32 proflen = 0; local 95 png_bytep profile = extract(fp, &proflen); 123 if (fwrite(profile, proflen, 1, of) == 1 &&
|
/external/libpng/contrib/libtests/ |
makepng.c | 887 png_uint_32 proflen = 0; local 904 proflen = (png_uint_32)filelen; 922 proflen = (png_uint_32)(fake_len & ~3U); 924 png_save_uint_32(profile, proflen); 937 if (proflen & 3) 946 while (proflen & 3) 947 profile[proflen++] = 0; 950 if (profile != NULL && proflen > 3) 954 if (prof_header != proflen) 959 (unsigned long)proflen, (unsigned long)prof_header) [all...] |
/external/chromium_org/third_party/libpng/ |
pngset.c | 596 png_charp profile, png_uint_32 proflen) 615 new_iccp_profile = (png_charp)png_malloc_warn(png_ptr, proflen); 623 png_memcpy(new_iccp_profile, profile, (png_size_t)proflen); 627 info_ptr->iccp_proflen = proflen; [all...] |
pngget.c | 526 png_charpp profile, png_uint_32 *proflen) 531 && name != NULL && profile != NULL && proflen != NULL) 538 *proflen = (int)info_ptr->iccp_proflen;
|
png.h | [all...] |
/external/libpng/ |
pngset.c | 613 png_const_bytep profile, png_uint_32 proflen) 635 proflen, profile, info_ptr->color_type); 659 png_malloc_warn(png_ptr, proflen)); 669 memcpy(new_iccp_profile, profile, proflen); 673 info_ptr->iccp_proflen = proflen; [all...] |
pngget.c | 706 png_bytepp profile, png_uint_32 *proflen) 712 proflen != NULL) 716 *proflen = png_get_uint_32(info_ptr->iccp_profile); [all...] |
pngtest.c | 1129 png_uint_32 proflen; local [all...] |
png.h | [all...] |
/external/qemu/distrib/libpng-1.2.46/ |
pngset.c | 596 png_charp profile, png_uint_32 proflen) 615 new_iccp_profile = (png_charp)png_malloc_warn(png_ptr, proflen); 623 png_memcpy(new_iccp_profile, profile, (png_size_t)proflen); 627 info_ptr->iccp_proflen = proflen; [all...] |
pngget.c | 526 png_charpp profile, png_uint_32 *proflen) 531 && name != NULL && profile != NULL && proflen != NULL) 538 *proflen = (int)info_ptr->iccp_proflen;
|
png.h | [all...] |
/ndk/tests/build/issue20862-libpng-O0/jni/ |
png.h | [all...] |
pngpriv.h | [all...] |