OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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>PPP_VideoDecoder_Dev</code> interface. | 7 * This file defines the <code>PPP_VideoDecoder_Dev</code> interface. |
8 */ | 8 */ |
9 label Chrome { | 9 label Chrome { |
10 M14 = 0.9 | 10 M14 = 0.9, |
| 11 M18 = 0.10 |
11 }; | 12 }; |
12 | 13 |
13 /** | 14 /** |
14 * PPP_VideoDecoder_Dev structure contains the function pointers that the | 15 * PPP_VideoDecoder_Dev structure contains the function pointers that the |
15 * plugin MUST implement to provide services needed by the video decoder | 16 * plugin MUST implement to provide services needed by the video decoder |
16 * implementation. | 17 * implementation. |
17 * | 18 * |
18 * See PPB_VideoDecoder_Dev for general usage tips. | 19 * See PPB_VideoDecoder_Dev for general usage tips. |
19 */ | 20 */ |
20 interface PPP_VideoDecoder_Dev { | 21 interface PPP_VideoDecoder_Dev { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 70 |
70 /** | 71 /** |
71 * Callback function to tell the plugin that decoder has decoded end of stream | 72 * Callback function to tell the plugin that decoder has decoded end of stream |
72 * marker and output all the pictures that should be displayed from the | 73 * marker and output all the pictures that should be displayed from the |
73 * stream. | 74 * stream. |
74 * | 75 * |
75 * Parameters: | 76 * Parameters: |
76 * |instance| the plugin instance to which the callback is responding. | 77 * |instance| the plugin instance to which the callback is responding. |
77 * |decoder| the PPB_VideoDecoder_Dev resource. | 78 * |decoder| the PPB_VideoDecoder_Dev resource. |
78 */ | 79 */ |
| 80 [deprecate=0.10] |
79 void EndOfStream( | 81 void EndOfStream( |
80 [in] PP_Instance instance, | 82 [in] PP_Instance instance, |
81 [in] PP_Resource decoder); | 83 [in] PP_Resource decoder); |
82 | 84 |
83 /** | 85 /** |
84 * Error handler callback for decoder to deliver information about detected | 86 * Error handler callback for decoder to deliver information about detected |
85 * errors to the plugin. | 87 * errors to the plugin. |
86 * | 88 * |
87 * Parameters: | 89 * Parameters: |
88 * |instance| the plugin instance to which the callback is responding. | 90 * |instance| the plugin instance to which the callback is responding. |
89 * |decoder| the PPB_VideoDecoder_Dev resource. | 91 * |decoder| the PPB_VideoDecoder_Dev resource. |
90 * |error| error is the enumeration specifying the error. | 92 * |error| error is the enumeration specifying the error. |
91 */ | 93 */ |
92 void NotifyError( | 94 void NotifyError( |
93 [in] PP_Instance instance, | 95 [in] PP_Instance instance, |
94 [in] PP_Resource decoder, | 96 [in] PP_Resource decoder, |
95 [in] PP_VideoDecodeError_Dev error); | 97 [in] PP_VideoDecodeError_Dev error); |
96 }; | 98 }; |
OLD | NEW |