OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_ENCODER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_ENCODER_H_ |
6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_ENCODER_H_ | 6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_ENCODER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
16 #include "media/base/video_decoder_config.h" | 16 #include "media/base/video_decoder_config.h" |
17 #include "third_party/webrtc/modules/video_coding/codecs/interface/video_codec_i
nterface.h" | 17 #include "third_party/webrtc/modules/video_coding/codecs/interface/video_codec_i
nterface.h" |
18 #include "ui/gfx/size.h" | 18 #include "ui/gfx/geometry/size.h" |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 | 21 |
22 class MessageLoopProxy; | 22 class MessageLoopProxy; |
23 | 23 |
24 } // namespace base | 24 } // namespace base |
25 | 25 |
26 namespace media { | 26 namespace media { |
27 | 27 |
28 class GpuVideoAcceleratorFactories; | 28 class GpuVideoAcceleratorFactories; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // RTCVideoEncoder. | 103 // RTCVideoEncoder. |
104 // NOTE: Weak pointers must be invalidated before all other member variables. | 104 // NOTE: Weak pointers must be invalidated before all other member variables. |
105 base::WeakPtrFactory<RTCVideoEncoder> weak_factory_; | 105 base::WeakPtrFactory<RTCVideoEncoder> weak_factory_; |
106 | 106 |
107 DISALLOW_COPY_AND_ASSIGN(RTCVideoEncoder); | 107 DISALLOW_COPY_AND_ASSIGN(RTCVideoEncoder); |
108 }; | 108 }; |
109 | 109 |
110 } // namespace content | 110 } // namespace content |
111 | 111 |
112 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_ENCODER_H_ | 112 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_ENCODER_H_ |
OLD | NEW |