/external/skqp/src/codec/ |
D | SkAndroidCodec.cpp | 61 SkAndroidCodec::ExifOrientationBehavior orientationBehavior) { in adjust_info() 63 if (orientationBehavior == SkAndroidCodec::ExifOrientationBehavior::kIgnore in adjust_info() 70 SkAndroidCodec::SkAndroidCodec(SkCodec* codec, ExifOrientationBehavior orientationBehavior) in SkAndroidCodec() function in SkAndroidCodec 76 SkAndroidCodec::~SkAndroidCodec() {} in ~SkAndroidCodec() 78 std::unique_ptr<SkAndroidCodec> SkAndroidCodec::MakeFromStream(std::unique_ptr<SkStream> stream, in MakeFromStream() 84 std::unique_ptr<SkAndroidCodec> SkAndroidCodec::MakeFromCodec(std::unique_ptr<SkCodec> codec, in MakeFromCodec() 115 std::unique_ptr<SkAndroidCodec> SkAndroidCodec::MakeFromData(sk_sp<SkData> data, in MakeFromData() 124 SkColorType SkAndroidCodec::computeOutputColorType(SkColorType requestedColorType) { in computeOutputColorType() 155 SkAlphaType SkAndroidCodec::computeOutputAlphaType(bool requestedUnpremul) { in computeOutputAlphaType() 162 sk_sp<SkColorSpace> SkAndroidCodec::computeOutputColorSpace(SkColorType outputColorType, in computeOutputColorSpace() [all …]
|
D | SkAndroidCodecAdapter.h | 17 class SkAndroidCodecAdapter : public SkAndroidCodec { 35 typedef SkAndroidCodec INHERITED;
|
D | SkSampledCodec.h | 17 class SkSampledCodec : public SkAndroidCodec { 57 typedef SkAndroidCodec INHERITED;
|
/external/skia/src/codec/ |
D | SkAndroidCodec.cpp | 58 SkAndroidCodec::SkAndroidCodec(SkCodec* codec) in SkAndroidCodec() function in SkAndroidCodec 63 SkAndroidCodec::~SkAndroidCodec() {} in ~SkAndroidCodec() 65 std::unique_ptr<SkAndroidCodec> SkAndroidCodec::MakeFromStream(std::unique_ptr<SkStream> stream, in MakeFromStream() 71 std::unique_ptr<SkAndroidCodec> SkAndroidCodec::MakeFromCodec(std::unique_ptr<SkCodec> codec) { in MakeFromCodec() 106 std::unique_ptr<SkAndroidCodec> SkAndroidCodec::MakeFromData(sk_sp<SkData> data, in MakeFromData() 115 SkColorType SkAndroidCodec::computeOutputColorType(SkColorType requestedColorType) { in computeOutputColorType() 146 SkAlphaType SkAndroidCodec::computeOutputAlphaType(bool requestedUnpremul) { in computeOutputAlphaType() 153 sk_sp<SkColorSpace> SkAndroidCodec::computeOutputColorSpace(SkColorType outputColorType, in computeOutputColorSpace() 203 int SkAndroidCodec::computeSampleSize(SkISize* desiredSize) const { in computeSampleSize() 281 SkISize SkAndroidCodec::getSampledDimensions(int sampleSize) const { in getSampledDimensions() [all …]
|
D | SkAndroidCodecAdapter.h | 17 class SkAndroidCodecAdapter : public SkAndroidCodec { 35 using INHERITED = SkAndroidCodec;
|
D | SkSampledCodec.h | 17 class SkSampledCodec : public SkAndroidCodec { 57 using INHERITED = SkAndroidCodec;
|
/external/skqp/include/android/ |
D | SkAnimatedImage.h | 17 class SkAndroidCodec; variable 35 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>, 41 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>); 127 std::unique_ptr<SkAndroidCodec> fCodec; 144 SkAnimatedImage(std::unique_ptr<SkAndroidCodec>, SkISize scaledSize, 146 SkAnimatedImage(std::unique_ptr<SkAndroidCodec>);
|
/external/skia/include/codec/ |
D | SkAndroidCodec.h | 20 class SK_API SkAndroidCodec : SkNoncopyable { 38 static std::unique_ptr<SkAndroidCodec> MakeFromCodec(std::unique_ptr<SkCodec>); 50 static std::unique_ptr<SkAndroidCodec> MakeFromStream(std::unique_ptr<SkStream>, 60 static std::unique_ptr<SkAndroidCodec> MakeFromData(sk_sp<SkData>, SkPngChunkReader* = nullptr); 62 virtual ~SkAndroidCodec(); 250 SkAndroidCodec(SkCodec*);
|
/external/skqp/include/codec/ |
D | SkAndroidCodec.h | 20 class SK_API SkAndroidCodec : SkNoncopyable { 45 static std::unique_ptr<SkAndroidCodec> MakeFromCodec(std::unique_ptr<SkCodec>, 60 static std::unique_ptr<SkAndroidCodec> MakeFromStream(std::unique_ptr<SkStream>, 72 static std::unique_ptr<SkAndroidCodec> MakeFromData(sk_sp<SkData>, SkPngChunkReader* = nullptr); 74 virtual ~SkAndroidCodec(); 273 SkAndroidCodec(SkCodec*, ExifOrientationBehavior = ExifOrientationBehavior::kIgnore);
|
/external/skia/bench/ |
D | AndroidCodecBench.cpp | 32 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromData(fData)); in onDelayedSetup() 44 std::unique_ptr<SkAndroidCodec> codec; in onDraw() 45 SkAndroidCodec::AndroidOptions options; in onDraw() 48 codec = SkAndroidCodec::MakeFromData(fData); in onDraw()
|
/external/skqp/bench/ |
D | AndroidCodecBench.cpp | 32 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromData(fData)); in onDelayedSetup() 45 std::unique_ptr<SkAndroidCodec> codec; in onDraw() 46 SkAndroidCodec::AndroidOptions options; in onDraw() 49 codec = SkAndroidCodec::MakeFromData(fData); in onDraw()
|
/external/skia/include/android/ |
D | SkAnimatedImage.h | 17 class SkAndroidCodec; variable 36 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>, 42 static sk_sp<SkAnimatedImage> Make(std::unique_ptr<SkAndroidCodec>); 140 std::unique_ptr<SkAndroidCodec> fCodec; 156 SkAnimatedImage(std::unique_ptr<SkAndroidCodec>, const SkImageInfo& requestedInfo,
|
/external/skqp/tests/ |
D | AndroidCodecTest.cpp | 61 auto codec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(std::move(data))); in DEF_TEST() 146 auto codec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(std::move(data))); in DEF_TEST() 175 auto codec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(std::move(data))); in DEF_TEST() 223 auto androidCodec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(data)); in DEF_TEST() 238 androidCodec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(std::move(data)), in DEF_TEST() 239 SkAndroidCodec::ExifOrientationBehavior::kRespect); in DEF_TEST() 281 auto androidCodec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(std::move(data)), in DEF_TEST() 282 SkAndroidCodec::ExifOrientationBehavior::kRespect); in DEF_TEST() 286 SkAndroidCodec::AndroidOptions options; in DEF_TEST()
|
D | AnimatedImageTest.cpp | 43 auto codec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(data)); in DEF_TEST() 134 auto androidCodec = SkAndroidCodec::MakeFromCodec(std::move(codec)); in DEF_TEST() 234 auto androidCodec = SkAndroidCodec::MakeFromCodec(std::move(codec)); in DEF_TEST() 333 animatedImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec( in DEF_TEST()
|
D | CodecTest.cpp | 435 auto androidCodec = SkAndroidCodec::MakeFromCodec(std::move(codec)); in check() 545 REPORTER_ASSERT(r, !SkAndroidCodec::MakeFromStream( in test_invalid_stream() 576 REPORTER_ASSERT(r, !SkAndroidCodec::MakeFromStream(nullptr)); in DEF_TEST() 585 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromStream(std::move(stream))); in test_dimensions() 604 SkAndroidCodec::AndroidOptions options; in test_dimensions() 973 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromData(data)); in DEF_TEST() 985 SkAndroidCodec::AndroidOptions opts; in DEF_TEST() 1016 … std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromStream(GetResourceAsStream(path))); in check_color_xform() 1018 SkAndroidCodec::AndroidOptions opts; in check_color_xform() 1332 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromStream(std::move(stream))); in DEF_TEST() [all …]
|
/external/skia/tests/ |
D | AnimatedImageTest.cpp | 46 auto androidCodec = SkAndroidCodec::MakeFromData(std::move(data)); in DEF_TEST() 70 auto androidCodec = SkAndroidCodec::MakeFromData(std::move(data)); in DEF_TEST() 130 auto codec = SkAndroidCodec::MakeFromData(data); in DEF_TEST() 158 auto codec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(data)); in DEF_TEST() 238 auto androidCodec = SkAndroidCodec::MakeFromCodec(std::move(codec)); in DEF_TEST() 338 auto androidCodec = SkAndroidCodec::MakeFromCodec(std::move(codec)); in DEF_TEST() 437 animatedImage = SkAnimatedImage::Make(SkAndroidCodec::MakeFromCodec( in DEF_TEST()
|
D | AndroidCodecTest.cpp | 65 auto codec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(std::move(data))); in DEF_TEST() 150 auto codec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(std::move(data))); in DEF_TEST() 179 auto codec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(std::move(data))); in DEF_TEST()
|
D | CodecTest.cpp | 440 auto androidCodec = SkAndroidCodec::MakeFromCodec(std::move(codec)); in check() 550 REPORTER_ASSERT(r, !SkAndroidCodec::MakeFromStream( in test_invalid_stream() 581 REPORTER_ASSERT(r, !SkAndroidCodec::MakeFromStream(nullptr)); in DEF_TEST() 590 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromStream(std::move(stream))); in test_dimensions() 609 SkAndroidCodec::AndroidOptions options; in test_dimensions() 980 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromData(data)); in DEF_TEST() 992 SkAndroidCodec::AndroidOptions opts; in DEF_TEST() 1023 … std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromStream(GetResourceAsStream(path))); in check_color_xform() 1025 SkAndroidCodec::AndroidOptions opts; in check_color_xform() 1336 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromStream(std::move(stream))); in DEF_TEST() [all …]
|
/external/skqp/src/android/ |
D | SkBitmapRegionCodec.h | 24 SkBitmapRegionCodec(SkAndroidCodec* codec); 44 std::unique_ptr<SkAndroidCodec> fCodec;
|
D | SkBitmapRegionCodec.cpp | 13 SkBitmapRegionCodec::SkBitmapRegionCodec(SkAndroidCodec* codec) in SkBitmapRegionCodec() 100 SkAndroidCodec::AndroidOptions options; in decodeRegion()
|
/external/skia/client_utils/android/ |
D | BitmapRegionDecoder.h | 43 BitmapRegionDecoder(std::unique_ptr<SkAndroidCodec> codec); 45 std::unique_ptr<SkAndroidCodec> fCodec;
|
D | BitmapRegionDecoder.cpp | 17 auto codec = SkAndroidCodec::MakeFromData(std::move(data)); in Make() 36 BitmapRegionDecoder::BitmapRegionDecoder(std::unique_ptr<SkAndroidCodec> codec) in BitmapRegionDecoder() 130 SkAndroidCodec::AndroidOptions options; in decodeRegion()
|
/external/skqp/fuzz/oss_fuzz/ |
D | FuzzAndroidCodec.cpp | 17 auto codec = SkAndroidCodec::MakeFromData(bytes); in FuzzAndroidCodec() 30 SkAndroidCodec::AndroidOptions options; in FuzzAndroidCodec()
|
/external/skia/fuzz/oss_fuzz/ |
D | FuzzAndroidCodec.cpp | 17 auto codec = SkAndroidCodec::MakeFromData(bytes); in FuzzAndroidCodec() 30 SkAndroidCodec::AndroidOptions options; in FuzzAndroidCodec()
|
/external/skia/src/android/ |
D | SkAnimatedImage.cpp | 22 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec, in Make() 42 sk_sp<SkAnimatedImage> SkAnimatedImage::Make(std::unique_ptr<SkAndroidCodec> codec) { in Make() 56 SkAnimatedImage::SkAnimatedImage(std::unique_ptr<SkAndroidCodec> codec, in SkAnimatedImage() 247 SkAndroidCodec::AndroidOptions options; in decodeNextFrame()
|