Home
last modified time | relevance | path

Searched refs:row_buf (Results 1 – 25 of 39) sorted by relevance

12

/external/pdfium/third_party/libpng16/
Dpngpread.c269 png_ptr->zstream.next_out = png_ptr->row_buf; in png_push_read_chunk()
657 png_ptr->zstream.next_out = png_ptr->row_buf; in png_process_IDAT_data()
691 if (png_ptr->zstream.next_out != png_ptr->row_buf) in png_process_IDAT_data()
742 if (png_ptr->row_buf[0] > PNG_FILTER_VALUE_NONE) in png_push_process_row()
744 if (png_ptr->row_buf[0] < PNG_FILTER_VALUE_LAST) in png_push_process_row()
745 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_push_process_row()
746 png_ptr->prev_row + 1, png_ptr->row_buf[0]); in png_push_process_row()
756 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_push_process_row()
781 png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass, in png_push_process_row()
791 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row()
[all …]
Dpngwtran.c522 png_ptr->row_buf + 1); /* start of pixel data for row */ in png_do_write_transformations()
527 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
533 png_do_packswap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
538 png_do_pack(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
545 png_do_swap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
551 png_do_shift(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
557 png_do_write_swap_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
562 png_do_write_invert_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
567 png_do_bgr(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
572 png_do_invert(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
Dpngwutil.c1897 png_ptr->row_buf = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1899 png_ptr->row_buf[0] = PNG_FILTER_VALUE_NONE; in png_write_start_row()
2261 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1; i < bpp; in png_setup_sub_row()
2268 for (lp = png_ptr->row_buf + 1; i < row_bytes; in png_setup_sub_row()
2290 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1; i < bpp; in png_setup_sub_row_only()
2296 for (lp = png_ptr->row_buf + 1; i < row_bytes; in png_setup_sub_row_only()
2314 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_up_row()
2335 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_up_row_only()
2354 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_avg_row()
2362 for (lp = png_ptr->row_buf + 1; i < row_bytes; i++) in png_setup_avg_row()
[all …]
Dpngtrans.c696 png_bytep rp = png_ptr->row_buf + row_info->rowbytes; in png_do_check_palette_indexes()
705 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
717 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
747 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
767 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
Dpngrtran.c4711 if (png_ptr->row_buf == NULL) in png_do_read_transformations()
4741 png_do_expand_palette(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4749 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4753 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4764 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4773 png_ptr->row_buf + 1); in png_do_read_transformations()
4826 png_do_gray_to_rgb(row_info, png_ptr->row_buf + 1); in png_do_read_transformations()
4832 png_do_compose(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
4854 png_do_gamma(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
4862 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
[all …]
/external/libpng/
Dpngpread.c270 png_ptr->zstream.next_out = png_ptr->row_buf; in png_push_read_chunk()
661 png_ptr->zstream.next_out = png_ptr->row_buf; in png_process_IDAT_data()
700 if (png_ptr->zstream.next_out != png_ptr->row_buf) in png_process_IDAT_data()
751 if (png_ptr->row_buf[0] > PNG_FILTER_VALUE_NONE) in png_push_process_row()
753 if (png_ptr->row_buf[0] < PNG_FILTER_VALUE_LAST) in png_push_process_row()
754 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_push_process_row()
755 png_ptr->prev_row + 1, png_ptr->row_buf[0]); in png_push_process_row()
765 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_push_process_row()
790 png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass, in png_push_process_row()
800 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row()
[all …]
Dpngwtran.c522 png_ptr->row_buf + 1); /* start of pixel data for row */ in png_do_write_transformations()
527 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
533 png_do_packswap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
538 png_do_pack(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
545 png_do_swap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
551 png_do_shift(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
557 png_do_write_swap_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
562 png_do_write_invert_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
567 png_do_bgr(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
572 png_do_invert(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
Dpngwutil.c1927 png_ptr->row_buf = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1929 png_ptr->row_buf[0] = PNG_FILTER_VALUE_NONE; in png_write_start_row()
2291 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1; i < bpp; in png_setup_sub_row()
2302 for (lp = png_ptr->row_buf + 1; i < row_bytes; in png_setup_sub_row()
2328 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1; i < bpp; in png_setup_sub_row_only()
2334 for (lp = png_ptr->row_buf + 1; i < row_bytes; in png_setup_sub_row_only()
2352 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_up_row()
2377 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_up_row_only()
2396 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_avg_row()
2408 for (lp = png_ptr->row_buf + 1; i < row_bytes; i++) in png_setup_avg_row()
[all …]
Dpngtest.c872 png_bytep row_buf; in test_one_file() local
879 row_buf = NULL; in test_one_file()
938 png_free(read_ptr, row_buf); in test_one_file()
939 row_buf = NULL; in test_one_file()
1436 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1439 pngtest_debug1("\t0x%08lx", (unsigned long)row_buf); in test_one_file()
1490 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1493 pngtest_debug2("\t0x%08lx (%lu bytes)", (unsigned long)row_buf, in test_one_file()
1497 png_read_rows(read_ptr, (png_bytepp)&row_buf, NULL, 1); in test_one_file()
1505 png_write_rows(write_ptr, (png_bytepp)&row_buf, 1); in test_one_file()
[all …]
Dpngtrans.c711 png_bytep rp = png_ptr->row_buf + row_info->rowbytes - 1; in png_do_check_palette_indexes()
720 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
732 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
762 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
782 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
Dpngrtran.c4721 if (png_ptr->row_buf == NULL) in png_do_read_transformations()
4751 png_do_expand_palette(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4759 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4763 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4774 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4783 png_ptr->row_buf + 1); in png_do_read_transformations()
4836 png_do_gray_to_rgb(row_info, png_ptr->row_buf + 1); in png_do_read_transformations()
4842 png_do_compose(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
4864 png_do_gamma(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
4872 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
[all …]
Dpngread.c542 png_ptr->row_buf[0]=255; /* to force error if no data was found */ in png_read_row()
543 png_read_IDAT_data(png_ptr, png_ptr->row_buf, row_info.rowbytes + 1); in png_read_row()
545 if (png_ptr->row_buf[0] > PNG_FILTER_VALUE_NONE) in png_read_row()
547 if (png_ptr->row_buf[0] < PNG_FILTER_VALUE_LAST) in png_read_row()
548 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_read_row()
549 png_ptr->prev_row + 1, png_ptr->row_buf[0]); in png_read_row()
559 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_read_row()
566 png_do_read_intrapixel(&row_info, png_ptr->row_buf + 1); in png_read_row()
592 png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass, in png_read_row()
Dpngwrite.c842 memcpy(png_ptr->row_buf + 1, row, row_info.rowbytes); in png_write_row()
849 png_do_write_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass); in png_write_row()
886 png_do_write_intrapixel(&row_info, png_ptr->row_buf + 1); in png_write_row()
949 png_free(png_ptr, png_ptr->row_buf); in png_write_destroy()
950 png_ptr->row_buf = NULL; in png_write_destroy()
1061 if (png_ptr->row_buf != NULL) in png_set_filter()
/external/syslinux/com32/lib/libpng/
Dpngwtran.c43 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()
Dpngtest.c702 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 …]
Dpngpread.c337 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 …]
Dpngwutil.c1785 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 …]
Dpngrtran.c1335 if (png_ptr->row_buf == NULL) in png_do_read_transformations()
1366 png_do_expand_palette(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations()
1373 png_do_expand(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations()
1376 png_do_expand(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations()
1384 png_do_strip_filler(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations()
1393 png_ptr->row_buf + 1); in png_do_read_transformations()
1444 png_do_gray_to_rgb(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations()
1451 png_do_background(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations()
1471 png_do_gamma(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations()
1478 png_do_chop(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations()
[all …]
Dpngread.c729 png_ptr->zstream.next_out = png_ptr->row_buf; in png_read_row()
777 if (png_ptr->row_buf[0]) in png_read_row()
779 png_ptr->row_buf + 1, png_ptr->prev_row + 1, in png_read_row()
780 (int)(png_ptr->row_buf[0])); in png_read_row()
782 png_memcpy_check(png_ptr, png_ptr->prev_row, png_ptr->row_buf, in png_read_row()
790 png_do_read_intrapixel(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_read_row()
Dpngwrite.c921 png_memcpy_check(png_ptr, png_ptr->row_buf + 1, row, in png_write_row()
930 png_ptr->row_buf + 1, png_ptr->pass); in png_write_row()
958 png_do_write_intrapixel(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_write_row()
1130 png_free(png_ptr, png_ptr->row_buf); in png_write_destroy()
1225 if (png_ptr->row_buf != NULL) in png_set_filter()
/external/pdfium/core/fxcodec/codec/
Dccodec_progressivedecoder.h146 void GifReadScanline(int32_t row_num, uint8_t* row_buf) override;
151 const std::vector<uint8_t>& row_buf) override;
Dccodec_bmpmodule.h29 const std::vector<uint8_t>& row_buf) = 0;
Dccodec_gifmodule.h38 virtual void GifReadScanline(int32_t row_num, uint8_t* row_buf) = 0;
/external/pdfium/core/fxcodec/gif/
Dcfx_gifcontext.h26 void ReadScanline(int32_t row_num, uint8_t* row_buf);
/external/pdfium/core/fxcodec/lbmp/
Dfx_bmp.h115 void ReadScanline(uint32_t row_num, const std::vector<uint8_t>& row_buf);

12