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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
13 #include "media/capture/content/feedback_signal_accumulator.cc" | 13 #include "media/capture/content/feedback_signal_accumulator.cc" |
14 #include "media/cast/cast_config.h" | 14 #include "media/cast/cast_config.h" |
15 #include "media/cast/sender/software_video_encoder.h" | 15 #include "media/cast/sender/software_video_encoder.h" |
16 #include "third_party/libvpx_new/source/libvpx/vpx/vpx_encoder.h" | 16 #include "third_party/libvpx/source/libvpx/vpx/vpx_encoder.h" |
17 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
18 | 18 |
19 namespace media { | 19 namespace media { |
20 class VideoFrame; | 20 class VideoFrame; |
21 } | 21 } |
22 | 22 |
23 namespace media { | 23 namespace media { |
24 namespace cast { | 24 namespace cast { |
25 | 25 |
26 class Vp8Encoder : public SoftwareVideoEncoder { | 26 class Vp8Encoder : public SoftwareVideoEncoder { |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // The higher the speed, the less CPU usage, and the lower quality. | 87 // The higher the speed, the less CPU usage, and the lower quality. |
88 int encoding_speed_; | 88 int encoding_speed_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(Vp8Encoder); | 90 DISALLOW_COPY_AND_ASSIGN(Vp8Encoder); |
91 }; | 91 }; |
92 | 92 |
93 } // namespace cast | 93 } // namespace cast |
94 } // namespace media | 94 } // namespace media |
95 | 95 |
96 #endif // MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ | 96 #endif // MEDIA_CAST_SENDER_CODECS_VP8_VP8_ENCODER_H_ |
OLD | NEW |