Lines Matching defs:frame
45 // animated image with a frame that has alpha but then blends onto an opaque
46 // frame making the result opaque. Test that we can decode such a frame.
89 REPORTER_ASSERT(r, expected == actual, "%s's frame %i has wrong %s! expected:"
111 // One less than fFramecount, since the first frame is always
114 // Same, since the first frame should match getInfo
323 ERRORF(r, "'%s' expected frame count: %i\tactual: %i",
346 ERRORF(r, "%s frame %i's durations do not match! expected: %i\tactual: %i",
365 ERRORF(r, "%s's frame %i has wrong alpha type! expected: %s\tactual: %s",
372 ERRORF(r, "%s's frame %i has wrong dependency! expected: %i\tactual: %i",
385 reporter_assert_equals(r, rec.fName, i, "frame rect", rec.fFrameRects[i],
395 // - Start from scratch for each frame. |codec| will have to decode the required frame
397 // - Provide the frame that a frame depends on, so |codec| just has to blend.
398 // - Provide a frame after the required frame, which will be covered up by the newest
399 // frame.
411 // First copy the pixels from the cached frame
426 ERRORF(r, "Using a kRestorePrevious frame as fPriorFrame should fail");
430 ERRORF(r, "Failed to decode frame %i from %s when providing prior frame %i, "
447 SkBitmap frame;
449 (void) decode(&frame, i, j);
452 if (!decode(&frame, i, j)) {
461 const void* addr = frame.getAddr(0, y);
468 write_bm(name.c_str(), frame);
469 ERRORF(r, "%s's frame %i is different (starting from line %i) when "
470 "providing prior frame %i!", rec.fName, i, y, j);
481 // kRestoreBG frame, so they are interesting to test. After decoding that
482 // frame, we have to erase its rectangle. The rectangle has to be adjusted
525 // Now compare to not using prior frame.
536 ERRORF(r, "pixel mismatch for sample size %i, frame %i resulting in "
603 "Mismatched size for initial frame of %s", test.fFile);
609 "Mismatched size for frame at 500 ms of %s", test.fFile);