Home | History | Annotate | Download | only in filters

Lines Matching refs:frame

36   void Schedule(const scoped_refptr<VideoFrame>& frame, int64 target_ms) {
38 frame,
68 scoped_refptr<VideoFrame> frame =
70 Schedule(frame, 0);
72 EXPECT_CALL(*this, OnDisplay(frame));
73 EXPECT_CALL(*this, OnFrameDone(frame, VideoFrameScheduler::DISPLAYED));
78 scoped_refptr<VideoFrame> frame =
80 Schedule(frame, 10);
85 // Now we should get the frame.
86 EXPECT_CALL(*this, OnDisplay(frame));
87 EXPECT_CALL(*this, OnFrameDone(frame, VideoFrameScheduler::DISPLAYED));
100 // The frame past its deadline will get dropped.
109 scoped_refptr<VideoFrame> frame =
111 Schedule(frame, 10);
113 // Despite frame being late it should still get displayed as it's the only
115 EXPECT_CALL(*this, OnDisplay(frame));
116 EXPECT_CALL(*this, OnFrameDone(frame, VideoFrameScheduler::DISPLAYED));
130 // expired frame.
139 scoped_refptr<VideoFrame> frame =
141 Schedule(frame, 10);
143 // Despite being on time, frame callback isn't run.