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>PPB_ContentDecryptor_Private</code> | 7 * This file defines the <code>PPB_ContentDecryptor_Private</code> |
8 * interface. Note: This is a special interface, only to be used for Content | 8 * interface. Note: This is a special interface, only to be used for Content |
9 * Decryption Modules, not normal plugins. | 9 * Decryption Modules, not normal plugins. |
10 */ | 10 */ |
11 | 11 |
12 [generate_thunk] | 12 [generate_thunk] |
13 | 13 |
14 label Chrome { | 14 label Chrome { |
15 M31 = 0.7 | 15 M31 = 0.7, |
| 16 M32 = 0.8 |
16 }; | 17 }; |
17 | 18 |
18 /** | 19 /** |
19 * <code>PPB_ContentDecryptor_Private</code> structure contains the function | 20 * <code>PPB_ContentDecryptor_Private</code> structure contains the function |
20 * pointers the browser must implement to support plugins implementing the | 21 * pointers the browser must implement to support plugins implementing the |
21 * <code>PPP_ContentDecryptor_Private</code> interface. This interface provides | 22 * <code>PPP_ContentDecryptor_Private</code> interface. This interface provides |
22 * browser side support for the Content Decryption Module (CDM) for v0.1 of the | 23 * browser side support for the Content Decryption Module (CDM) for v0.1 of the |
23 * proposed Encrypted Media Extensions: http://goo.gl/rbdnR | 24 * proposed Encrypted Media Extensions: http://goo.gl/rbdnR |
24 */ | 25 */ |
25 interface PPB_ContentDecryptor_Private { | 26 interface PPB_ContentDecryptor_Private { |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 * For example, with three audio output buffers, |audio_frames| will look | 222 * For example, with three audio output buffers, |audio_frames| will look |
222 * like this: | 223 * like this: |
223 * | 224 * |
224 * |<---------------- audio_frames ------------------>| | 225 * |<---------------- audio_frames ------------------>| |
225 * | audio buffer 0 | audio buffer 1 | audio buffer 2 | | 226 * | audio buffer 0 | audio buffer 1 | audio buffer 2 | |
226 * | 227 * |
227 * @param[in] audio_frames A <code>PP_Resource</code> corresponding to a | 228 * @param[in] audio_frames A <code>PP_Resource</code> corresponding to a |
228 * <code>PPB_Buffer_Dev</code> resource that contains a decrypted buffer | 229 * <code>PPB_Buffer_Dev</code> resource that contains a decrypted buffer |
229 * of decoded audio samples. | 230 * of decoded audio samples. |
230 * | 231 * |
231 * @param[in] decrypted_block_info A <code>PP_DecryptedBlockInfo</code> that | 232 * @param[in] decrypted_sample_info A <code>PP_DecryptedSampleInfo</code> that |
232 * contains the tracking info and result code associated with the | 233 * contains the tracking info and result code associated with the decrypted |
233 * <code>decrypted_block</code>. | 234 * samples. |
234 */ | 235 */ |
235 void DeliverSamples( | 236 void DeliverSamples( |
236 [in] PP_Instance instance, | 237 [in] PP_Instance instance, |
237 [in] PP_Resource audio_frames, | 238 [in] PP_Resource audio_frames, |
238 [in] PP_DecryptedBlockInfo decrypted_block_info); | 239 [in] PP_DecryptedSampleInfo decrypted_sample_info); |
239 }; | 240 }; |
OLD | NEW |