Home
last modified time | relevance | path

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

/external/skqp/src/android/
DSkAnimatedImage.cpp156 const int frameToDecode = current + 1; in computeNextFrame() local
157 if (frameToDecode == fFrameCount - 1) { in computeNextFrame()
164 } else if (frameToDecode == fFrameCount) { in computeNextFrame()
167 return frameToDecode; in computeNextFrame()
182 int frameToDecode = this->computeNextFrame(fDisplayFrame.fIndex, &animationEnded); in decodeNextFrame() local
185 if (fCodec->codec()->getFrameInfo(frameToDecode, &frameInfo)) { in decodeNextFrame()
187 SkCodecPrintf("Frame %i not fully received\n", frameToDecode); in decodeNextFrame()
194 if (0 == frameToDecode) { in decodeNextFrame()
205 frameToDecode); in decodeNextFrame()
210 if (frameToDecode == fDisplayFrame.fIndex) { in decodeNextFrame()
[all …]
/external/skia/src/android/
DSkAnimatedImage.cpp166 const int frameToDecode = current + 1; in computeNextFrame() local
167 if (frameToDecode == fFrameCount - 1) { in computeNextFrame()
174 } else if (frameToDecode == fFrameCount) { in computeNextFrame()
177 return frameToDecode; in computeNextFrame()
192 int frameToDecode = this->computeNextFrame(fDisplayFrame.fIndex, &animationEnded); in decodeNextFrame() local
195 if (fCodec->codec()->getFrameInfo(frameToDecode, &frameInfo)) { in decodeNextFrame()
197 SkCodecPrintf("Frame %i not fully received\n", frameToDecode); in decodeNextFrame()
204 if (0 == frameToDecode) { in decodeNextFrame()
215 frameToDecode); in decodeNextFrame()
220 if (frameToDecode == fDisplayFrame.fIndex) { in decodeNextFrame()
[all …]