Home
last modified time | relevance | path

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

/third_party/skia/src/ports/
DSkImageGeneratorNDK.cpp31 AImageDecoder* fDecoder; member in __anon87be99ac0111::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/flutter/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(gr); // gr 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/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::__anoncd68d6090111::VideoAsset
/third_party/flutter/skia/src/codec/
DSkWuffsCodec.cpp164 std::unique_ptr<wuffs_gif__decoder, decltype(&sk_free)> fDecoder; member in SkWuffsCodec
263 fDecoder(std::move(dec)), in SkWuffsCodec()
439 wuffs_base__rect_ie_u32 dirty_rect = fDecoder->frame_dirty_rect(); in onIncrementalDecode()
540 uint32_t n = fDecoder->num_animation_loops(); in onGetRepetitionCount()
600 const char* status = fDecoder->restart_frame(frameIndex, fIOBuffer.reader_io_position()); in seekFrame()
718 reset_and_decode_image_config(fDecoder.get(), nullptr, &fIOBuffer, fStream.get()); in resetDecoder()
731 const char* status = fDecoder->decode_frame_config(&fFrameConfig, &fIOBuffer); in decodeFrameConfig()
745 fDecoder->decode_frame(&fPixelBuffer, &fIOBuffer, in decodeFrame()
761 uint64_t n = fDecoder->num_decoded_frames(); in updateNumFullyReceivedFrames()