Searched refs:png_encoding (Results 1 – 2 of 2) sorted by relevance
388 std::vector<uint8_t> png_encoding = in WritePng() local390 if (png_encoding.empty()) { in WritePng()411 fwrite(&png_encoding.front(), 1, png_encoding.size(), fp); in WritePng()412 if (bytes_written != png_encoding.size()) in WritePng()588 std::vector<uint8_t> png_encoding; in EncodeBitmapToPng() local591 return png_encoding; in EncodeBitmapToPng()597 return png_encoding; in EncodeBitmapToPng()603 png_encoding = EncodePng(input, width, height, stride, format); in EncodeBitmapToPng()604 return png_encoding; in EncodeBitmapToPng()678 std::vector<uint8_t> png_encoding = EncodeBitmapToPng(std::move(bitmap)); in WriteImages() local[all …]
306 std::vector<uint8_t> png_encoding = image_diff_png::EncodeRGBAPNG( in DiffImages() local308 if (png_encoding.empty()) in DiffImages()315 size_t size = png_encoding.size(); in DiffImages()316 char* ptr = reinterpret_cast<char*>(&png_encoding.front()); in DiffImages()