OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ | 5 #ifndef MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ |
6 #define MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ | 6 #define MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
11 #include "media/cast/cast_config.h" | 11 #include "media/cast/cast_config.h" |
12 #include "media/cast/sender/software_video_encoder.h" | 12 #include "media/cast/sender/software_video_encoder.h" |
13 #include "third_party/libvpx/source/libvpx/vpx/vpx_encoder.h" | 13 #include "third_party/libvpx_new/source/libvpx/vpx/vpx_encoder.h" |
14 #include "ui/gfx/geometry/size.h" | 14 #include "ui/gfx/geometry/size.h" |
15 | 15 |
16 namespace media { | 16 namespace media { |
17 class VideoFrame; | 17 class VideoFrame; |
18 } | 18 } |
19 | 19 |
20 namespace media { | 20 namespace media { |
21 namespace cast { | 21 namespace cast { |
22 | 22 |
23 class Vp8Encoder : public SoftwareVideoEncoder { | 23 class Vp8Encoder : public SoftwareVideoEncoder { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // This is bound to the thread where Initialize() is called. | 114 // This is bound to the thread where Initialize() is called. |
115 base::ThreadChecker thread_checker_; | 115 base::ThreadChecker thread_checker_; |
116 | 116 |
117 DISALLOW_COPY_AND_ASSIGN(Vp8Encoder); | 117 DISALLOW_COPY_AND_ASSIGN(Vp8Encoder); |
118 }; | 118 }; |
119 | 119 |
120 } // namespace cast | 120 } // namespace cast |
121 } // namespace media | 121 } // namespace media |
122 | 122 |
123 #endif // MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ | 123 #endif // MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ |
OLD | NEW |