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_ContentDecryptor_Dev</code> | 7 * This file defines the <code>PPP_ContentDecryptor_Dev</code> |
8 * interface. | 8 * interface. |
9 */ | 9 */ |
10 label Chrome { | 10 label Chrome { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 [in] uint16_t system_error); | 64 [in] uint16_t system_error); |
65 | 65 |
66 /** | 66 /** |
67 * Called after the <code>Decrypt</code> method on the | 67 * Called after the <code>Decrypt</code> method on the |
68 * <code>PPP_ContentDecryptor_Dev</code> interface completes to | 68 * <code>PPP_ContentDecryptor_Dev</code> interface completes to |
69 * deliver decrypted_block to the media stack. | 69 * deliver decrypted_block to the media stack. |
70 */ | 70 */ |
71 void DeliverBlock( | 71 void DeliverBlock( |
72 [in] PP_Instance instance, | 72 [in] PP_Instance instance, |
73 [in] PP_Resource decrypted_block, /* PPB_Buffer. */ | 73 [in] PP_Resource decrypted_block, /* PPB_Buffer. */ |
74 [in] PP_CompletionCallback callback); | 74 [in] uint32_t id); |
75 | 75 |
76 /** | 76 /** |
77 * Called after the <code>DecryptAndDecode</code> method on the | 77 * Called after the <code>DecryptAndDecode</code> method on the |
78 * <code>PPP_ContentDecryptor_Dev</code> interface completes to | 78 * <code>PPP_ContentDecryptor_Dev</code> interface completes to |
79 * deliver decrypted_frame to the media stack. | 79 * deliver decrypted_frame to the media stack. |
80 */ | 80 */ |
81 void DeliverFrame( | 81 void DeliverFrame( |
82 [in] PP_Instance instance, | 82 [in] PP_Instance instance, |
83 [in] PP_Resource decrypted_frame, /* PPB_Buffer. */ | 83 [in] PP_Resource decrypted_frame, /* PPB_Buffer. */ |
84 [in] PP_CompletionCallback callback); | 84 [in] PP_CompletionCallback callback); |
85 | 85 |
86 /** | 86 /** |
87 * Called after the <code>DecryptAndDecode</code> method on the | 87 * Called after the <code>DecryptAndDecode</code> method on the |
88 * <code>PPP_ContentDecryptor_Dev</code> interface completes to | 88 * <code>PPP_ContentDecryptor_Dev</code> interface completes to |
89 * deliver decrypted_samples to the media stack. | 89 * deliver decrypted_samples to the media stack. |
90 */ | 90 */ |
91 void DeliverSamples( | 91 void DeliverSamples( |
92 [in] PP_Instance instance, | 92 [in] PP_Instance instance, |
93 [in] PP_Resource decrypted_samples, /* PPB_Buffer. */ | 93 [in] PP_Resource decrypted_samples, /* PPB_Buffer. */ |
94 [in] PP_CompletionCallback callback); | 94 [in] PP_CompletionCallback callback); |
95 }; | 95 }; |
OLD | NEW |