| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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_C_DEV_PPB_VIDEO_DECODER_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ |
| 6 #define PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/dev/pp_video_dev.h" | 9 #include "ppapi/c/dev/pp_video_dev.h" |
| 10 #include "ppapi/c/pp_module.h" | 10 #include "ppapi/c/pp_module.h" |
| 11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
| 12 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
| 13 #include "ppapi/c/pp_completion_callback.h" | 13 #include "ppapi/c/pp_completion_callback.h" |
| 14 | 14 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // flushing, the decode will call the |callback|. | 77 // flushing, the decode will call the |callback|. |
| 78 int32_t (*Flush)(PP_Resource decoder, struct PP_CompletionCallback callback); | 78 int32_t (*Flush)(PP_Resource decoder, struct PP_CompletionCallback callback); |
| 79 | 79 |
| 80 // Plugin sends uncompressed data buffers to the decoder. | 80 // Plugin sends uncompressed data buffers to the decoder. |
| 81 // Returns PP_TRUE on decoder successfully accepting the buffer, PP_FALSE | 81 // Returns PP_TRUE on decoder successfully accepting the buffer, PP_FALSE |
| 82 // otherwise. | 82 // otherwise. |
| 83 PP_Bool (*ReturnUncompressedDataBuffer)(PP_Resource decoder, | 83 PP_Bool (*ReturnUncompressedDataBuffer)(PP_Resource decoder, |
| 84 struct PP_VideoUncompressedDataBuffer_Dev* buffer); | 84 struct PP_VideoUncompressedDataBuffer_Dev* buffer); |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 #endif // PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ | 87 #endif /* PPAPI_C_DEV_PPB_VIDEO_DECODER_DEV_H_ */ |
| 88 |
| OLD | NEW |