Home | History | Annotate | Download | only in test

Lines Matching refs:cricket

28 // FakePeriodicVideoCapturer implements a fake cricket::VideoCapturer that
39 class FakePeriodicVideoCapturer : public cricket::FakeVideoCapturer {
42 std::vector<cricket::VideoFormat> formats;
43 formats.push_back(cricket::VideoFormat(1280, 720,
44 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420));
45 formats.push_back(cricket::VideoFormat(640, 480,
46 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420));
47 formats.push_back(cricket::VideoFormat(640, 360,
48 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420));
49 formats.push_back(cricket::VideoFormat(320, 240,
50 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420));
51 formats.push_back(cricket::VideoFormat(160, 120,
52 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420));
56 virtual cricket::CaptureState Start(const cricket::VideoFormat& format) {
57 cricket::CaptureState state = FakeVideoCapturer::Start(format);
58 if (state != cricket::CS_FAILED) {