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