Home
last modified time | relevance | path

Searched refs:png_encoding (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/samples/
Dpdfium_test_write_helper.cc388 std::vector<uint8_t> png_encoding = in WritePng() local
390 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() local
591 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 …]
/external/pdfium/testing/image_diff/
Dimage_diff.cpp306 std::vector<uint8_t> png_encoding = image_diff_png::EncodeRGBAPNG( in DiffImages() local
308 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()