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