Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: webrtc/common_video/include/incoming_video_stream.h

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_COMMON_VIDEO_INCLUDE_INCOMING_VIDEO_STREAM_H_ 11 #ifndef WEBRTC_COMMON_VIDEO_INCLUDE_INCOMING_VIDEO_STREAM_H_
12 #define WEBRTC_COMMON_VIDEO_INCLUDE_INCOMING_VIDEO_STREAM_H_ 12 #define WEBRTC_COMMON_VIDEO_INCLUDE_INCOMING_VIDEO_STREAM_H_
13 13
14 #include "webrtc/base/race_checker.h"
15 #include "webrtc/base/task_queue.h"
16 #include "webrtc/common_video/video_render_frames.h" 14 #include "webrtc/common_video/video_render_frames.h"
17 #include "webrtc/media/base/videosinkinterface.h" 15 #include "webrtc/media/base/videosinkinterface.h"
16 #include "webrtc/rtc_base/race_checker.h"
17 #include "webrtc/rtc_base/task_queue.h"
18 18
19 namespace webrtc { 19 namespace webrtc {
20 20
21 class IncomingVideoStream : public rtc::VideoSinkInterface<VideoFrame> { 21 class IncomingVideoStream : public rtc::VideoSinkInterface<VideoFrame> {
22 public: 22 public:
23 IncomingVideoStream(int32_t delay_ms, 23 IncomingVideoStream(int32_t delay_ms,
24 rtc::VideoSinkInterface<VideoFrame>* callback); 24 rtc::VideoSinkInterface<VideoFrame>* callback);
25 ~IncomingVideoStream() override; 25 ~IncomingVideoStream() override;
26 26
27 private: 27 private:
28 void OnFrame(const VideoFrame& video_frame) override; 28 void OnFrame(const VideoFrame& video_frame) override;
29 void Dequeue(); 29 void Dequeue();
30 30
31 // Fwd decl of a QueuedTask implementation for carrying frames over to the TQ. 31 // Fwd decl of a QueuedTask implementation for carrying frames over to the TQ.
32 class NewFrameTask; 32 class NewFrameTask;
33 33
34 rtc::ThreadChecker main_thread_checker_; 34 rtc::ThreadChecker main_thread_checker_;
35 rtc::RaceChecker decoder_race_checker_; 35 rtc::RaceChecker decoder_race_checker_;
36 36
37 VideoRenderFrames render_buffers_; // Only touched on the TaskQueue. 37 VideoRenderFrames render_buffers_; // Only touched on the TaskQueue.
38 rtc::VideoSinkInterface<VideoFrame>* const callback_; 38 rtc::VideoSinkInterface<VideoFrame>* const callback_;
39 rtc::TaskQueue incoming_render_queue_; 39 rtc::TaskQueue incoming_render_queue_;
40 }; 40 };
41 41
42 } // namespace webrtc 42 } // namespace webrtc
43 43
44 #endif // WEBRTC_COMMON_VIDEO_INCLUDE_INCOMING_VIDEO_STREAM_H_ 44 #endif // WEBRTC_COMMON_VIDEO_INCLUDE_INCOMING_VIDEO_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/common_video/include/i420_buffer_pool.h ('k') | webrtc/common_video/include/video_frame_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698