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_VIDEO_SENDER_EXTERNAL_VIDEO_ENCODER_H_ | 5 #ifndef MEDIA_CAST_SENDER_EXTERNAL_VIDEO_ENCODER_H_ |
6 #define MEDIA_CAST_VIDEO_SENDER_EXTERNAL_VIDEO_ENCODER_H_ | 6 #define MEDIA_CAST_SENDER_EXTERNAL_VIDEO_ENCODER_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "media/cast/cast_config.h" | 10 #include "media/cast/cast_config.h" |
11 #include "media/cast/cast_environment.h" | 11 #include "media/cast/cast_environment.h" |
12 #include "media/cast/video_sender/video_encoder.h" | 12 #include "media/cast/sender/video_encoder.h" |
13 #include "media/video/video_encode_accelerator.h" | 13 #include "media/video/video_encode_accelerator.h" |
14 | 14 |
15 namespace media { | 15 namespace media { |
16 class VideoFrame; | 16 class VideoFrame; |
17 } | 17 } |
18 | 18 |
19 namespace media { | 19 namespace media { |
20 namespace cast { | 20 namespace cast { |
21 | 21 |
22 class LocalVideoEncodeAcceleratorClient; | 22 class LocalVideoEncodeAcceleratorClient; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // notifications to ExternalVideoEncoder. | 76 // notifications to ExternalVideoEncoder. |
77 // NOTE: Weak pointers must be invalidated before all other member variables. | 77 // NOTE: Weak pointers must be invalidated before all other member variables. |
78 base::WeakPtrFactory<ExternalVideoEncoder> weak_factory_; | 78 base::WeakPtrFactory<ExternalVideoEncoder> weak_factory_; |
79 | 79 |
80 DISALLOW_COPY_AND_ASSIGN(ExternalVideoEncoder); | 80 DISALLOW_COPY_AND_ASSIGN(ExternalVideoEncoder); |
81 }; | 81 }; |
82 | 82 |
83 } // namespace cast | 83 } // namespace cast |
84 } // namespace media | 84 } // namespace media |
85 | 85 |
86 #endif // MEDIA_CAST_VIDEO_SENDER_EXTERNAL_VIDEO_ENCODER_H_ | 86 #endif // MEDIA_CAST_SENDER_EXTERNAL_VIDEO_ENCODER_H_ |
OLD | NEW |