| /plan9/sys/src/cmd/gs/libpng/ |
| H A D | pngtrans.c | 179 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 192 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 205 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 362 end = row + row_info->rowbytes; in png_do_packswap() 426 row_info->rowbytes = row_width * 3; in png_do_strip_filler() 472 row_info->rowbytes = row_width * 6; in png_do_strip_filler() 502 row_info->rowbytes = row_width; in png_do_strip_filler() 528 row_info->rowbytes = row_width * 2; in png_do_strip_filler()
|
| H A D | pngrtran.c | 1160 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth,info_ptr->width); in png_read_transform_info() 1310 if(png_ptr->row_info.rowbytes == (png_uint_32)0) in png_do_read_transformations() 1391 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_do_read_transformations() 1484 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 1543 png_uint_32 istop = row_info->rowbytes; in png_do_unshift() 1556 png_uint_32 istop = row_info->rowbytes; in png_do_unshift() 1649 row_info->rowbytes = row_info->width * row_info->channels; in png_do_chop() 1669 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha() 1686 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha() 1711 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha() [all …]
|
| H A D | pnggccrd.c | 2740 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,final_width); in png_do_read_interlace() 2782 _FullLength = row_info->rowbytes; // # of bytes to filter in png_read_filter_row_mmx_avg() 3450 _FullLength = row_info->rowbytes; // # of bytes to filter in png_read_filter_row_mmx_paeth() 4503 _FullLength = row_info->rowbytes - bpp; // number of bytes to filter in png_read_filter_row_mmx_sub() 4926 len = row_info->rowbytes; // number of bytes to filter in png_read_filter_row_mmx_up() 5141 png_debug1(0,"rowbytes=%8ld\n", row_info->rowbytes); in png_read_filter_row() 5154 (row_info->rowbytes >= png_ptr->mmx_rowbytes_threshold)) in png_read_filter_row() 5165 png_uint_32 istop = row_info->rowbytes; in png_read_filter_row() 5183 (row_info->rowbytes >= png_ptr->mmx_rowbytes_threshold)) in png_read_filter_row() 5194 png_uint_32 istop = row_info->rowbytes; in png_read_filter_row() [all …]
|
| H A D | pngrutil.c | 397 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth,png_ptr->width); in png_handle_IHDR() 400 png_debug1(3,"rowbytes = %lu\n", png_ptr->rowbytes); in png_handle_IHDR() 2674 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,final_width); in png_do_read_interlace() 2698 png_uint_32 istop = row_info->rowbytes; in png_read_filter_row() 2713 png_uint_32 istop = row_info->rowbytes; in png_read_filter_row() 2731 png_uint_32 istop = row_info->rowbytes - bpp; in png_read_filter_row() 2756 png_uint_32 istop=row_info->rowbytes - bpp; in png_read_filter_row() 2836 png_memset_check(png_ptr, png_ptr->prev_row, 0, png_ptr->rowbytes + 1); in png_read_finish_row() 2984 png_ptr->irowbytes = png_ptr->rowbytes + 1; in png_read_start_row() 3106 if ((png_uint_32)png_ptr->rowbytes + 1 > (png_uint_32)65536L) in png_read_start_row() [all …]
|
| H A D | pngwrite.c | 844 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_write_row() 852 png_debug1(3, "row_info->rowbytes = %lu\n", png_ptr->row_info.rowbytes); in png_write_row() 856 png_ptr->row_info.rowbytes); in png_write_row() 1129 (png_ptr->rowbytes + 1)); in png_set_filter() 1143 (png_ptr->rowbytes + 1)); in png_set_filter() 1158 (png_ptr->rowbytes + 1)); in png_set_filter() 1174 (png_ptr->rowbytes + 1)); in png_set_filter()
|
| H A D | pngwtran.c | 198 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, in png_do_pack() 257 png_uint_32 row_bytes = row_info->rowbytes; in png_do_shift()
|
| H A D | pngvcrd.c | 1907 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,final_width); in png_do_read_interlace() 1938 FullLength = row_info->rowbytes; // # of bytes to filter in png_read_filter_row_mmx_avg() 2373 FullLength = row_info->rowbytes; // # of bytes to filter in png_read_filter_row_mmx_paeth() 3266 FullLength = row_info->rowbytes - bpp; // # of bytes to filter in png_read_filter_row_mmx_sub() 3565 len = row_info->rowbytes; // # of bytes to filter in png_read_filter_row_mmx_up() 3726 png_debug1(0,"len=%8d, ", row_info->rowbytes); in png_read_filter_row() 3739 (row_info->rowbytes >= png_ptr->mmx_rowbytes_threshold)) in png_read_filter_row() 3749 png_uint_32 istop = row_info->rowbytes; in png_read_filter_row() 3768 (row_info->rowbytes >= png_ptr->mmx_rowbytes_threshold)) in png_read_filter_row() 3778 png_uint_32 istop = row_info->rowbytes; in png_read_filter_row() [all …]
|
| H A D | pngwutil.c | 476 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, width); in png_write_IHDR() 1710 (png_ptr->rowbytes + 1)); in png_write_start_row() 1724 (png_ptr->rowbytes + 1)); in png_write_start_row() 1731 (png_ptr->rowbytes + 1)); in png_write_start_row() 1738 (png_ptr->rowbytes + 1)); in png_write_start_row() 2045 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, in png_do_write_interlace() 2065 png_uint_32 row_bytes = row_info->rowbytes; in png_write_find_filter() 2679 png_ptr->zstream.avail_in = (uInt)png_ptr->row_info.rowbytes + 1; in png_write_filtered_row()
|
| H A D | pngpread.c | 808 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_push_process_row() 816 png_ptr->rowbytes + 1); in png_push_process_row() 1015 png_ptr->rowbytes + 1); in png_read_push_finish_row()
|
| H A D | pngset.c | 347 info_ptr->rowbytes = (png_size_t)0; in png_set_IHDR() 349 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth,width); in png_set_IHDR()
|
| H A D | pngread.c | 729 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_read_row() 738 png_ptr->rowbytes + 1); in png_read_row()
|
| H A D | pngget.c | 27 return(info_ptr->rowbytes); in png_get_rowbytes()
|
| H A D | png.h | 658 png_uint_32 rowbytes; /* bytes needed to hold an untransformed row */ member 995 png_uint_32 rowbytes; /* number of bytes in row */ member 1120 png_uint_32 rowbytes; /* size of row in bytes */ member
|
| H A D | CHANGES | 243 Added checks for rowbytes overflow, in case png_size_t is less than 32 bits. 247 Added png_buffered_memcpy() and png_buffered_memset(), apply them to rowbytes. 323 Fixed a bug in pngset.c, introduced in version 0.99c, that sets rowbytes 434 Fixed bugs in calculation of the length of rowbytes when adding alpha 1254 Replaced row_info->rowbytes with row_bytes in png_write_find_filter() 1312 Added ROWBYTES macro to calculate rowbytes without integer overflow.
|
| H A D | libpng.txt | 504 rowbytes = png_get_rowbytes(png_ptr, info_ptr); 505 rowbytes - number of bytes needed to hold a row 720 rowbytes, as some of the transformations could increase the space 1124 call. This is most useful to update the info structure's rowbytes
|
| /plan9/sys/src/cmd/gs/src/ |
| H A D | gdevpnga.c | 632 int rowbytes = width << 2; in pnga_output_page() local 635 byte *row = gs_alloc_bytes(mem, rowbytes, "png raster buffer"); in pnga_output_page()
|
| H A D | gdevp14.c | 694 int rowbytes = width << 2; in dump_planar_rgba() local 695 byte *row = gs_malloc(mem, rowbytes, 1, "png raster buffer"); in dump_planar_rgba() 779 gs_free(mem, row, rowbytes, 1, "png raster buffer"); in dump_planar_rgba()
|