/external/libpng/ |
D | pngwtran.c | 43 png_ptr->row_buf + 1); /* start of pixel data for row */ in png_do_write_transformations() 47 png_do_strip_filler(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 52 png_do_packswap(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 56 png_do_pack(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 61 png_do_swap(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 65 png_do_shift(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 70 png_do_write_swap_alpha(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 74 png_do_write_invert_alpha(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 78 png_do_bgr(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 82 png_do_invert(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations()
|
D | pngtest.c | 702 png_bytep row_buf; in test_one_file() local 718 row_buf = NULL; in test_one_file() 803 png_free(read_ptr, row_buf); in test_one_file() 804 row_buf = NULL; in test_one_file() 1206 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file() 1208 png_debug1(0, "0x%08lx", (unsigned long)row_buf); in test_one_file() 1234 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file() 1236 png_debug2(0, "0x%08lx (%ld bytes)", (unsigned long)row_buf, in test_one_file() 1239 png_read_rows(read_ptr, (png_bytepp)&row_buf, png_bytepp_NULL, 1); in test_one_file() 1247 png_write_rows(write_ptr, (png_bytepp)&row_buf, 1); in test_one_file() [all …]
|
D | pngpread.c | 337 png_ptr->zstream.next_out = png_ptr->row_buf; in png_push_read_chunk() 864 png_ptr->zstream.next_out = png_ptr->row_buf; in png_process_IDAT_data() 896 if (png_ptr->zstream.next_out != png_ptr->row_buf) in png_process_IDAT_data() 945 png_ptr->row_buf + 1, png_ptr->prev_row + 1, in png_push_process_row() 946 (int)(png_ptr->row_buf[0])); in png_push_process_row() 948 png_memcpy_check(png_ptr, png_ptr->prev_row, png_ptr->row_buf, in png_push_process_row() 972 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row() 1008 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row() 1030 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row() 1058 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row() [all …]
|
D | pngwutil.c | 1785 png_ptr->row_buf = (png_bytep)png_malloc(png_ptr, in png_write_start_row() 1787 png_ptr->row_buf[0] = PNG_FILTER_VALUE_NONE; in png_write_start_row() 2149 png_bytep prev_row, row_buf; in png_write_find_filter() local 2172 best_row = png_ptr->row_buf; in png_write_find_filter() 2174 row_buf = best_row; in png_write_find_filter() 2210 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++) in png_write_find_filter() 2260 for (i = 0, rp = row_buf + 1, dp = png_ptr->sub_row + 1; i < bpp; in png_write_find_filter() 2265 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter() 2315 for (i = 0, rp = row_buf + 1, dp = png_ptr->sub_row + 1; i < bpp; in png_write_find_filter() 2322 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter() [all …]
|
D | pngrtran.c | 1345 if (png_ptr->row_buf == NULL) in png_do_read_transformations() 1376 png_do_expand_palette(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1383 png_do_expand(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1386 png_do_expand(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1394 png_do_strip_filler(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1403 png_ptr->row_buf + 1); in png_do_read_transformations() 1454 png_do_gray_to_rgb(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations() 1461 png_do_background(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1481 png_do_gamma(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1488 png_do_chop(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations() [all …]
|
D | pngread.c | 738 png_ptr->zstream.next_out = png_ptr->row_buf; in png_read_row() 796 if (png_ptr->row_buf[0]) in png_read_row() 798 png_ptr->row_buf + 1, png_ptr->prev_row + 1, in png_read_row() 799 (int)(png_ptr->row_buf[0])); in png_read_row() 801 png_memcpy_check(png_ptr, png_ptr->prev_row, png_ptr->row_buf, in png_read_row() 809 png_do_read_intrapixel(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_read_row()
|
D | pngwrite.c | 922 png_memcpy_check(png_ptr, png_ptr->row_buf + 1, row, in png_write_row() 931 png_ptr->row_buf + 1, png_ptr->pass); in png_write_row() 959 png_do_write_intrapixel(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_write_row() 1131 png_free(png_ptr, png_ptr->row_buf); in png_write_destroy() 1226 if (png_ptr->row_buf != NULL) in png_set_filter()
|
D | pngrutil.c | 2529 png_memcpy(row, png_ptr->row_buf + 1, in png_combine_row() 2538 png_bytep sp = png_ptr->row_buf + 1; in png_combine_row() 2592 png_bytep sp = png_ptr->row_buf + 1; in png_combine_row() 2644 png_bytep sp = png_ptr->row_buf + 1; in png_combine_row() 2695 png_bytep sp = png_ptr->row_buf + 1; in png_combine_row() 2733 png_bytep row = png_ptr->row_buf + 1; in png_do_read_interlace() 3401 png_ptr->row_buf = png_ptr->big_row_buf + 32; in png_read_start_row()
|
D | png.h | 1355 png_bytep row_buf PNG_DEPSTRUCT; /* buffer to save current (unfiltered) row */
|
D | CHANGES | 1180 Plugged memory leak of row_buf in pngtest.c when there is a png_error(). 1780 Make test for NULL row_buf at the beginning of png_do_read_transformations
|
/external/qemu/distrib/libpng-1.2.19/ |
D | pngwtran.c | 38 png_ptr->row_buf + 1); /* start of pixel data for row */ in png_do_write_transformations() 42 png_do_strip_filler(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 47 png_do_packswap(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 51 png_do_pack(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 56 png_do_swap(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 60 png_do_shift(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 65 png_do_write_swap_alpha(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 69 png_do_write_invert_alpha(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 73 png_do_bgr(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 77 png_do_invert(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations()
|
D | pngwutil.c | 1752 png_ptr->row_buf = (png_bytep)png_malloc(png_ptr, (png_uint_32)buf_size); in png_write_start_row() 1753 png_ptr->row_buf[0] = PNG_FILTER_VALUE_NONE; in png_write_start_row() 2113 png_bytep prev_row, best_row, row_buf; in png_write_find_filter() local 2126 best_row = row_buf = png_ptr->row_buf; in png_write_find_filter() 2163 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++) in png_write_find_filter() 2213 for (i = 0, rp = row_buf + 1, dp = png_ptr->sub_row + 1; i < bpp; in png_write_find_filter() 2218 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter() 2268 for (i = 0, rp = row_buf + 1, dp = png_ptr->sub_row + 1; i < bpp; in png_write_find_filter() 2275 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter() 2330 for (i = 0, rp = row_buf + 1, dp = png_ptr->up_row + 1, in png_write_find_filter() [all …]
|
D | pngpread.c | 303 png_ptr->zstream.next_out = png_ptr->row_buf; in png_push_read_chunk() 800 png_ptr->zstream.next_out = png_ptr->row_buf; in png_process_IDAT_data() 820 png_ptr->row_buf + 1, png_ptr->prev_row + 1, in png_push_process_row() 821 (int)(png_ptr->row_buf[0])); in png_push_process_row() 823 png_memcpy_check(png_ptr, png_ptr->prev_row, png_ptr->row_buf, in png_push_process_row() 847 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row() 878 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row() 896 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row() 919 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row() 937 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row() [all …]
|
D | pnggccrd.c | 991 png_memcpy(row, png_ptr->row_buf + 1, in png_combine_row() 1012 srcptr = png_ptr->row_buf + 1; in png_combine_row() 1136 srcptr = png_ptr->row_buf + 1 + initial_val; in png_combine_row() 1178 srcptr = png_ptr->row_buf + 1; in png_combine_row() 1309 srcptr = png_ptr->row_buf + 1 + initial_val; in png_combine_row() 1349 srcptr = png_ptr->row_buf + 1; in png_combine_row() 1443 srcptr = png_ptr->row_buf + 1 + initial_val; in png_combine_row() 1479 sp = png_ptr->row_buf + 1; in png_combine_row() 1537 sp = png_ptr->row_buf + 1; in png_combine_row() 1592 sp = png_ptr->row_buf + 1; in png_combine_row() [all …]
|
D | pngrtran.c | 1262 if (png_ptr->row_buf == NULL) in png_do_read_transformations() 1292 png_do_expand_palette(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1299 png_do_expand(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1302 png_do_expand(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1310 png_do_strip_filler(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1318 png_do_rgb_to_gray(png_ptr, &(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations() 1367 png_do_gray_to_rgb(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations() 1374 png_do_background(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1394 png_do_gamma(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1401 png_do_chop(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations() [all …]
|
D | pngrutil.c | 2333 png_memcpy(row, png_ptr->row_buf + 1, in png_combine_row() 2358 srcptr = png_ptr->row_buf + 1 + initial_val; in png_combine_row() 2401 srcptr = png_ptr->row_buf + 1 + initial_val; in png_combine_row() 2443 srcptr = png_ptr->row_buf + 1 + initial_val; in png_combine_row() 2478 sp = png_ptr->row_buf + 1; in png_combine_row() 2536 sp = png_ptr->row_buf + 1; in png_combine_row() 2591 sp = png_ptr->row_buf + 1; in png_combine_row() 2652 srcptr = png_ptr->row_buf + 1 + initial_val; in png_combine_row() 2696 srcptr = png_ptr->row_buf + 1 + initial_val; in png_combine_row() 2736 srcptr = png_ptr->row_buf + 1 + initial_val; in png_combine_row() [all …]
|
D | pngread.c | 698 png_ptr->zstream.next_out = png_ptr->row_buf; in png_read_row() 750 if(png_ptr->row_buf[0]) in png_read_row() 752 png_ptr->row_buf + 1, png_ptr->prev_row + 1, in png_read_row() 753 (int)(png_ptr->row_buf[0])); in png_read_row() 755 png_memcpy_check(png_ptr, png_ptr->prev_row, png_ptr->row_buf, in png_read_row() 763 png_do_read_intrapixel(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_read_row()
|
D | pngvcrd.c | 133 png_memcpy(row, png_ptr->row_buf + 1, in png_combine_row() 154 srcptr = png_ptr->row_buf + 1; in png_combine_row() 261 srcptr = png_ptr->row_buf + 1 + offset_table[png_ptr->pass]* in png_combine_row() 290 srcptr = png_ptr->row_buf + 1; in png_combine_row() 405 srcptr = png_ptr->row_buf + 1 + offset_table[png_ptr->pass]* in png_combine_row() 439 srcptr = png_ptr->row_buf + 1; in png_combine_row() 511 srcptr = png_ptr->row_buf + 1 + offset_table[png_ptr->pass]* in png_combine_row() 537 sp = png_ptr->row_buf + 1; in png_combine_row() 595 sp = png_ptr->row_buf + 1; in png_combine_row() 650 sp = png_ptr->row_buf + 1; in png_combine_row() [all …]
|
D | pngwrite.c | 884 png_memcpy_check(png_ptr, png_ptr->row_buf + 1, row, in png_write_row() 893 png_ptr->row_buf + 1, png_ptr->pass); in png_write_row() 921 png_do_write_intrapixel(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_write_row() 1078 png_free(png_ptr, png_ptr->row_buf); in png_write_destroy() 1170 if (png_ptr->row_buf != NULL) in png_set_filter()
|
D | png.h | 1171 png_bytep row_buf; /* buffer to save current (unfiltered) row */ member
|