OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 PPAPI_CPP_VIDEO_ENCODER_H_ | 5 #ifndef PPAPI_CPP_VIDEO_ENCODER_H_ |
6 #define PPAPI_CPP_VIDEO_ENCODER_H_ | 6 #define PPAPI_CPP_VIDEO_ENCODER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/pp_codecs.h" | 10 #include "ppapi/c/pp_codecs.h" |
9 #include "ppapi/c/pp_size.h" | 11 #include "ppapi/c/pp_size.h" |
10 #include "ppapi/cpp/completion_callback.h" | 12 #include "ppapi/cpp/completion_callback.h" |
11 #include "ppapi/cpp/resource.h" | 13 #include "ppapi/cpp/resource.h" |
12 #include "ppapi/cpp/size.h" | 14 #include "ppapi/cpp/size.h" |
13 #include "ppapi/cpp/video_frame.h" | 15 #include "ppapi/cpp/video_frame.h" |
14 | 16 |
15 /// @file | 17 /// @file |
16 /// This file defines the API to create and use a VideoEncoder resource. | 18 /// This file defines the API to create and use a VideoEncoder resource. |
17 | 19 |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 /// callbacks will still run, reporting <code>PP_ERROR_ABORTED</code> . It is | 171 /// callbacks will still run, reporting <code>PP_ERROR_ABORTED</code> . It is |
170 /// not valid to call any encoder functions after a call to this method. | 172 /// not valid to call any encoder functions after a call to this method. |
171 /// <strong>Note:</strong> Destroying the video encoder closes it implicitly, | 173 /// <strong>Note:</strong> Destroying the video encoder closes it implicitly, |
172 /// so you are not required to call Close(). | 174 /// so you are not required to call Close(). |
173 void Close(); | 175 void Close(); |
174 }; | 176 }; |
175 | 177 |
176 } // namespace pp | 178 } // namespace pp |
177 | 179 |
178 #endif // PPAPI_CPP_VIDEO_ENCODER_H_ | 180 #endif // PPAPI_CPP_VIDEO_ENCODER_H_ |
OLD | NEW |