Home
last modified time | relevance | path

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

/external/libpng/
Dpngwtran.c520 png_ptr->row_buf + 1); /* start of pixel data for row */ in png_do_write_transformations()
525 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
531 png_do_packswap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
536 png_do_pack(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
542 png_do_swap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
547 png_do_shift(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
553 png_do_write_swap_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
558 png_do_write_invert_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
563 png_do_bgr(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
568 png_do_invert(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
Dpngpread.c309 png_ptr->zstream.next_out = png_ptr->row_buf; in png_push_read_chunk()
863 png_ptr->zstream.next_out = png_ptr->row_buf; in png_process_IDAT_data()
897 if (png_ptr->zstream.next_out != png_ptr->row_buf) in png_process_IDAT_data()
948 if (png_ptr->row_buf[0] > PNG_FILTER_VALUE_NONE) in png_push_process_row()
950 if (png_ptr->row_buf[0] < PNG_FILTER_VALUE_LAST) in png_push_process_row()
951 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_push_process_row()
952 png_ptr->prev_row + 1, png_ptr->row_buf[0]); in png_push_process_row()
962 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_push_process_row()
986 png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass, in png_push_process_row()
996 png_push_have_row(png_ptr, png_ptr->row_buf + 1); in png_push_process_row()
[all …]
Dpngtest.c846 png_bytep row_buf; in test_one_file() local
852 row_buf = NULL; in test_one_file()
911 png_free(read_ptr, row_buf); in test_one_file()
912 row_buf = NULL; in test_one_file()
1360 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1363 pngtest_debug1("\t0x%08lx", (unsigned long)row_buf); in test_one_file()
1385 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1388 pngtest_debug2("\t0x%08lx (%u bytes)", (unsigned long)row_buf, in test_one_file()
1392 png_read_rows(read_ptr, (png_bytepp)&row_buf, NULL, 1); in test_one_file()
1400 png_write_rows(write_ptr, (png_bytepp)&row_buf, 1); in test_one_file()
[all …]
Dpngwutil.c1970 png_ptr->row_buf = (png_bytep)png_malloc(png_ptr, buf_size); in png_write_start_row()
1972 png_ptr->row_buf[0] = PNG_FILTER_VALUE_NONE; in png_write_start_row()
2325 png_bytep prev_row, row_buf; in png_write_find_filter() local
2348 best_row = png_ptr->row_buf; in png_write_find_filter()
2350 row_buf = best_row; in png_write_find_filter()
2388 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++) in png_write_find_filter()
2442 for (i = 0, rp = row_buf + 1, dp = png_ptr->sub_row + 1; i < bpp; in png_write_find_filter()
2448 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter()
2502 for (i = 0, rp = row_buf + 1, dp = png_ptr->sub_row + 1; i < bpp; in png_write_find_filter()
2510 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter()
[all …]
Dpngtrans.c689 png_bytep rp = png_ptr->row_buf + row_info->rowbytes; in png_do_check_palette_indexes()
698 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
710 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
740 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
760 for (; rp > png_ptr->row_buf; rp--) in png_do_check_palette_indexes()
Dpngrtran.c4702 if (png_ptr->row_buf == NULL) in png_do_read_transformations()
4732 png_do_expand_palette(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4740 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4744 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4755 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
4764 png_ptr->row_buf + 1); in png_do_read_transformations()
4817 png_do_gray_to_rgb(row_info, png_ptr->row_buf + 1); in png_do_read_transformations()
4823 png_do_compose(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
4845 png_do_gamma(row_info, png_ptr->row_buf + 1, png_ptr); in png_do_read_transformations()
4853 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
[all …]
Dpngread.c541 png_read_IDAT_data(png_ptr, png_ptr->row_buf, row_info.rowbytes + 1); in png_read_row()
543 if (png_ptr->row_buf[0] > PNG_FILTER_VALUE_NONE) in png_read_row()
545 if (png_ptr->row_buf[0] < PNG_FILTER_VALUE_LAST) in png_read_row()
546 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_read_row()
547 png_ptr->prev_row + 1, png_ptr->row_buf[0]); in png_read_row()
557 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_read_row()
564 png_do_read_intrapixel(&row_info, png_ptr->row_buf + 1); in png_read_row()
590 png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass, in png_read_row()
Dpngwrite.c820 memcpy(png_ptr->row_buf + 1, row, row_info.rowbytes); in png_write_row()
827 png_do_write_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass); in png_write_row()
864 png_do_write_intrapixel(&row_info, png_ptr->row_buf + 1); in png_write_row()
931 png_free(png_ptr, png_ptr->row_buf); in png_write_destroy()
1042 if (png_ptr->row_buf != NULL) in png_set_filter()
Dpngstruct.h272 png_bytep row_buf; /* buffer to save current (unfiltered) row. member
Dpngrutil.c3037 png_const_bytep sp = png_ptr->row_buf + 1; in png_combine_row()
4493 png_ptr->row_buf = temp - extra - 1/*filter byte*/; in png_read_start_row()
4502 png_ptr->row_buf = png_ptr->big_row_buf + 31; in png_read_start_row()
DCHANGES1313 Plugged memory leak of row_buf in pngtest.c when there is a png_error().
2544 Align row_buf on 16-byte boundary in memory.
3626 Align png_struct::row_buf - previously it was always unaligned, caused by
/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngwtran.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()
Dfx_pngpread.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 …]
Dfx_pngwutil.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 …]
Dfx_pngtrans.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()
Dfx_pngrtran.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 …]
Dfx_pngread.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()
Dfx_pngwrite.c754 memcpy(png_ptr->row_buf + 1, row, row_info.rowbytes); in png_write_row()
761 png_do_write_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass); in png_write_row()
798 png_do_write_intrapixel(&row_info, png_ptr->row_buf + 1); in png_write_row()
865 png_free(png_ptr, png_ptr->row_buf); in png_write_destroy()
976 if (png_ptr->row_buf != NULL) in png_set_filter()
Dpngstruct.h225 png_bytep row_buf; /* buffer to save current (unfiltered) row. member
Dfx_pngrutil.c3000 png_const_bytep sp = png_ptr->row_buf + 1; in png_combine_row()
4415 png_ptr->row_buf = temp - extra - 1/*filter byte*/; in png_read_start_row()
4424 png_ptr->row_buf = png_ptr->big_row_buf + 31; in png_read_start_row()
/external/opencv/cxcore/src/
Dcxmatmul.cpp3020 dsttype* row_buf = 0; \
3028 row_buf = (dsttype*)cvStackAlloc( buf_size ); \
3033 row_buf = (dsttype*)cvAlloc( buf_size ); \
3034 if( !row_buf ) \
3045 row_buf[k] = tsrc1[k] - tdelta1[0]; \
3048 row_buf[k] = tsrc1[k] - tdelta1[k]; \
3062 s += row_buf[k]*(load_macro(tsrc2[k]) - tdelta2[0]) + \
3063 row_buf[k+1]*(load_macro(tsrc2[k+1]) - tdelta2[1]) + \
3064 row_buf[k+2]*(load_macro(tsrc2[k+2]) - tdelta2[2]) + \
3065 row_buf[k+3]*(load_macro(tsrc2[k+3]) - tdelta2[3]); \
[all …]