Home
last modified time | relevance | path

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

12

/external/libpng/
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()
Dpngpread.c267 png_ptr->zstream.next_out = png_ptr->row_buf; in png_push_read_chunk()
655 png_ptr->zstream.next_out = png_ptr->row_buf; in png_process_IDAT_data()
689 if (png_ptr->zstream.next_out != png_ptr->row_buf) in png_process_IDAT_data()
740 if (png_ptr->row_buf[0] > PNG_FILTER_VALUE_NONE) in png_push_process_row()
742 if (png_ptr->row_buf[0] < PNG_FILTER_VALUE_LAST) in png_push_process_row()
743 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_push_process_row()
744 png_ptr->prev_row + 1, png_ptr->row_buf[0]); in png_push_process_row()
754 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_push_process_row()
779 png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass, in png_push_process_row()
789 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row()
[all …]
Dpngtest.c880 png_bytep row_buf; in test_one_file() local
887 row_buf = NULL; in test_one_file()
946 png_free(read_ptr, row_buf); in test_one_file()
947 row_buf = NULL; in test_one_file()
1402 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1405 pngtest_debug1("\t0x%08lx", (unsigned long)row_buf); in test_one_file()
1456 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1459 pngtest_debug2("\t0x%08lx (%lu bytes)", (unsigned long)row_buf, in test_one_file()
1463 png_read_rows(read_ptr, (png_bytepp)&row_buf, NULL, 1); in test_one_file()
1471 png_write_rows(write_ptr, (png_bytepp)&row_buf, 1); in test_one_file()
[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()
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()
2292 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_up_row()
2317 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_avg_row()
2325 for (lp = png_ptr->row_buf + 1; i < row_bytes; i++) in png_setup_avg_row()
2350 for (i = 0, rp = png_ptr->row_buf + 1, dp = png_ptr->try_row + 1, in png_setup_paeth_row()
2358 for (lp = png_ptr->row_buf + 1, cp = png_ptr->prev_row + 1; i < row_bytes; in png_setup_paeth_row()
2398 png_write_filtered_row(png_ptr, png_ptr->row_buf, row_info->rowbytes+1); in png_write_find_filter()
[all …]
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 …]
Dpngwrite.c831 memcpy(png_ptr->row_buf + 1, row, row_info.rowbytes); in png_write_row()
838 png_do_write_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass); in png_write_row()
875 png_do_write_intrapixel(&row_info, png_ptr->row_buf + 1); in png_write_row()
938 png_free(png_ptr, png_ptr->row_buf); in png_write_destroy()
939 png_ptr->row_buf = NULL; in png_write_destroy()
1050 if (png_ptr->row_buf != NULL) in png_set_filter()
/external/opencv3/3rdparty/libpng/
Dpngwtran.c43 png_ptr->row_buf + 1); /* start of pixel data for row */ in png_do_write_transformations()
48 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
54 png_do_packswap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
59 png_do_pack(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
65 png_do_swap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
70 png_do_shift(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
76 png_do_write_swap_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
81 png_do_write_invert_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
86 png_do_bgr(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
91 png_do_invert(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
Dpngpread.c328 png_ptr->zstream.next_out = png_ptr->row_buf; in png_push_read_chunk()
888 png_ptr->zstream.next_out = png_ptr->row_buf; in png_process_IDAT_data()
921 if (png_ptr->zstream.next_out != png_ptr->row_buf) in png_process_IDAT_data()
971 if (png_ptr->row_buf[0] > PNG_FILTER_VALUE_NONE) in png_push_process_row()
973 if (png_ptr->row_buf[0] < PNG_FILTER_VALUE_LAST) in png_push_process_row()
974 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_push_process_row()
975 png_ptr->prev_row + 1, png_ptr->row_buf[0]); in png_push_process_row()
985 png_memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_push_process_row()
1009 png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass, in png_push_process_row()
1019 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row()
[all …]
Dpngtrans.c638 png_bytep rp = png_ptr->row_buf + row_info->rowbytes; in png_do_check_palette_indexes()
647 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
659 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
689 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
709 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
Dpngwutil.c2033 png_ptr->row_buf = (png_bytep)png_malloc(png_ptr, buf_size); in png_write_start_row()
2035 png_ptr->row_buf[0] = PNG_FILTER_VALUE_NONE; in png_write_start_row()
2428 png_bytep prev_row, row_buf; in png_write_find_filter() local
2451 best_row = png_ptr->row_buf; in png_write_find_filter()
2453 row_buf = best_row; in png_write_find_filter()
2491 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++) in png_write_find_filter()
2545 for (i = 0, rp = row_buf + 1, dp = png_ptr->sub_row + 1; i < bpp; in png_write_find_filter()
2551 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter()
2605 for (i = 0, rp = row_buf + 1, dp = png_ptr->sub_row + 1; i < bpp; in png_write_find_filter()
2613 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter()
[all …]
Dpngread.c531 png_ptr->zstream.next_out = png_ptr->row_buf; in png_read_row()
575 if (png_ptr->row_buf[0] > PNG_FILTER_VALUE_NONE) in png_read_row()
577 if (png_ptr->row_buf[0] < PNG_FILTER_VALUE_LAST) in png_read_row()
578 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_read_row()
579 png_ptr->prev_row + 1, png_ptr->row_buf[0]); in png_read_row()
589 png_memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_read_row()
596 png_do_read_intrapixel(&row_info, png_ptr->row_buf + 1); in png_read_row()
623 png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass, in png_read_row()
Dpngrtran.c2084 if (png_ptr->row_buf == NULL) in png_do_read_transformations()
2113 png_do_expand_palette(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2121 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2125 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2136 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2145 png_ptr->row_buf + 1); in png_do_read_transformations()
2198 png_do_gray_to_rgb(row_info, png_ptr->row_buf + 1); in png_do_read_transformations()
2204 png_do_compose(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
2226 png_do_gamma(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
2234 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
[all …]
Dpngwrite.c758 png_memcpy(png_ptr->row_buf + 1, row, row_info.rowbytes); in png_write_row()
765 png_do_write_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass); in png_write_row()
802 png_do_write_intrapixel(&row_info, png_ptr->row_buf + 1); in png_write_row()
976 png_free(png_ptr, png_ptr->row_buf); in png_write_destroy()
1079 if (png_ptr->row_buf != NULL) in png_set_filter()
/external/pdfium/third_party/lpng_v163/
Dpngwtran.c42 png_ptr->row_buf + 1); /* start of pixel data for row */ in png_do_write_transformations()
47 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
53 png_do_packswap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
58 png_do_pack(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
64 png_do_swap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
69 png_do_shift(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
75 png_do_write_swap_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
80 png_do_write_invert_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
85 png_do_bgr(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
90 png_do_invert(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
Dpngpread.c307 png_ptr->zstream.next_out = png_ptr->row_buf; in png_push_read_chunk()
861 png_ptr->zstream.next_out = png_ptr->row_buf; in png_process_IDAT_data()
895 if (png_ptr->zstream.next_out != png_ptr->row_buf) in png_process_IDAT_data()
946 if (png_ptr->row_buf[0] > PNG_FILTER_VALUE_NONE) in png_push_process_row()
948 if (png_ptr->row_buf[0] < PNG_FILTER_VALUE_LAST) in png_push_process_row()
949 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_push_process_row()
950 png_ptr->prev_row + 1, png_ptr->row_buf[0]); in png_push_process_row()
960 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_push_process_row()
984 png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass, in png_push_process_row()
994 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row()
[all …]
Dpngwutil.c1969 png_ptr->row_buf = (png_bytep)png_malloc(png_ptr, buf_size); in png_write_start_row()
1971 png_ptr->row_buf[0] = PNG_FILTER_VALUE_NONE; in png_write_start_row()
2323 png_bytep prev_row, row_buf; in png_write_find_filter() local
2346 best_row = png_ptr->row_buf; in png_write_find_filter()
2348 row_buf = best_row; in png_write_find_filter()
2386 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++) in png_write_find_filter()
2440 for (i = 0, rp = row_buf + 1, dp = png_ptr->sub_row + 1; i < bpp; in png_write_find_filter()
2446 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter()
2500 for (i = 0, rp = row_buf + 1, dp = png_ptr->sub_row + 1; i < bpp; in png_write_find_filter()
2508 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter()
[all …]
Dpngtrans.c686 png_bytep rp = png_ptr->row_buf + row_info->rowbytes; in png_do_check_palette_indexes()
695 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
707 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
737 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
757 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
Dpngrtran.c2124 if (png_ptr->row_buf == NULL) in png_do_read_transformations()
2154 png_do_expand_palette(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2162 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2166 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2177 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2186 png_ptr->row_buf + 1); in png_do_read_transformations()
2239 png_do_gray_to_rgb(row_info, png_ptr->row_buf + 1); in png_do_read_transformations()
2245 png_do_compose(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
2267 png_do_gamma(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
2275 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
[all …]
Dpngread.c464 png_read_IDAT_data(png_ptr, png_ptr->row_buf, row_info.rowbytes + 1); in png_read_row()
466 if (png_ptr->row_buf[0] > PNG_FILTER_VALUE_NONE) in png_read_row()
468 if (png_ptr->row_buf[0] < PNG_FILTER_VALUE_LAST) in png_read_row()
469 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_read_row()
470 png_ptr->prev_row + 1, png_ptr->row_buf[0]); in png_read_row()
480 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_read_row()
487 png_do_read_intrapixel(&row_info, png_ptr->row_buf + 1); in png_read_row()
514 png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass, in png_read_row()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_bmp.cpp36 uint8_t* row_buf) { in _bmp_read_scanline() argument
39 pModule->ReadScanlineCallback(p->child_ptr, row_num, row_buf); in _bmp_read_scanline()
Dfx_codec_progress.h144 uint8_t* row_buf);
149 uint8_t* row_buf);
Dfx_codec_gif.cpp49 uint8_t* row_buf) { in _gif_read_scanline() argument
52 pModule->ReadScanlineCallback(p->child_ptr, row_num, row_buf); in _gif_read_scanline()
/external/pdfium/core/src/fxcodec/lbmp/
Dfx_bmp.cpp341 uint8_t* row_buf = bmp_ptr->out_row_buffer; in _bmp_decode_rgb() local
351 *row_buf++ = des_buf[col >> 3] & (0x80 >> (col % 8)) ? 0x01 : 0x00; in _bmp_decode_rgb()
356 *row_buf++ = (col & 0x01) ? (des_buf[col >> 1] & 0x0F) in _bmp_decode_rgb()
384 *row_buf++ = (uint8_t)((*buf & bmp_ptr->mask_blue) << blue_bits); in _bmp_decode_rgb()
385 *row_buf++ = (uint8_t)((*buf & bmp_ptr->mask_green) >> green_bits); in _bmp_decode_rgb()
386 *row_buf++ = (uint8_t)((*buf++ & bmp_ptr->mask_red) >> red_bits); in _bmp_decode_rgb()
396 row_buf = bmp_ptr->out_row_buffer; in _bmp_decode_rgb()
Dfx_bmp.h105 uint8_t* row_buf);

12