| 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_SOFTWARE_VIDEO_ENCODER_H_ | 5 #ifndef MEDIA_CAST_SENDER_SOFTWARE_VIDEO_ENCODER_H_ |
| 6 #define MEDIA_CAST_SENDER_SOFTWARE_VIDEO_ENCODER_H_ | 6 #define MEDIA_CAST_SENDER_SOFTWARE_VIDEO_ENCODER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 9 #include "media/cast/sender/sender_encoded_frame.h" | 11 #include "media/cast/sender/sender_encoded_frame.h" |
| 10 | 12 |
| 11 namespace base { | 13 namespace base { |
| 12 class TimeTicks; | 14 class TimeTicks; |
| 13 } | 15 } |
| 14 | 16 |
| 15 namespace media { | 17 namespace media { |
| 16 class VideoFrame; | 18 class VideoFrame; |
| 17 } | 19 } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 36 virtual void UpdateRates(uint32_t new_bitrate) = 0; | 38 virtual void UpdateRates(uint32_t new_bitrate) = 0; |
| 37 | 39 |
| 38 // Set the next frame to be a key frame. | 40 // Set the next frame to be a key frame. |
| 39 virtual void GenerateKeyFrame() = 0; | 41 virtual void GenerateKeyFrame() = 0; |
| 40 }; | 42 }; |
| 41 | 43 |
| 42 } // namespace cast | 44 } // namespace cast |
| 43 } // namespace media | 45 } // namespace media |
| 44 | 46 |
| 45 #endif // MEDIA_CAST_SENDER_SOFTWARE_VIDEO_ENCODER_H_ | 47 #endif // MEDIA_CAST_SENDER_SOFTWARE_VIDEO_ENCODER_H_ |
| OLD | NEW |