/external/libpng/contrib/examples/ |
D | iccfrompng.c | 33 extract(FILE *fp, png_uint_32 *proflen) in extract() argument 40 *proflen = 0; in extract() 68 proflen) & PNG_INFO_iCCP) in extract() 70 result = malloc(*proflen); in extract() 72 memcpy(result, profile, *proflen); in extract() 94 png_uint_32 proflen = 0; in extract_one_file() local 95 png_bytep profile = extract(fp, &proflen); in extract_one_file() 123 if (fwrite(profile, proflen, 1, of) == 1 && in extract_one_file()
|
/external/libpng/contrib/libtests/ |
D | makepng.c | 887 png_uint_32 proflen = 0; in insert_iCCP() local 904 proflen = (png_uint_32)filelen; in insert_iCCP() 922 proflen = (png_uint_32)(fake_len & ~3U); in insert_iCCP() 924 png_save_uint_32(profile, proflen); in insert_iCCP() 937 if (proflen & 3) in insert_iCCP() 946 while (proflen & 3) in insert_iCCP() 947 profile[proflen++] = 0; in insert_iCCP() 950 if (profile != NULL && proflen > 3) in insert_iCCP() 954 if (prof_header != proflen) in insert_iCCP() 959 (unsigned long)proflen, (unsigned long)prof_header); in insert_iCCP() [all …]
|
/external/libpng/ |
D | pngset.c | 613 png_const_bytep profile, png_uint_32 proflen) in png_set_iCCP() argument 635 proflen, profile, info_ptr->color_type); in png_set_iCCP() 659 png_malloc_warn(png_ptr, proflen)); in png_set_iCCP() 669 memcpy(new_iccp_profile, profile, proflen); in png_set_iCCP() 673 info_ptr->iccp_proflen = proflen; in png_set_iCCP()
|
D | pngget.c | 706 png_bytepp profile, png_uint_32 *proflen) in png_get_iCCP() argument 712 proflen != NULL) in png_get_iCCP() 716 *proflen = png_get_uint_32(info_ptr->iccp_profile); in png_get_iCCP()
|
D | pngtest.c | 1129 png_uint_32 proflen; in test_one_file() local 1133 &profile, &proflen)) in test_one_file() 1136 profile, proflen); in test_one_file()
|
D | png.h | 2247 png_bytepp profile, png_uint_32 *proflen)); 2253 png_const_bytep profile, png_uint_32 proflen));
|
D | libpng-manual.txt | 1395 &compression_type, &profile, &proflen); 1407 proflen - length of profile data in bytes. 3020 profile, proflen); 3032 proflen - length of profile data in bytes.
|
D | CHANGES | 666 Changed type of proflen from png_int_32 to png_uint_32 in png_get_iCCP().
|
/external/qemu/distrib/libpng-1.2.46/ |
D | pngget.c | 526 png_charpp profile, png_uint_32 *proflen) in png_get_iCCP() argument 531 && name != NULL && profile != NULL && proflen != NULL) in png_get_iCCP() 538 *proflen = (int)info_ptr->iccp_proflen; in png_get_iCCP()
|
D | pngset.c | 596 png_charp profile, png_uint_32 proflen) in png_set_iCCP() argument 615 new_iccp_profile = (png_charp)png_malloc_warn(png_ptr, proflen); in png_set_iCCP() 623 png_memcpy(new_iccp_profile, profile, (png_size_t)proflen); in png_set_iCCP() 627 info_ptr->iccp_proflen = proflen; in png_set_iCCP()
|
D | png.h | 2545 png_charpp profile, png_uint_32 *proflen)); 2552 png_charp profile, png_uint_32 proflen)); 3372 png_charp profile, int proflen)) PNG_PRIVATE;
|
/external/chromium_org/third_party/libpng/ |
D | pngget.c | 526 png_charpp profile, png_uint_32 *proflen) in png_get_iCCP() argument 531 && name != NULL && profile != NULL && proflen != NULL) in png_get_iCCP() 538 *proflen = (int)info_ptr->iccp_proflen; in png_get_iCCP()
|
D | pngset.c | 596 png_charp profile, png_uint_32 proflen) in png_set_iCCP() argument 615 new_iccp_profile = (png_charp)png_malloc_warn(png_ptr, proflen); in png_set_iCCP() 623 png_memcpy(new_iccp_profile, profile, (png_size_t)proflen); in png_set_iCCP() 627 info_ptr->iccp_proflen = proflen; in png_set_iCCP()
|
D | png.h | 2473 png_charpp profile, png_uint_32 *proflen)); 2480 png_charp profile, png_uint_32 proflen)); 3288 png_charp profile, int proflen)) PNG_PRIVATE;
|