Home | History | Annotate | Download | only in dm

Lines Matching defs:frames

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