| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 PPAPI_CPP_VIDEO_DECODER_H_ | 5 #ifndef PPAPI_CPP_VIDEO_DECODER_H_ |
| 6 #define PPAPI_CPP_VIDEO_DECODER_H_ | 6 #define PPAPI_CPP_VIDEO_DECODER_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/graphics_3d.h" | 13 #include "ppapi/cpp/graphics_3d.h" |
| 12 #include "ppapi/cpp/resource.h" | 14 #include "ppapi/cpp/resource.h" |
| 13 #include "ppapi/cpp/size.h" | 15 #include "ppapi/cpp/size.h" |
| 14 | 16 |
| 15 /// @file | 17 /// @file |
| 16 /// This file defines the API to create and use a VideoDecoder resource. | 18 /// This file defines the API to create and use a VideoDecoder resource. |
| 17 | 19 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 /// completion. | 176 /// completion. |
| 175 /// | 177 /// |
| 176 /// @return An int32_t containing an error code from <code>pp_errors.h</code>. | 178 /// @return An int32_t containing an error code from <code>pp_errors.h</code>. |
| 177 /// Returns PP_ERROR_FAILED if the decoder isn't initialized. | 179 /// Returns PP_ERROR_FAILED if the decoder isn't initialized. |
| 178 int32_t Reset(const CompletionCallback& callback); | 180 int32_t Reset(const CompletionCallback& callback); |
| 179 }; | 181 }; |
| 180 | 182 |
| 181 } // namespace pp | 183 } // namespace pp |
| 182 | 184 |
| 183 #endif // PPAPI_CPP_VIDEO_DECODER_H_ | 185 #endif // PPAPI_CPP_VIDEO_DECODER_H_ |
| OLD | NEW |