Lines Matching defs:frame
49 // Each frame has a presentation timestamp
50 // => the timespan for frame N is [stamp_N .. stamp_N+1)
51 // => we use a two-frame sliding window to track the current interval.
54 fWindow[1].frame = fDecoder->nextImage(&fWindow[1].stamp);
55 fEof = !fWindow[1].frame;
74 return fWindow[0].frame;
80 sk_sp<SkImage> frame;
155 auto frame = fPlayer->getFrame();
157 if (fPreDecode && frame && frame->isLazyGenerated()) {
158 // The multi-frame decoder should never return lazy images.
160 frame = decode(std::move(frame));
163 return frame;
167 // For static images we can reuse the cached frame