OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 REMOTING_BASE_ENCODER_H_ | 5 #ifndef REMOTING_CODEC_VIDEO_ENCODER_H_ |
6 #define REMOTING_BASE_ENCODER_H_ | 6 #define REMOTING_CODEC_VIDEO_ENCODER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "media/base/data_buffer.h" | 10 #include "media/base/data_buffer.h" |
11 | 11 |
12 namespace media { | 12 namespace media { |
13 class DataBuffer; | 13 class DataBuffer; |
14 } | 14 } |
15 | 15 |
16 namespace remoting { | 16 namespace remoting { |
(...skipping 21 matching lines...) Expand all Loading... |
38 // | 38 // |
39 // When encoded data is available, partial or full |data_available_callback| | 39 // When encoded data is available, partial or full |data_available_callback| |
40 // is called. | 40 // is called. |
41 virtual void Encode(scoped_refptr<CaptureData> capture_data, | 41 virtual void Encode(scoped_refptr<CaptureData> capture_data, |
42 bool key_frame, | 42 bool key_frame, |
43 const DataAvailableCallback& data_available_callback) = 0; | 43 const DataAvailableCallback& data_available_callback) = 0; |
44 }; | 44 }; |
45 | 45 |
46 } // namespace remoting | 46 } // namespace remoting |
47 | 47 |
48 #endif // REMOTING_BASE_ENCODER_H_ | 48 #endif // REMOTING_CODEC_VIDEO_ENCODER_H_ |
OLD | NEW |