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_FAKE_SOFTWARE_VIDEO_ENCODER_H_ | 5 #ifndef MEDIA_CAST_SENDER_FAKE_SOFTWARE_VIDEO_ENCODER_H_ |
6 #define MEDIA_CAST_SENDER_FAKE_SOFTWARE_VIDEO_ENCODER_H_ | 6 #define MEDIA_CAST_SENDER_FAKE_SOFTWARE_VIDEO_ENCODER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "media/cast/cast_config.h" | 10 #include "media/cast/cast_config.h" |
9 #include "media/cast/sender/software_video_encoder.h" | 11 #include "media/cast/sender/software_video_encoder.h" |
10 #include "ui/gfx/geometry/size.h" | 12 #include "ui/gfx/geometry/size.h" |
11 | 13 |
12 namespace media { | 14 namespace media { |
13 namespace cast { | 15 namespace cast { |
14 | 16 |
15 class FakeSoftwareVideoEncoder : public SoftwareVideoEncoder { | 17 class FakeSoftwareVideoEncoder : public SoftwareVideoEncoder { |
16 public: | 18 public: |
17 FakeSoftwareVideoEncoder(const VideoSenderConfig& video_config); | 19 FakeSoftwareVideoEncoder(const VideoSenderConfig& video_config); |
(...skipping 12 matching lines...) Expand all Loading... |
30 gfx::Size last_frame_size_; | 32 gfx::Size last_frame_size_; |
31 bool next_frame_is_key_; | 33 bool next_frame_is_key_; |
32 uint32_t frame_id_; | 34 uint32_t frame_id_; |
33 int frame_size_; | 35 int frame_size_; |
34 }; | 36 }; |
35 | 37 |
36 } // namespace cast | 38 } // namespace cast |
37 } // namespace media | 39 } // namespace media |
38 | 40 |
39 #endif // MEDIA_CAST_SENDER_FAKE_SOFTWARE_VIDEO_ENCODER_H_ | 41 #endif // MEDIA_CAST_SENDER_FAKE_SOFTWARE_VIDEO_ENCODER_H_ |
OLD | NEW |