| 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_H264_VT_ENCODER_H_ | 5 #ifndef MEDIA_CAST_SENDER_H264_VT_ENCODER_H_ |
| 6 #define MEDIA_CAST_SENDER_H264_VT_ENCODER_H_ | 6 #define MEDIA_CAST_SENDER_H264_VT_ENCODER_H_ |
| 7 | 7 |
| 8 #include "base/mac/scoped_cftyperef.h" | 8 #include "base/mac/scoped_cftyperef.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/power_monitor/power_observer.h" | 10 #include "base/power_monitor/power_observer.h" |
| 10 #include "base/threading/thread_checker.h" | 11 #include "base/threading/thread_checker.h" |
| 11 #include "media/base/mac/videotoolbox_glue.h" | 12 #include "media/base/mac/videotoolbox_glue.h" |
| 12 #include "media/cast/sender/size_adaptable_video_encoder_base.h" | 13 #include "media/cast/sender/size_adaptable_video_encoder_base.h" |
| 13 #include "media/cast/sender/video_encoder.h" | 14 #include "media/cast/sender/video_encoder.h" |
| 14 | 15 |
| 15 namespace media { | 16 namespace media { |
| 16 namespace cast { | 17 namespace cast { |
| 17 | 18 |
| 18 // VideoToolbox implementation of the media::cast::VideoEncoder interface. | 19 // VideoToolbox implementation of the media::cast::VideoEncoder interface. |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 // NOTE: Weak pointers must be invalidated before all other member variables. | 124 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 124 base::WeakPtrFactory<H264VideoToolboxEncoder> weak_factory_; | 125 base::WeakPtrFactory<H264VideoToolboxEncoder> weak_factory_; |
| 125 | 126 |
| 126 DISALLOW_COPY_AND_ASSIGN(H264VideoToolboxEncoder); | 127 DISALLOW_COPY_AND_ASSIGN(H264VideoToolboxEncoder); |
| 127 }; | 128 }; |
| 128 | 129 |
| 129 } // namespace cast | 130 } // namespace cast |
| 130 } // namespace media | 131 } // namespace media |
| 131 | 132 |
| 132 #endif // MEDIA_CAST_SENDER_H264_VT_ENCODER_H_ | 133 #endif // MEDIA_CAST_SENDER_H264_VT_ENCODER_H_ |
| OLD | NEW |