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_VP8_ENCODER_H_ | 5 #ifndef MEDIA_CAST_SENDER_VP8_ENCODER_H_ |
6 #define MEDIA_CAST_SENDER_VP8_ENCODER_H_ | 6 #define MEDIA_CAST_SENDER_VP8_ENCODER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
14 #include "media/capture/content/feedback_signal_accumulator.h" | 14 #include "media/base/feedback_signal_accumulator.h" |
15 #include "media/cast/cast_config.h" | 15 #include "media/cast/cast_config.h" |
16 #include "media/cast/sender/software_video_encoder.h" | 16 #include "media/cast/sender/software_video_encoder.h" |
17 #include "third_party/libvpx/source/libvpx/vpx/vpx_encoder.h" | 17 #include "third_party/libvpx/source/libvpx/vpx/vpx_encoder.h" |
18 #include "ui/gfx/geometry/size.h" | 18 #include "ui/gfx/geometry/size.h" |
19 | 19 |
20 namespace media { | 20 namespace media { |
21 class VideoFrame; | 21 class VideoFrame; |
22 } | 22 } |
23 | 23 |
24 namespace media { | 24 namespace media { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // 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. |
89 int encoding_speed_; | 89 int encoding_speed_; |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(Vp8Encoder); | 91 DISALLOW_COPY_AND_ASSIGN(Vp8Encoder); |
92 }; | 92 }; |
93 | 93 |
94 } // namespace cast | 94 } // namespace cast |
95 } // namespace media | 95 } // namespace media |
96 | 96 |
97 #endif // MEDIA_CAST_SENDER_VP8_ENCODER_H_ | 97 #endif // MEDIA_CAST_SENDER_VP8_ENCODER_H_ |
OLD | NEW |