Lines Matching refs:row_bytes
3201 png_size_t row_bytes;
3331 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7));
3335 row_bytes = PNG_ROWBYTES(max_pixel_depth, row_bytes) +
3338 if (row_bytes > (png_uint_32)65536L)
3342 if (row_bytes + 64 > png_ptr->old_big_row_buf_size)
3347 row_bytes + 64);
3350 row_bytes + 64);
3351 png_ptr->old_big_row_buf_size = row_bytes + 64;
3355 png_ptr->old_big_row_buf_size = row_bytes + 64;
3359 if ((png_uint_32)row_bytes + 1 > (png_uint_32)65536L)
3362 if ((png_uint_32)row_bytes > (png_uint_32)(PNG_SIZE_MAX - 1))
3365 if (row_bytes + 1 > png_ptr->old_prev_row_size)
3369 row_bytes + 1));
3370 png_memset_check(png_ptr, png_ptr->prev_row, 0, row_bytes + 1);
3371 png_ptr->old_prev_row_size = row_bytes + 1;
3374 png_ptr->rowbytes = row_bytes;