Lines Matching defs:VideoScheduler
34 VideoScheduler::VideoScheduler(
63 webrtc::SharedMemory* VideoScheduler::CreateSharedMemory(size_t size) {
67 void VideoScheduler::OnCaptureCompleted(webrtc::DesktopFrame* frame) {
80 FROM_HERE, base::Bind(&VideoScheduler::EncodeFrame, this,
86 FROM_HERE, base::Bind(&VideoScheduler::CaptureNextFrame, this));
90 void VideoScheduler::OnCursorShapeChanged(
109 FROM_HERE, base::Bind(&VideoScheduler::SendCursorShape, this,
113 void VideoScheduler::Start() {
117 FROM_HERE, base::Bind(&VideoScheduler::StartOnCaptureThread, this));
120 void VideoScheduler::Stop() {
128 base::Bind(&VideoScheduler::StopOnCaptureThread, this));
131 void VideoScheduler::Pause(bool pause) {
135 FROM_HERE, base::Bind(&VideoScheduler::Pause, this, pause));
148 void VideoScheduler::UpdateSequenceNumber(int64 sequence_number) {
152 FROM_HERE, base::Bind(&VideoScheduler::UpdateSequenceNumber,
162 VideoScheduler::~VideoScheduler() {
167 void VideoScheduler::StartOnCaptureThread() {
175 capture_timer_.reset(new base::OneShotTimer<VideoScheduler>());
181 void VideoScheduler::StopOnCaptureThread() {
192 void VideoScheduler::ScheduleNextCapture() {
198 &VideoScheduler::CaptureNextFrame);
201 void VideoScheduler::CaptureNextFrame() {
231 void VideoScheduler::FrameCaptureCompleted() {
246 void VideoScheduler::SendVideoPacket(scoped_ptr<VideoPacket> packet) {
253 packet.Pass(), base::Bind(&VideoScheduler::VideoFrameSentCallback, this));
256 void VideoScheduler::VideoFrameSentCallback() {
263 FROM_HERE, base::Bind(&VideoScheduler::FrameCaptureCompleted, this));
266 void VideoScheduler::SendCursorShape(
278 void VideoScheduler::EncodeFrame(
288 FROM_HERE, base::Bind(&VideoScheduler::SendVideoPacket, this,
305 FROM_HERE, base::Bind(&VideoScheduler::SendVideoPacket, this,