Home
last modified time | relevance | path

Searched refs:kPNG (Results 1 – 25 of 36) sorted by relevance

12

/external/skia/gm/
Dencode-platform.cpp42 SkEncodedImageFormat::kPNG, SkEncodedImageFormat::kJPEG, SkEncodedImageFormat::kGIF,
48 SkEncodedImageFormat::kPNG, SkEncodedImageFormat::kJPEG, SkEncodedImageFormat::kPNG,
49 SkEncodedImageFormat::kPNG, SkEncodedImageFormat::kPNG,
54 SkEncodedImageFormat::kPNG, SkEncodedImageFormat::kJPEG, SkEncodedImageFormat::kWEBP,
55 SkEncodedImageFormat::kPNG, SkEncodedImageFormat::kPNG,
72 case SkEncodedImageFormat::kPNG: in encode_data()
Dencode-srgb.cpp126 case SkEncodedImageFormat::kPNG: in encode_data()
151 case SkEncodedImageFormat::kPNG: in onShortName()
204 DEF_GM( return new EncodeSRGBGM(SkEncodedImageFormat::kPNG); )
Dencode.cpp32 … sk_sp<SkData> pngData(sk_tool_utils::EncodeImageToData(orig, SkEncodedImageFormat::kPNG, 100)); in onDraw()
Dimage_shader.cpp60 sk_sp<SkData> encoded(src->encode(SkEncodedImageFormat::kPNG, 100)); in make_encode_gen()
/external/skia/bench/
DEncoderBench.cpp31 case SkEncodedImageFormat::kPNG: in EncodeBench()
78 DEF_BENCH(return new EncodeBench("mandrill_512.png", SkEncodedImageFormat::kPNG, 90));
79 DEF_BENCH(return new EncodeBench("color_wheel.jpg", SkEncodedImageFormat::kPNG, 90));
DGLBench.cpp187 if (!sk_tool_utils::EncodeImageToFile(filename, bm, SkEncodedImageFormat::kPNG, 100)) { in DumpImage()
/external/skia/tests/
DCrossContextImageTest.cpp92 for (auto format : { SkEncodedImageFormat::kPNG, SkEncodedImageFormat::kJPEG }) {
125 for (auto format : { SkEncodedImageFormat::kPNG, SkEncodedImageFormat::kJPEG }) {
191 for (auto format : { SkEncodedImageFormat::kPNG, SkEncodedImageFormat::kJPEG }) {
DPathOpsConicIntersectionTest.cpp114 SkEncodedImageFormat::kPNG, 100); in writePng()
156 SkEncodedImageFormat::kPNG, 100); in writeDPng()
293 sk_tool_utils::EncodeImageToFile(filename.c_str(), bitmap, SkEncodedImageFormat::kPNG, 100); in writeFrames()
DCodecAnimTest.cpp29 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in write_bm()
DBlitRowTest.cpp183 sk_tool_utils::EncodeImageToFile(name, bm, SkEncodedImageFormat::kPNG, 100); in save_bm()
DCodecTest.cpp1122 sk_sp<SkData>(sk_tool_utils::EncodeImageToData(bm1, SkEncodedImageFormat::kPNG, 100)); in check_round_trip()
1536 case SkEncodedImageFormat::kPNG: in encode_format()
1592 test_encode_icc(r, SkEncodedImageFormat::kPNG, SkTransferFunctionBehavior::kRespect); in DEF_TEST()
1595 test_encode_icc(r, SkEncodedImageFormat::kPNG, SkTransferFunctionBehavior::kIgnore); in DEF_TEST()
/external/skia/include/core/
DSkEncodedImageFormat.h24 kPNG, enumerator
/external/skia/src/images/
DSkImageEncoder.cpp21 case SkEncodedImageFormat::kPNG: in SkEncodeImage()
/external/skia/src/android/
DSkBitmapRegionDecoder.cpp34 case SkEncodedImageFormat::kPNG: in Create()
/external/skia/tools/
Dimgblur.cpp65 if (!sk_tool_utils::EncodeImageToFile(FLAGS_out[0], dst, SkEncodedImageFormat::kPNG, 100)) { in main()
Dpicture_utils.cpp68 … if (sk_tool_utils::EncodeImageToFile(fullPath.c_str(), bm, SkEncodedImageFormat::kPNG, 100)) { in write_bitmap_to_disk()
Dcolorspaceinfo.cpp349 sk_sp<SkData> out = sk_tool_utils::EncodeImageToData(bitmap, SkEncodedImageFormat::kPNG, in main()
390 sk_sp<SkData> out = sk_tool_utils::EncodeImageToData(bitmap, SkEncodedImageFormat::kPNG, in main()
Dget_images_from_skps.cpp80 case SkEncodedImageFormat::kPNG: ext = "png"; break; in sniff()
Dsk_tool_utils.h250 return EncodeImageToData(pmap, SkEncodedImageFormat::kPNG, 100).release(); in MakePixelSerializer()
/external/skia/src/ports/
DSkImageEncoder_CG.cpp85 case SkEncodedImageFormat::kPNG: in SkEncodeImageWithCG()
DSkImageEncoder_WIC.cpp59 case SkEncodedImageFormat::kPNG: in SkEncodeImageWithWIC()
/external/skia/src/codec/
DSkPngCodec.h52 SkEncodedImageFormat onGetEncodedFormat() const override { return SkEncodedImageFormat::kPNG; } in onGetEncodedFormat()
DSkAndroidCodec.cpp76 case SkEncodedImageFormat::kPNG: in NewFromStream()
/external/skia/tools/skdiff/
Dskdiff_utils.cpp87 SkEncodedImageFormat::kPNG, 100); in write_bitmap()
/external/skia/src/image/
DSkImage.cpp126 return SkEncodeImage(&buf, apu.pixmap(), SkEncodedImageFormat::kPNG, 100) in encode()

12