| OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 | 5 |
| 6 /** | 6 /** |
| 7 * This file defines the <code>PPB_VideoDecoder_Dev</code> interface. | 7 * This file defines the <code>PPB_VideoDecoder_Dev</code> interface. |
| 8 */ | 8 */ |
| 9 label Chrome { | 9 label Chrome { |
| 10 M14 = 0.16 | 10 M14 = 0.16 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 * | 28 * |
| 29 * See PPP_VideoDecoder_Dev for the notifications the decoder may send the | 29 * See PPP_VideoDecoder_Dev for the notifications the decoder may send the |
| 30 * plugin. | 30 * plugin. |
| 31 */ | 31 */ |
| 32 interface PPB_VideoDecoder_Dev { | 32 interface PPB_VideoDecoder_Dev { |
| 33 /** | 33 /** |
| 34 * Creates & initializes a video decoder. | 34 * Creates & initializes a video decoder. |
| 35 * | 35 * |
| 36 * Parameters: | 36 * Parameters: |
| 37 * |instance| pointer to the plugin instance. | 37 * |instance| pointer to the plugin instance. |
| 38 * |context_3d| a PPB_Context3D_Dev resource in which decoding will happen. | 38 * |context| a PPB_Graphics3D resource in which decoding will happen. |
| 39 * |profile| the video stream's format profile. | 39 * |profile| the video stream's format profile. |
| 40 * | 40 * |
| 41 * The created decoder is returned as PP_Resource. 0 means failure. | 41 * The created decoder is returned as PP_Resource. 0 means failure. |
| 42 */ | 42 */ |
| 43 PP_Resource Create( | 43 PP_Resource Create( |
| 44 [in] PP_Instance instance, | 44 [in] PP_Instance instance, |
| 45 [in] PP_Resource context, | 45 [in] PP_Resource context, |
| 46 [in] PP_VideoDecoder_Profile profile); | 46 [in] PP_VideoDecoder_Profile profile); |
| 47 | 47 |
| 48 /** | 48 /** |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 * may be freed asynchronously, after this method returns no more callbacks | 145 * may be freed asynchronously, after this method returns no more callbacks |
| 146 * will be made on the client. Any resources held by the client at that point | 146 * will be made on the client. Any resources held by the client at that point |
| 147 * may be freed. | 147 * may be freed. |
| 148 * | 148 * |
| 149 * Parameters: | 149 * Parameters: |
| 150 * |video_decoder| is the previously created handle to the decoder resource. | 150 * |video_decoder| is the previously created handle to the decoder resource. |
| 151 */ | 151 */ |
| 152 void Destroy( | 152 void Destroy( |
| 153 [in] PP_Resource video_decoder); | 153 [in] PP_Resource video_decoder); |
| 154 }; | 154 }; |
| OLD | NEW |