OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/renderer/media/rtc_video_renderer.h" | 5 #include "content/renderer/media/rtc_video_renderer.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/message_loop_proxy.h" | 11 #include "base/message_loop/message_loop_proxy.h" |
12 #include "media/base/video_frame.h" | 12 #include "media/base/video_frame.h" |
13 #include "media/base/video_util.h" | 13 #include "media/base/video_util.h" |
14 #include "third_party/libjingle/source/talk/media/base/videoframe.h" | 14 #include "third_party/libjingle/source/talk/media/base/videoframe.h" |
15 | 15 |
16 using media::CopyYPlane; | 16 using media::CopyYPlane; |
17 using media::CopyUPlane; | 17 using media::CopyUPlane; |
18 using media::CopyVPlane; | 18 using media::CopyVPlane; |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 | 21 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 133 |
134 if (state_ != kStarted) { | 134 if (state_ != kStarted) { |
135 return; | 135 return; |
136 } | 136 } |
137 | 137 |
138 TRACE_EVENT0("video", "DoRenderFrameOnMainThread"); | 138 TRACE_EVENT0("video", "DoRenderFrameOnMainThread"); |
139 repaint_cb_.Run(video_frame); | 139 repaint_cb_.Run(video_frame); |
140 } | 140 } |
141 | 141 |
142 } // namespace content | 142 } // namespace content |
OLD | NEW |