OLD | NEW |
1 // Copyright (c) 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 "ppapi/c/pp_codecs.h" | 8 #include "ppapi/c/pp_codecs.h" |
9 #include "ppapi/c/pp_size.h" | 9 #include "ppapi/c/pp_size.h" |
10 #include "ppapi/cpp/completion_callback.h" | 10 #include "ppapi/cpp/completion_callback.h" |
11 #include "ppapi/cpp/graphics_3d.h" | 11 #include "ppapi/cpp/graphics_3d.h" |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 /// callbacks will still run, reporting <code>PP_ERROR_ABORTED</code> . It is | 166 /// callbacks will still run, reporting <code>PP_ERROR_ABORTED</code> . It is |
167 /// not valid to call any encoder functions after a call to this method. | 167 /// not valid to call any encoder functions after a call to this method. |
168 /// <strong>Note:</strong> Destroying the video encoder closes it implicitly, | 168 /// <strong>Note:</strong> Destroying the video encoder closes it implicitly, |
169 /// so you are not required to call Close(). | 169 /// so you are not required to call Close(). |
170 void Close(); | 170 void Close(); |
171 }; | 171 }; |
172 | 172 |
173 } // namespace pp | 173 } // namespace pp |
174 | 174 |
175 #endif // PPAPI_CPP_VIDEO_ENCODER_H_ | 175 #endif // PPAPI_CPP_VIDEO_ENCODER_H_ |
OLD | NEW |