/third_party/skia/tools/gdb/ |
H A D | bitmap.py | 57 row_bytes = pixmap['fRowBytes'] 66 memory_data = process.read_memory(pixels, row_bytes * height) 73 "raw", "BGRA", row_bytes, 1) 77 "raw", "BGRa", row_bytes, 1)
|
/third_party/skia/third_party/externals/libpng/ |
H A D | pngwutil.c | 2275 size_t row_bytes); 2280 size_t row_bytes, size_t lmins) in png_setup_sub_row() 2300 for (lp = png_ptr->row_buf + 1; i < row_bytes; in png_setup_sub_row() 2319 size_t row_bytes) in png_setup_sub_row_only() 2332 for (lp = png_ptr->row_buf + 1; i < row_bytes; in png_setup_sub_row_only() 2340 png_setup_up_row(png_structrp png_ptr, size_t row_bytes, size_t lmins) in png_setup_up_row() argument 2350 pp = png_ptr->prev_row + 1; i < row_bytes; in png_setup_up_row() 2367 png_setup_up_row_only(png_structrp png_ptr, size_t row_bytes) in png_setup_up_row_only() argument 2375 pp = png_ptr->prev_row + 1; i < row_bytes; in png_setup_up_row_only() 2384 size_t row_bytes, size_ in png_setup_avg_row() 2279 png_setup_sub_row(png_structrp png_ptr, png_uint_32 bpp, size_t row_bytes, size_t lmins) png_setup_sub_row() argument 2318 png_setup_sub_row_only(png_structrp png_ptr, png_uint_32 bpp, size_t row_bytes) png_setup_sub_row_only() argument 2383 png_setup_avg_row(png_structrp png_ptr, png_uint_32 bpp, size_t row_bytes, size_t lmins) png_setup_avg_row() argument 2423 png_setup_avg_row_only(png_structrp png_ptr, png_uint_32 bpp, size_t row_bytes) png_setup_avg_row_only() argument 2445 png_setup_paeth_row(png_structrp png_ptr, png_uint_32 bpp, size_t row_bytes, size_t lmins) png_setup_paeth_row() argument 2506 png_setup_paeth_row_only(png_structrp png_ptr, png_uint_32 bpp, size_t row_bytes) png_setup_paeth_row_only() argument [all...] |
H A D | pngread.c | 797 uInt row_bytes = row_info_in.rowbytes; in png_read_muilty_rows() local 799 png_read_IDAT_data(png_ptr, png_ptr->row_buf, (row_bytes + 1) * row_num); in png_read_muilty_rows() 862 png_ptr->row_buf = png_ptr->row_buf + row_bytes + 1; in png_read_muilty_rows() 1549 ptrdiff_t row_bytes; /* step between rows */ member 3230 ptrdiff_t step_row = display->row_bytes; in png_image_read_and_map() 3469 ptrdiff_t row_bytes = display->row_stride; in png_image_read_colormapped() local 3474 if (row_bytes < 0) in png_image_read_colormapped() 3477 ptr += (image->height-1) * (-row_bytes); in png_image_read_colormapped() 3482 display->row_bytes = row_bytes; in png_image_read_colormapped() 3500 png_alloc_size_t row_bytes = (png_alloc_size_t)display->row_bytes; png_image_read_colormapped() local 4297 ptrdiff_t row_bytes = display->row_stride; png_image_read_direct() local 4344 png_alloc_size_t row_bytes = (png_alloc_size_t)display->row_bytes; png_image_read_direct() local [all...] |
H A D | pngwrite.c | 1515 ptrdiff_t row_bytes; member 1625 input_row += (png_uint_16)display->row_bytes/(sizeof (png_uint_16)); in png_write_image_16bit() 1751 input_row += (png_uint_16)display->row_bytes/(sizeof (png_uint_16)); in png_write_image_8bit() 1776 input_row += (png_uint_16)display->row_bytes/(sizeof (png_uint_16)); in png_write_image_8bit() 2092 ptrdiff_t row_bytes = display->row_stride; in png_image_write_main() local 2095 row_bytes *= (sizeof (png_uint_16)); in png_image_write_main() 2097 if (row_bytes < 0) in png_image_write_main() 2098 row += (image->height-1) * (-row_bytes); in png_image_write_main() 2101 display->row_bytes = row_bytes; in png_image_write_main() 2149 ptrdiff_t row_bytes = display->row_bytes; png_image_write_main() local [all...] |
H A D | pngpread.c | 687 uInt row_bytes = png_ptr->rowbytes + 1; in png_push_process_multi_rows() local 705 png_ptr->row_buf[0] == png_ptr->row_buf[row_bytes]) in png_push_process_multi_rows() 708 png_ptr->row_buf = png_ptr->row_buf + row_bytes; in png_push_process_multi_rows() 713 png_ptr->row_buf = png_ptr->row_buf + row_bytes; in png_push_process_multi_rows() 719 memcpy(png_ptr->prev_row, png_ptr->row_buf - row_bytes, row_bytes); in png_push_process_multi_rows()
|
H A D | pngwtran.c | 217 size_t row_bytes = row_info->rowbytes; in png_do_shift() local 228 for (i = 0; i < row_bytes; i++, bp++) in png_do_shift()
|
H A D | pngrutil.c | 4412 size_t row_bytes; in png_read_start_row() local 4592 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7)); in png_read_start_row() 4596 row_bytes = PNG_ROWBYTES(max_pixel_depth, row_bytes) + in png_read_start_row() 4600 if (row_bytes > (png_uint_32)65536L) in png_read_start_row() 4604 if (row_bytes + 48 > png_ptr->old_big_row_buf_size) in png_read_start_row() 4611 row_bytes + 48); in png_read_start_row() 4625 png_ptr, row_bytes * row_num + 48); // 48 is boundary protection in png_read_start_row() 4629 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row() 4633 png_ptr->big_prev_row = (png_bytep)png_malloc(png_ptr, row_bytes in png_read_start_row() [all...] |
/third_party/skia/third_party/externals/libpng/contrib/pngminus/ |
H A D | png2pnm.c | 172 png_uint_32 row_bytes; in png2pnm() local 289 /* row_bytes is the width x number of channels x (bit-depth / 8) */ in png2pnm() 290 row_bytes = png_get_rowbytes (png_ptr, info_ptr); in png2pnm() 292 if ((row_bytes == 0) || in png2pnm() 293 ((size_t) height > (size_t) (-1) / (size_t) row_bytes)) in png2pnm() 300 malloc ((size_t) row_bytes * (size_t) height)) == NULL) in png2pnm() 316 row_pointers[i] = png_pixels + i * row_bytes; in png2pnm()
|
H A D | pnm2png.c | 171 volatile png_uint_32 row_bytes; in pnm2png() local 351 row_bytes = (width * channels * bit_depth + 7) / 8; in pnm2png() 356 /* row_bytes is the width x number of channels x (bit-depth / 8) */ in pnm2png() 357 row_bytes = width * channels * ((bit_depth <= 8) ? 1 : 2); in pnm2png() 360 if ((row_bytes == 0) || in pnm2png() 361 ((size_t) height > (size_t) (-1) / (size_t) row_bytes)) in pnm2png() 367 malloc ((size_t) row_bytes * (size_t) height)) == NULL) in pnm2png() 381 for (i = 0; i < (int) row_bytes; i++) in pnm2png() 495 row_pointers[i] = png_pixels + i * row_bytes; in pnm2png()
|
/third_party/backends/backend/genesys/ |
H A D | image_pipeline.cpp | 94 auto row_bytes = get_row_bytes(); in get_next_row_data() local 95 std::memcpy(out_data, data_.data() + row_bytes * next_row_, row_bytes); in get_next_row_data() 909 auto row_bytes = get_output_row_bytes(); in get_all_data() local 913 ret.resize(row_bytes * height); in get_all_data() 916 get_next_row_data(ret.data() + row_bytes * i); in get_all_data()
|
H A D | row_buffer.h | 144 std::size_t row_bytes() const { return row_bytes_; } in row_bytes() function in genesys::RowBuffer
|
H A D | image_pixel.h | 83 std::size_t get_pixels_from_row_bytes(PixelFormat format, std::size_t row_bytes);
|
H A D | image_pixel.cpp | 84 std::size_t get_pixels_from_row_bytes(PixelFormat format, std::size_t row_bytes) in get_pixels_from_row_bytes() argument 87 return (row_bytes * 8) / depth; in get_pixels_from_row_bytes()
|
/third_party/skia/gm/ |
H A D | rasterhandleallocator.cpp | 203 size_t row_bytes = width * sizeof(SkPMColor); in Create() local 204 sk_bzero(pixels, row_bytes * height); in Create() 227 rec->fRowBytes = row_bytes; in Create()
|
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
H A D | pngfix.c | 1481 udigit row_width[2], row_bytes[3]; in calc_image_size() local 1491 /* calculate 1+((pw*pd+7)>>3) in row_bytes */ in calc_image_size() 1492 digits = uarb_mult_digit(row_bytes, uarb_set(row_bytes, 7), in calc_image_size() 1494 digits = uarb_shift(row_bytes, digits, 3); in calc_image_size() 1495 digits = uarb_inc(row_bytes, digits, 1); in calc_image_size() 1497 /* Add row_bytes * pass-height to the file image_bytes field in calc_image_size() 1500 row_bytes, digits, in calc_image_size() 1512 udigit row_width[2], row_bytes[3]; in calc_image_size() local 1515 digits = uarb_mult_digit(row_bytes, uarb_se in calc_image_size() [all...] |
/third_party/mesa3d/src/glx/apple/ |
H A D | apple_glx_drawable.h | 134 int row_bytes; member
|
H A D | apple_glx_drawable.c | 290 d->row_bytes = 0; in common_init()
|
/third_party/ffmpeg/libavcodec/ |
H A D | rawdec.c | 211 int row_bytes = avctx->width / 8 + (avctx->width & 7 ? 1 : 0); in raw_decode() local 213 FFALIGN(row_bytes, 16) * 8, in raw_decode()
|