Searched refs:out_row (Results 1 – 1 of 1) sorted by relevance
631 auto out_row = std::unique_ptr<png_byte[]>(new png_byte[image->width]); in WritePng() local648 out_row[x] = static_cast<png_byte>(idx); in WritePng()650 png_write_row(write_ptr, out_row.get()); in WritePng()654 auto out_row = std::unique_ptr<png_byte[]>(new png_byte[image->width * bpp]); in WritePng() local670 out_row[x * bpp] = in_row[x * 4]; in WritePng()675 out_row[x * bpp] = (png_byte)(rr * 0.2126f + gg * 0.7152f + bb * 0.0722f); in WritePng()680 out_row[x * bpp + 1] = aa; in WritePng()683 png_write_row(write_ptr, out_row.get()); in WritePng()690 auto out_row = std::unique_ptr<png_byte[]>(new png_byte[image->width * bpp]); in WritePng() local703 out_row[x * bpp] = rr; in WritePng()[all …]