Home
last modified time | relevance | path

Searched refs:requiredFrame (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/gm/
Danimated_gif.cpp54 const int requiredFrame = fFrameInfos[frameIndex].fRequiredFrame; in drawFrame() local
55 if (requiredFrame != SkCodec::kNoFrame) { in drawFrame()
56 SkASSERT(requiredFrame >= 0 in drawFrame()
57 && static_cast<size_t>(requiredFrame) < fFrames.size()); in drawFrame()
58 SkBitmap& requiredBitmap = fFrames[requiredFrame]; in drawFrame()
62 opts.fPriorFrame = requiredFrame; in drawFrame()
/third_party/skia/src/utils/
DSkAnimCodecPlayer.cpp78 const int requiredFrame = fFrameInfos[index].fRequiredFrame; in getFrameAt() local
79 if (requiredFrame != SkCodec::kNoFrame && fImages[requiredFrame]) { in getFrameAt()
80 auto requiredImage = fImages[requiredFrame]; in getFrameAt()
95 opts.fPriorFrame = requiredFrame; in getFrameAt()
/third_party/flutter/skia/src/utils/
DSkAnimCodecPlayer.cpp57 const int requiredFrame = fFrameInfos[index].fRequiredFrame; in getFrameAt() local
58 if (requiredFrame != SkCodec::kNoFrame) { in getFrameAt()
59 auto requiredImage = fImages[requiredFrame]; in getFrameAt()
63 opts.fPriorFrame = requiredFrame; in getFrameAt()
/third_party/skia/gm/
Danimated_gif.cpp53 const int requiredFrame = fFrameInfos[frameIndex].fRequiredFrame; in drawFrame() local
54 if (requiredFrame != SkCodec::kNoFrame) { in drawFrame()
55 SkASSERT(requiredFrame >= 0 in drawFrame()
56 && static_cast<size_t>(requiredFrame) < fFrames.size()); in drawFrame()
57 SkBitmap& requiredBitmap = fFrames[requiredFrame]; in drawFrame()
61 opts.fPriorFrame = requiredFrame; in drawFrame()
/third_party/skia/src/codec/
DSkCodec.cpp334 const int requiredFrame = frame->getRequiredFrame(); in handleFrameIndex() local
335 if (requiredFrame != kNoFrame) { in handleFrameIndex()
343 prevFrameOptions.fFrameIndex = requiredFrame; in handleFrameIndex()
348 prevFrameOptions.fFrameIndex = requiredFrame; in handleFrameIndex()
354 preppedFrame = frameHolder->getFrame(requiredFrame); in handleFrameIndex()
359 if (options.fPriorFrame < requiredFrame || options.fPriorFrame >= index) { in handleFrameIndex()
376 if (preppedFrame->frameId() == requiredFrame) { in handleFrameIndex()
/third_party/flutter/skia/src/codec/
DSkCodec.cpp285 const int requiredFrame = frame->getRequiredFrame(); in handleFrameIndex() local
286 if (requiredFrame != kNoFrame) { in handleFrameIndex()
291 if (options.fPriorFrame < requiredFrame || options.fPriorFrame >= index) { in handleFrameIndex()
301 if (options.fPriorFrame == requiredFrame) { in handleFrameIndex()
313 prevFrameOptions.fFrameIndex = requiredFrame; in handleFrameIndex()
319 const auto* prevFrame = frameHolder->getFrame(requiredFrame); in handleFrameIndex()