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