/external/libpng/contrib/pngminus/ |
D | pnm2png.c | 198 volatile png_uint_32 row_bytes; in pnm2png() local 370 row_bytes = (width * channels * bit_depth + 7) / 8; in pnm2png() 374 row_bytes = width * channels * ((bit_depth <= 8) ? 1 : 2); in pnm2png() 377 malloc (row_bytes * height * sizeof (png_byte))) == NULL) in pnm2png() 387 for (i = 0; i < (int) row_bytes; i++) in pnm2png() 491 row_pointers[i] = png_pixels + i * row_bytes; in pnm2png()
|
D | png2pnm.c | 202 png_uint_32 row_bytes; in png2pnm() local 321 row_bytes = png_get_rowbytes (png_ptr, info_ptr); in png2pnm() 324 malloc (row_bytes * height * sizeof (png_byte))) == NULL) { in png2pnm() 340 row_pointers[i] = png_pixels + i * row_bytes; in png2pnm()
|
/external/libpng/ |
D | pngwutil.c | 2247 png_size_t row_bytes); 2252 const png_size_t row_bytes, const png_size_t lmins) in png_setup_sub_row() argument 2268 for (lp = png_ptr->row_buf + 1; i < row_bytes; in png_setup_sub_row() 2282 png_setup_up_row(png_structrp png_ptr, const png_size_t row_bytes, in png_setup_up_row() argument 2293 pp = png_ptr->prev_row + 1; i < row_bytes; in png_setup_up_row() 2308 const png_size_t row_bytes, const png_size_t lmins) in png_setup_avg_row() argument 2325 for (lp = png_ptr->row_buf + 1; i < row_bytes; i++) in png_setup_avg_row() 2341 const png_size_t row_bytes, const png_size_t lmins) in png_setup_paeth_row() argument 2358 for (lp = png_ptr->row_buf + 1, cp = png_ptr->prev_row + 1; i < row_bytes; in png_setup_paeth_row() 2405 png_size_t row_bytes = row_info->rowbytes; in png_write_find_filter() [all …]
|
D | pngread.c | 1268 ptrdiff_t row_bytes; /* step between rows */ member 2945 ptrdiff_t step_row = display->row_bytes; in png_image_read_and_map() 3185 ptrdiff_t row_bytes = display->row_stride; in png_image_read_colormapped() local 3190 if (row_bytes < 0) in png_image_read_colormapped() 3193 ptr += (image->height-1) * (-row_bytes); in png_image_read_colormapped() 3198 display->row_bytes = row_bytes; in png_image_read_colormapped() 3216 png_alloc_size_t row_bytes = display->row_bytes; in png_image_read_colormapped() local 3226 row += row_bytes; in png_image_read_colormapped() 3261 ptrdiff_t step_row = display->row_bytes; in png_image_read_composite() 3422 ptrdiff_t step_row = display->row_bytes; in png_image_read_background() [all …]
|
D | pngwrite.c | 1504 ptrdiff_t row_bytes; member 1613 input_row += display->row_bytes/(sizeof (png_uint_16)); in png_write_image_16bit() 1738 input_row += display->row_bytes/(sizeof (png_uint_16)); in png_write_image_8bit() 1763 input_row += display->row_bytes/(sizeof (png_uint_16)); in png_write_image_8bit() 2079 ptrdiff_t row_bytes = display->row_stride; in png_image_write_main() local 2082 row_bytes *= (sizeof (png_uint_16)); in png_image_write_main() 2084 if (row_bytes < 0) in png_image_write_main() 2085 row += (image->height-1) * (-row_bytes); in png_image_write_main() 2088 display->row_bytes = row_bytes; in png_image_write_main() 2136 ptrdiff_t row_bytes = display->row_bytes; in png_image_write_main() local [all …]
|
D | pngwtran.c | 217 png_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()
|
D | pngrutil.c | 4256 png_size_t row_bytes; in png_read_start_row() local 4436 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7)); in png_read_start_row() 4440 row_bytes = PNG_ROWBYTES(max_pixel_depth, row_bytes) + in png_read_start_row() 4444 if (row_bytes > (png_uint_32)65536L) in png_read_start_row() 4448 if (row_bytes + 48 > png_ptr->old_big_row_buf_size) in png_read_start_row() 4455 row_bytes + 48); in png_read_start_row() 4458 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row() 4460 png_ptr->big_prev_row = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row() 4485 png_ptr->old_big_row_buf_size = row_bytes + 48; in png_read_start_row()
|
D | CHANGES | 1406 Replaced row_info->rowbytes with row_bytes in png_write_find_filter()
|
/external/pdfium/third_party/lpng_v163/ |
D | pngread.c | 1161 ptrdiff_t row_bytes; /* step between rows */ member 2816 ptrdiff_t step_row = display->row_bytes; in png_image_read_and_map() 3056 ptrdiff_t row_bytes = display->row_stride; in png_image_read_colormapped() local 3061 if (row_bytes < 0) in png_image_read_colormapped() 3064 ptr += (image->height-1) * (-row_bytes); in png_image_read_colormapped() 3069 display->row_bytes = row_bytes; in png_image_read_colormapped() 3087 png_alloc_size_t row_bytes = display->row_bytes; in png_image_read_colormapped() local 3097 row += row_bytes; in png_image_read_colormapped() 3133 ptrdiff_t step_row = display->row_bytes; in png_image_read_composite() 3293 ptrdiff_t step_row = display->row_bytes; in png_image_read_background() [all …]
|
D | pngwrite.c | 1614 ptrdiff_t row_bytes; member 1716 input_row += display->row_bytes/(sizeof (png_uint_16)); in png_write_image_16bit() 1839 input_row += display->row_bytes/(sizeof (png_uint_16)); in png_write_image_8bit() 1864 input_row += display->row_bytes/(sizeof (png_uint_16)); in png_write_image_8bit() 2144 ptrdiff_t row_bytes = display->row_stride; in png_image_write_main() local 2147 row_bytes *= (sizeof (png_uint_16)); in png_image_write_main() 2149 if (row_bytes < 0) in png_image_write_main() 2150 row += (image->height-1) * (-row_bytes); in png_image_write_main() 2153 display->row_bytes = row_bytes; in png_image_write_main() 2198 ptrdiff_t row_bytes = display->row_bytes; in png_image_write_main() local [all …]
|
D | pngwutil.c | 2312 png_size_t row_bytes); 2326 png_size_t row_bytes = row_info->rowbytes; in png_write_find_filter() local 2386 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++) in png_write_find_filter() 2446 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter() 2508 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter() 2567 pp = prev_row + 1; i < row_bytes; in png_write_find_filter() 2619 pp = prev_row + 1; i < row_bytes; i++) in png_write_find_filter() 2682 for (lp = row_buf + 1; i < row_bytes; i++) in png_write_find_filter() 2739 for (lp = row_buf + 1; i < row_bytes; i++) in png_write_find_filter() 2803 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes; i++) in png_write_find_filter() [all …]
|
D | pngwtran.c | 290 png_size_t row_bytes = row_info->rowbytes; in png_do_shift() local 301 for (i = 0; i < row_bytes; i++, bp++) in png_do_shift()
|
D | pngrutil.c | 4197 png_size_t row_bytes; in png_read_start_row() local 4378 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7)); in png_read_start_row() 4382 row_bytes = PNG_ROWBYTES(max_pixel_depth, row_bytes) + in png_read_start_row() 4386 if (row_bytes > (png_uint_32)65536L) in png_read_start_row() 4390 if (row_bytes + 48 > png_ptr->old_big_row_buf_size) in png_read_start_row() 4397 row_bytes + 48); in png_read_start_row() 4400 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row() 4402 png_ptr->big_prev_row = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row() 4427 png_ptr->old_big_row_buf_size = row_bytes + 48; in png_read_start_row()
|
/external/libpng/contrib/tools/ |
D | pngfix.c | 1482 udigit row_width[2], row_bytes[3]; in calc_image_size() local 1493 digits = uarb_mult_digit(row_bytes, uarb_set(row_bytes, 7), in calc_image_size() 1495 digits = uarb_shift(row_bytes, digits, 3); in calc_image_size() 1496 digits = uarb_inc(row_bytes, digits, 1); in calc_image_size() 1501 row_bytes, digits, in calc_image_size() 1513 udigit row_width[2], row_bytes[3]; in calc_image_size() local 1516 digits = uarb_mult_digit(row_bytes, uarb_set(row_bytes, 7), in calc_image_size() 1518 digits = uarb_shift(row_bytes, digits, 3); in calc_image_size() 1519 digits = uarb_inc(row_bytes, digits, 1); in calc_image_size() 1523 row_bytes, digits, file->height); in calc_image_size()
|
/external/webrtc/webrtc/modules/desktop_capture/x11/ |
D | x_server_pixel_buffer.cc | 279 int row_bytes = rect.width() * DesktopFrame::kBytesPerPixel; in FastBlit() local 281 memcpy(dst_pos, src_pos, row_bytes); in FastBlit()
|
/external/opencv3/3rdparty/libpng/ |
D | pngwutil.c | 2417 png_size_t row_bytes); 2431 png_size_t row_bytes = row_info->rowbytes; in png_write_find_filter() local 2491 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++) in png_write_find_filter() 2551 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter() 2613 for (lp = row_buf + 1; i < row_bytes; in png_write_find_filter() 2672 pp = prev_row + 1; i < row_bytes; in png_write_find_filter() 2724 pp = prev_row + 1; i < row_bytes; i++) in png_write_find_filter() 2787 for (lp = row_buf + 1; i < row_bytes; i++) in png_write_find_filter() 2844 for (lp = row_buf + 1; i < row_bytes; i++) in png_write_find_filter() 2908 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes; i++) in png_write_find_filter() [all …]
|
D | pngwtran.c | 291 png_size_t row_bytes = row_info->rowbytes; in png_do_shift() local 302 for (i = 0; i < row_bytes; i++, bp++) in png_do_shift()
|
D | pngrutil.c | 3906 png_size_t row_bytes; in png_read_start_row() local 4087 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7)); in png_read_start_row() 4091 row_bytes = PNG_ROWBYTES(max_pixel_depth, row_bytes) + in png_read_start_row() 4095 if (row_bytes > (png_uint_32)65536L) in png_read_start_row() 4099 if (row_bytes + 48 > png_ptr->old_big_row_buf_size) in png_read_start_row() 4106 row_bytes + 48); in png_read_start_row() 4109 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row() 4111 png_ptr->big_prev_row = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row() 4136 png_ptr->old_big_row_buf_size = row_bytes + 48; in png_read_start_row()
|
D | CHANGES | 1398 Replaced row_info->rowbytes with row_bytes in png_write_find_filter()
|
/external/mesa3d/src/glx/apple/ |
D | apple_glx_drawable.h | 134 int row_bytes; member
|
D | apple_glx_drawable.c | 290 d->row_bytes = 0; in common_init()
|
/external/chromium-trace/catapult/telemetry/third_party/png/ |
D | png.py | 902 row_bytes = vpr 905 row_bytes *= 2 908 return array('H', struct.unpack(fmt, infile.read(row_bytes))) 911 scanline = array('B', infile.read(row_bytes)) 1668 rb = self.row_bytes 1801 self.row_bytes = int(math.ceil(self.width * self.psize)) 3010 reader.row_bytes = 6
|