• Home
  • Raw
  • Download

Lines Matching refs:cricket

43 namespace cricket {
46 class FakeVideoCapturer : public cricket::VideoCapturer {
55 set_frame_factory(new cricket::WebRtcVideoFrameFactory()); in FakeVideoCapturer()
58 std::vector<cricket::VideoFormat> formats; in FakeVideoCapturer()
59 formats.push_back(cricket::VideoFormat(1280, 720, in FakeVideoCapturer()
60 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in FakeVideoCapturer()
61 formats.push_back(cricket::VideoFormat(640, 480, in FakeVideoCapturer()
62 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in FakeVideoCapturer()
63 formats.push_back(cricket::VideoFormat(320, 240, in FakeVideoCapturer()
64 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in FakeVideoCapturer()
65 formats.push_back(cricket::VideoFormat(160, 120, in FakeVideoCapturer()
66 cricket::VideoFormat::FpsToInterval(30), cricket::FOURCC_I420)); in FakeVideoCapturer()
67 formats.push_back(cricket::VideoFormat(1280, 720, in FakeVideoCapturer()
68 cricket::VideoFormat::FpsToInterval(60), cricket::FOURCC_I420)); in FakeVideoCapturer()
75 void ResetSupportedFormats(const std::vector<cricket::VideoFormat>& formats) { in ResetSupportedFormats()
101 if (fourcc == cricket::FOURCC_ARGB) { in CaptureCustomFrame()
103 } else if (fourcc == cricket::FOURCC_I420) { in CaptureCustomFrame()
104 size = static_cast<uint32_t>(cricket::VideoFrame::SizeOf(width, height)); in CaptureCustomFrame()
112 cricket::CapturedFrame frame; in CaptureCustomFrame()
135 void SignalCapturedFrame(cricket::CapturedFrame* frame) { in SignalCapturedFrame()
141 virtual cricket::CaptureState Start(const cricket::VideoFormat& format) { in Start()
142 cricket::VideoFormat supported; in Start()
147 SetCaptureState(cricket::CS_RUNNING); in Start()
148 return cricket::CS_RUNNING; in Start()
153 SetCaptureState(cricket::CS_STOPPED); in Stop()
161 fourccs->push_back(cricket::FOURCC_I420); in GetPreferredFourccs()
162 fourccs->push_back(cricket::FOURCC_MJPG); in GetPreferredFourccs()