/third_party/skia/bench/ |
D | CodecBench.cpp | 29 SkASSERT(SkCodec::MakeFromData(fData)); in CodecBench() 41 std::unique_ptr<SkCodec> codec = SkCodec::MakeFromData(fData); in onDelayedSetup() 57 codec = SkCodec::MakeFromData(fData); in onDraw()
|
D | AndroidCodecBench.cpp | 32 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromData(fData)); in onDelayedSetup() 48 codec = SkAndroidCodec::MakeFromData(fData); in onDraw()
|
/third_party/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() 230 auto codec = SkCodec::MakeFromData(data); in DEF_TEST() 301 auto codec = SkCodec::MakeFromData(data); in DEF_TEST() 438 SkCodec::MakeFromData(data))); in DEF_TEST()
|
D | BRDTest.cpp | 39 REPORTER_ASSERT(r, SkCodec::MakeFromData(data) != nullptr); in DEF_TEST() 40 REPORTER_ASSERT(r, SkAndroidCodec::MakeFromData(data) != nullptr); in DEF_TEST()
|
D | GifTest.cpp | 213 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(data)); in DEF_TEST() 322 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(data)); in DEF_TEST() 366 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(data)); in DEF_TEST() 483 auto codec = SkCodec::MakeFromData(std::move(data)); in DEF_TEST() 527 auto codec = SkCodec::MakeFromData(std::move(data)); in DEF_TEST() 620 auto codec = SkCodec::MakeFromData(std::move(data)); 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 | CodecAnimTest.cpp | 41 SkCodec::MakeFromData(SkData::MakeSubset(data.get(), 0, 23))->getFrameInfo(); in DEF_TEST() 52 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(std::move(data))); in DEF_TEST() 255 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(data)); in DEF_TEST() 307 codec = SkCodec::MakeFromData(data); in DEF_TEST() 495 auto codec = SkAndroidCodec::MakeFromCodec(SkCodec::MakeFromData(std::move(data))); in test_animated_AndroidCodec() 593 auto codec = SkCodec::MakeFromData(GetResourceAsData(test.fFile)); in DEF_TEST()
|
D | CodecPartialTest.cpp | 35 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(std::move(data))); in create_truth() 181 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(file)); in DEF_TEST() 399 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(data)); in DEF_TEST() 415 codec = SkCodec::MakeFromData(SkData::MakeWithoutCopy(gNoGlobalColorMap, 23)); in DEF_TEST() 475 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(std::move(file))); in DEF_TEST()
|
D | CodecTest.cpp | 495 codec = SkCodec::MakeFromData(SkData::MakeFromStream(stream.get(), 2 * length / 3)); in check() 702 REPORTER_ASSERT(r, !SkCodec::MakeFromData(data)); in test_invalid() 855 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(wStream.detachAsData(), &chunkReader)); in DEF_TEST() 978 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(data)); in DEF_TEST() 1023 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromData(data)); in DEF_TEST() 1124 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(data)); in check_round_trip() 1409 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(SkData::MakeFromStream(stream.get(), 99))); in DEF_TEST() 1604 std::unique_ptr<SkCodec> srgbCodec(SkCodec::MakeFromData(srgbData)); in test_encode_icc() 1613 std::unique_ptr<SkCodec> p3Codec(SkCodec::MakeFromData(p3Data)); in test_encode_icc() 1645 std::unique_ptr<SkCodec> codec = SkCodec::MakeFromData(std::move(subset)); in DEF_TEST() [all …]
|
D | CodecRecommendedTypeTest.cpp | 35 auto androidCodec = SkAndroidCodec::MakeFromData(std::move(data)); in DEF_TEST()
|
D | CodecPriv.h | 23 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(SkData::MakeWithoutCopy(mem, size))); in decode_memory()
|
D | SerialProcsTest.cpp | 75 auto new_pic = SkPicture::MakeFromData(data.get(), &dproc); in DEF_TEST() 145 p0 = SkPicture::MakeFromData(d0.get(), &dprocs); in test_pictures()
|
/third_party/skia/modules/skparagraph/utils/ |
D | TestFontCollection.cpp | 48 fFontProvider->registerTypeface(SkTypeface::MakeFromData(data)); in addFontFromFile() 50 … fFontProvider->registerTypeface(SkTypeface::MakeFromData(data), SkString(familyName.c_str())); in addFontFromFile()
|
/third_party/skia/include/core/ |
D | SkPicture.h | 72 static sk_sp<SkPicture> MakeFromData(const SkData* data, 82 static sk_sp<SkPicture> MakeFromData(const void* data, size_t size,
|
/third_party/skia/tools/ |
D | remote_demo.cpp | 158 auto pic = SkPicture::MakeFromData(picData, &procs); in final_draw() 165 auto picUnderTest = SkPicture::MakeFromData(picData, &procs); in final_draw() 238 auto pic = SkPicture::MakeFromData(skpData.get()); in renderer()
|
/third_party/skia/gm/ |
D | animated_image_orientation.cpp | 53 auto codec = SkCodec::MakeFromData(fData); in init() 103 auto codec = SkCodec::MakeFromData(fData); in onDraw()
|
D | animated_gif.cpp | 181 return SkCodec::MakeFromData(SkData::MakeFromFileName(filename)); in load_codec() 244 auto codec = SkCodec::MakeFromData(std::move(data)); in init()
|
/third_party/skia/fuzz/oss_fuzz/ |
D | FuzzAnimatedImage.cpp | 15 auto codec = SkAndroidCodec::MakeFromData(bytes); in FuzzAnimatedImage()
|
D | FuzzSKP.cpp | 17 sk_sp<SkPicture> pic = SkPicture::MakeFromData(bytes->data(), bytes->size()); in FuzzSKP()
|
D | FuzzIncrementalImage.cpp | 13 auto codec = SkCodec::MakeFromData(bytes); in FuzzIncrementalImageDecode()
|
/third_party/skia/docs/examples/ |
D | Picture_serialize.cpp | 15 sk_sp<SkPicture> copy = SkPicture::MakeFromData(readableData->data(), readableData->size()); in draw()
|
D | Picture_MakeFromData.cpp | 17 sk_sp<SkPicture> copy = SkPicture::MakeFromData(readableData.get()); in draw()
|
D | Picture_serialize_2.cpp | 17 sk_sp<SkPicture> copy = SkPicture::MakeFromData(readableData->data(), readableData->size()); in draw()
|
D | Picture_008.cpp | 17 sk_sp<SkPicture> copy = SkPicture::MakeFromData(readableData->data(), readableData->size()); in draw()
|
D | f16.cpp | 408 …std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(SkData::MakeWithoutCopy(data0, data0length))); in draw()
|