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

Side by Side Diff: webrtc/common_video/incoming_video_stream.cc

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month 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 #include "webrtc/common_video/interface/incoming_video_stream.h" 11 #include "webrtc/common_video/interface/incoming_video_stream.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 14
15 #if defined(_WIN32) 15 #if defined(_WIN32)
16 #include <windows.h> 16 #include <windows.h>
17 #elif defined(WEBRTC_LINUX) 17 #elif defined(WEBRTC_LINUX)
18 #include <sys/time.h> 18 #include <sys/time.h>
19 #include <time.h> 19 #include <time.h>
20 #else 20 #else
21 #include <sys/time.h> 21 #include <sys/time.h>
22 #endif 22 #endif
23 23
24 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 24 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
25 #include "webrtc/common_video/video_render_frames.h" 25 #include "webrtc/common_video/video_render_frames.h"
26 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" 26 #include "webrtc/system_wrappers/include/critical_section_wrapper.h"
27 #include "webrtc/system_wrappers/interface/event_wrapper.h" 27 #include "webrtc/system_wrappers/include/event_wrapper.h"
28 #include "webrtc/system_wrappers/interface/thread_wrapper.h" 28 #include "webrtc/system_wrappers/include/thread_wrapper.h"
29 #include "webrtc/system_wrappers/interface/tick_util.h" 29 #include "webrtc/system_wrappers/include/tick_util.h"
30 #include "webrtc/system_wrappers/interface/trace.h" 30 #include "webrtc/system_wrappers/include/trace.h"
31 31
32 namespace webrtc { 32 namespace webrtc {
33 33
34 IncomingVideoStream::IncomingVideoStream(uint32_t stream_id) 34 IncomingVideoStream::IncomingVideoStream(uint32_t stream_id)
35 : stream_id_(stream_id), 35 : stream_id_(stream_id),
36 stream_critsect_(CriticalSectionWrapper::CreateCriticalSection()), 36 stream_critsect_(CriticalSectionWrapper::CreateCriticalSection()),
37 thread_critsect_(CriticalSectionWrapper::CreateCriticalSection()), 37 thread_critsect_(CriticalSectionWrapper::CreateCriticalSection()),
38 buffer_critsect_(CriticalSectionWrapper::CreateCriticalSection()), 38 buffer_critsect_(CriticalSectionWrapper::CreateCriticalSection()),
39 incoming_render_thread_(), 39 incoming_render_thread_(),
40 deliver_buffer_event_(EventTimerWrapper::Create()), 40 deliver_buffer_event_(EventTimerWrapper::Create()),
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 } 247 }
248 248
249 // We're done with this frame. 249 // We're done with this frame.
250 if (!frame_to_render.IsZeroSize()) 250 if (!frame_to_render.IsZeroSize())
251 last_render_time_ms_ = frame_to_render.render_time_ms(); 251 last_render_time_ms_ = frame_to_render.render_time_ms();
252 } 252 }
253 return true; 253 return true;
254 } 254 }
255 255
256 } // namespace webrtc 256 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/common_audio/signal_processing/spl_sqrt_floor_arm.S ('k') | webrtc/common_video/interface/video_frame_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698