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_EXTERNAL_VIDEO_ENCODER_H_ | 5 #ifndef MEDIA_CAST_SENDER_EXTERNAL_VIDEO_ENCODER_H_ |
6 #define MEDIA_CAST_SENDER_EXTERNAL_VIDEO_ENCODER_H_ | 6 #define MEDIA_CAST_SENDER_EXTERNAL_VIDEO_ENCODER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
10 #include "media/cast/cast_environment.h" | 11 #include "media/cast/cast_environment.h" |
11 #include "media/cast/sender/size_adaptable_video_encoder_base.h" | 12 #include "media/cast/sender/size_adaptable_video_encoder_base.h" |
12 #include "media/cast/sender/video_encoder.h" | 13 #include "media/cast/sender/video_encoder.h" |
13 #include "media/video/video_encode_accelerator.h" | 14 #include "media/video/video_encode_accelerator.h" |
14 #include "ui/gfx/geometry/size.h" | 15 #include "ui/gfx/geometry/size.h" |
15 | 16 |
16 namespace media { | 17 namespace media { |
17 namespace cast { | 18 namespace cast { |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 scoped_ptr<uint8_t[]> last_frame_pixel_buffer_; | 153 scoped_ptr<uint8_t[]> last_frame_pixel_buffer_; |
153 gfx::Size last_frame_size_; | 154 gfx::Size last_frame_size_; |
154 | 155 |
155 DISALLOW_COPY_AND_ASSIGN(QuantizerEstimator); | 156 DISALLOW_COPY_AND_ASSIGN(QuantizerEstimator); |
156 }; | 157 }; |
157 | 158 |
158 } // namespace cast | 159 } // namespace cast |
159 } // namespace media | 160 } // namespace media |
160 | 161 |
161 #endif // MEDIA_CAST_SENDER_EXTERNAL_VIDEO_ENCODER_H_ | 162 #endif // MEDIA_CAST_SENDER_EXTERNAL_VIDEO_ENCODER_H_ |
OLD | NEW |