Home
last modified time | relevance | path

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

12

/external/libpng/
Dpngwtran.c521 png_ptr->row_buf + 1); /* start of pixel data for row */ in png_do_write_transformations()
526 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
532 png_do_packswap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
537 png_do_pack(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
544 png_do_swap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
550 png_do_shift(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
556 png_do_write_swap_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
561 png_do_write_invert_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
566 png_do_bgr(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
571 png_do_invert(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
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 …]
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()
960 png_free(read_ptr, row_buf); in test_one_file()
961 row_buf = NULL; in test_one_file()
1438 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1441 pngtest_debug1("\t%p", row_buf); in test_one_file()
1492 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1495 pngtest_debug2("\t%p (%lu bytes)", row_buf, in test_one_file()
[all …]
Dpngwutil.c1925 png_ptr->row_buf = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1927 png_ptr->row_buf[0] = PNG_FILTER_VALUE_NONE; in png_write_start_row()
2289 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1; i < bpp; in png_setup_sub_row()
2300 for (lp = png_ptr->row_buf + 1; i < row_bytes; in png_setup_sub_row()
2326 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1; i < bpp; in png_setup_sub_row_only()
2332 for (lp = png_ptr->row_buf + 1; i < row_bytes; in png_setup_sub_row_only()
2349 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_up_row()
2374 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_up_row_only()
2393 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_avg_row()
2405 for (lp = png_ptr->row_buf + 1; i < row_bytes; i++) in png_setup_avg_row()
[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.c4744 if (png_ptr->row_buf == NULL) in png_do_read_transformations()
4786 png_do_expand_palette(png_ptr, row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4794 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4798 png_do_expand(row_info, png_ptr->row_buf + 1, NULL); in png_do_read_transformations()
4808 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4817 png_ptr->row_buf + 1); in png_do_read_transformations()
4870 png_do_gray_to_rgb(row_info, png_ptr->row_buf + 1); in png_do_read_transformations()
4876 png_do_compose(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
4898 png_do_gamma(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
4906 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()
Dpngstruct.h226 png_bytep row_buf; /* buffer to save current (unfiltered) row. member
/external/pdfium/third_party/libpng16/
Dpngwtran.c521 png_ptr->row_buf + 1); /* start of pixel data for row */ in png_do_write_transformations()
526 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
532 png_do_packswap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
537 png_do_pack(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
544 png_do_swap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
550 png_do_shift(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
556 png_do_write_swap_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
561 png_do_write_invert_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
566 png_do_bgr(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
571 png_do_invert(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
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 …]
Dpngwutil.c1925 png_ptr->row_buf = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1927 png_ptr->row_buf[0] = PNG_FILTER_VALUE_NONE; in png_write_start_row()
2289 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1; i < bpp; in png_setup_sub_row()
2300 for (lp = png_ptr->row_buf + 1; i < row_bytes; in png_setup_sub_row()
2326 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1; i < bpp; in png_setup_sub_row_only()
2332 for (lp = png_ptr->row_buf + 1; i < row_bytes; in png_setup_sub_row_only()
2349 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_up_row()
2374 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_up_row_only()
2393 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_avg_row()
2405 for (lp = png_ptr->row_buf + 1; i < row_bytes; i++) in png_setup_avg_row()
[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.c4744 if (png_ptr->row_buf == NULL) in png_do_read_transformations()
4786 png_do_expand_palette(png_ptr, row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4794 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4798 png_do_expand(row_info, png_ptr->row_buf + 1, NULL); in png_do_read_transformations()
4808 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4817 png_ptr->row_buf + 1); in png_do_read_transformations()
4870 png_do_gray_to_rgb(row_info, png_ptr->row_buf + 1); in png_do_read_transformations()
4876 png_do_compose(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
4898 png_do_gamma(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
4906 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()
Dpngstruct.h226 png_bytep row_buf; /* buffer to save current (unfiltered) row. member
Dpngrutil.c3203 png_const_bytep sp = png_ptr->row_buf + 1; in png_combine_row()
4625 png_ptr->row_buf = temp - extra - 1/*filter byte*/; in png_read_start_row()
4634 png_ptr->row_buf = png_ptr->big_row_buf + 31; in png_read_start_row()
/external/pdfium/core/fxcodec/bmp/
Dbmpmodule.h26 pdfium::span<const uint8_t> row_buf) = 0;
/external/pdfium/core/fxcodec/gif/
Dgifmodule.h35 virtual void GifReadScanline(int32_t row_num, uint8_t* row_buf) = 0;
Dcfx_gifcontext.h29 void ReadScanline(int32_t row_num, uint8_t* row_buf);
Dcfx_gifcontext.cpp36 void CFX_GifContext::ReadScanline(int32_t row_num, uint8_t* row_buf) { in ReadScanline() argument
37 delegate_->GifReadScanline(row_num, row_buf); in ReadScanline()
/external/pdfium/core/fxcodec/
Dprogressivedecoder.h171 void GifReadScanline(int32_t row_num, uint8_t* row_buf) override;
178 pdfium::span<const uint8_t> row_buf) override;
Dprogressivedecoder.cpp498 void ProgressiveDecoder::GifReadScanline(int32_t row_num, uint8_t* row_buf) { in GifReadScanline() argument
503 uint8_t* byte_ptr = row_buf; in GifReadScanline()
519 memcpy(m_pDecodeBuf.get() + left, row_buf, img_width); in GifReadScanline()
569 pdfium::span<const uint8_t> row_buf) { in BmpReadScanline() argument
573 pdfium::span<const uint8_t> src_span = row_buf.first(m_ScanlineSize); in BmpReadScanline()
/external/pdfium/core/fxcodec/tiff/
Dtiffmodule.cpp460 uint8_t* row_buf = pDIBitmap->GetWritableScanline(row); in Decode() local
461 TiffBGRA2RGBA(row_buf, img_width, 4); in Decode()

12