Home | History | Annotate | Download | only in dm

Lines Matching defs:frames

488             // As in CodecSrc::size(), compute a roughly square grid to draw the frames
489 // into. "factor" is the number of frames to draw on one row. There will be
494 // Used to cache a frame that future frames will depend on.
512 // Some of our test images have truncated later frames. Treat that
521 // It is possible that we may discard a frame that future frames depend on,
783 // in a grid. The grid will be roughly square, with "factor" frames per
1331 // Fit kTileCount x kTileCount frames to a 1000x1000 film strip.
1361 static constexpr int frames[] = { 4, 0, 3, 1, 2 };
1362 static_assert(SK_ARRAY_COUNT(frames) == kTileCount, "");
1366 const SkScalar y = frames[i] * (fTileSize.height() + 1);
1369 const SkScalar x = frames[j] * (fTileSize.width() + 1);
1372 const auto t = fr * (frames[i] * kTileCount + frames[j]);