Lines Matching refs:currIter
192 void FrameSequenceState_webp::initializeFrame(const WebPIterator& currIter, Color8888* currBuffer, in initializeFrame() argument
196 const bool currFrameIsKeyFrame = mFrameSequence.isKeyFrame(currIter.frame_num - 1); in initializeFrame()
209 (!currIter.has_alpha || currIter.blend_method == WEBP_MUX_NO_BLEND) && in initializeFrame()
210 checkIfCover(currIter, prevIter); in initializeFrame()
222 bool FrameSequenceState_webp::decodeFrame(const WebPIterator& currIter, Color8888* currBuffer, in decodeFrame() argument
224 Color8888* dst = currBuffer + currIter.x_offset + currIter.y_offset * currStride; in decodeFrame()
227 mDecoderConfig.output.u.RGBA.size = mDecoderConfig.output.u.RGBA.stride * currIter.height; in decodeFrame()
229 const WebPData& currFrame = currIter.fragment; in decodeFrame()
236 const bool currFrameIsKeyFrame = mFrameSequence.isKeyFrame(currIter.frame_num - 1); in decodeFrame()
242 if (currIter.blend_method == WEBP_MUX_BLEND && !currFrameIsKeyFrame) { in decodeFrame()
244 for (int y = 0; y < currIter.height; y++) { in decodeFrame()
245 const int canvasY = currIter.y_offset + y; in decodeFrame()
246 for (int x = 0; x < currIter.width; x++) { in decodeFrame()
247 const int canvasX = currIter.x_offset + x; in decodeFrame()
261 for (int y = 0; y < currIter.height; y++) { in decodeFrame()
262 const int canvasY = currIter.y_offset + y; in decodeFrame()
263 for (int x = 0; x < currIter.width; x++) { in decodeFrame()
264 const int canvasX = currIter.x_offset + x; in decodeFrame()
302 WebPIterator currIter; in drawFrame() local
304 int ok = WebPDemuxGetFrame(demux, start, &currIter); // Get frame number 'start - 1'. in drawFrame()
314 prevIter = currIter; in drawFrame()
315 ok = WebPDemuxGetFrame(demux, i + 1, &currIter); // Get ith frame. in drawFrame()
319 i, currIter.has_alpha, in drawFrame()
320 (currIter.dispose_method == WEBP_MUX_DISPOSE_NONE) ? "none" : "background", in drawFrame()
321 (currIter.blend_method == WEBP_MUX_BLEND) ? "yes" : "no", currIter.duration); in drawFrame()
337 initializeFrame(currIter, currBuffer, currStride, prevIter, prevBuffer, prevStride); in drawFrame()
339 if (i == frameNr || !willBeCleared(currIter)) { in drawFrame()
340 if (!decodeFrame(currIter, currBuffer, currStride, prevIter, prevBuffer, prevStride)) { in drawFrame()
354 ok = WebPDemuxGetFrame(demux, lastFrame, &currIter); in drawFrame()
356 const int lastFrameDelay = currIter.duration; in drawFrame()
358 WebPDemuxReleaseIterator(&currIter); in drawFrame()