Home
last modified time | relevance | path

Searched refs:frameToDecode (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/src/android/
DSkAnimatedImage.cpp169 const int frameToDecode = current + 1; in computeNextFrame() local
170 if (frameToDecode == fFrameCount - 1) { in computeNextFrame()
177 } else if (frameToDecode == fFrameCount) { in computeNextFrame()
180 return frameToDecode; in computeNextFrame()
195 const int frameToDecode = this->computeNextFrame(fDisplayFrame.fIndex, &animationEnded); in decodeNextFrame() local
198 if (fCodec->codec()->getFrameInfo(frameToDecode, &frameInfo)) { in decodeNextFrame()
200 SkCodecPrintf("Frame %i not fully received\n", frameToDecode); in decodeNextFrame()
207 if (0 == frameToDecode) { in decodeNextFrame()
218 frameToDecode); in decodeNextFrame()
223 if (frameToDecode == fDisplayFrame.fIndex) { in decodeNextFrame()
[all …]
/third_party/flutter/skia/src/android/
DSkAnimatedImage.cpp167 const int frameToDecode = current + 1; in computeNextFrame() local
168 if (frameToDecode == fFrameCount - 1) { in computeNextFrame()
175 } else if (frameToDecode == fFrameCount) { in computeNextFrame()
178 return frameToDecode; in computeNextFrame()
193 int frameToDecode = this->computeNextFrame(fDisplayFrame.fIndex, &animationEnded); in decodeNextFrame() local
196 if (fCodec->codec()->getFrameInfo(frameToDecode, &frameInfo)) { in decodeNextFrame()
198 SkCodecPrintf("Frame %i not fully received\n", frameToDecode); in decodeNextFrame()
205 if (0 == frameToDecode) { in decodeNextFrame()
216 frameToDecode); in decodeNextFrame()
221 if (frameToDecode == fDisplayFrame.fIndex) { in decodeNextFrame()
[all …]