Home
last modified time | relevance | path

Searched refs:fDecoder (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/ports/
DSkImageGeneratorNDK.cpp31 AImageDecoder* fDecoder; member in __anonf002495a0111::ImageGeneratorNDK
99 , fDecoder(decoder) in ImageGeneratorNDK()
102 SkASSERT(fDecoder); in ImageGeneratorNDK()
106 AImageDecoder_delete(fDecoder); in ~ImageGeneratorNDK()
142 if (!ok(AImageDecoder_setDataSpace(fDecoder, SkNDKConversions::toDataSpace(cs)))) { in onGetPixels()
156 const AImageDecoderHeaderInfo* headerInfo = AImageDecoder_getHeaderInfo(fDecoder); in onGetPixels()
165 AImageDecoder_delete(fDecoder); in onGetPixels()
166 fDecoder = decoder; in onGetPixels()
168 if (!ok(AImageDecoder_setDataSpace(fDecoder, defaultDataSpace))) { in onGetPixels()
180 if (!set_android_bitmap_format(fDecoder, info.colorType())) { in onGetPixels()
[all …]
/third_party/skia/gm/
Dvideo_decoder.cpp14 SkVideoDecoder fDecoder; member in VideoDecoderGM
30 if (!fDecoder.loadStream(SkStream::MakeFromFile("/skia/ice.mp4"))) { in onOnceBeforeDraw()
33 SkDebugf("duration %g\n", fDecoder.duration()); in onOnceBeforeDraw()
42 fDecoder.setGrContext(rContext); // context can change over time in viewer in onDraw()
45 auto img = fDecoder.nextImage(&timeStamp); in onDraw()
47 (void)fDecoder.rewind(); in onDraw()
48 img = fDecoder.nextImage(&timeStamp); in onDraw()
/third_party/skia/modules/skresources/src/
DSkResources.cpp44 : fDecoder(std::move(decoder)) { in VideoAsset()
54 fWindow[1].frame = fDecoder->nextImage(&fWindow[1].stamp); in advance()
59 const auto t = SkTPin(static_cast<double>(t_float), 0.0, fDecoder->duration()); in getFrame()
63 fDecoder->rewind(); in getFrame()
77 const std::unique_ptr<SkVideoDecoder> fDecoder; member in skresources::__anon7d8910370111::VideoAsset