Index: ppapi/api/private/ppp_content_decryptor_private.idl |
diff --git a/ppapi/api/private/ppp_content_decryptor_private.idl b/ppapi/api/private/ppp_content_decryptor_private.idl |
index 3f9b412f28ba1b4cd257a6b9cad28277228031a9..9e3aae942c21c0e910ff00f091fbb389760d1ee0 100644 |
--- a/ppapi/api/private/ppp_content_decryptor_private.idl |
+++ b/ppapi/api/private/ppp_content_decryptor_private.idl |
@@ -9,7 +9,7 @@ |
* Decryption Modules, not normal plugins. |
*/ |
label Chrome { |
- M23 = 0.2 |
+ M24 = 0.3 |
}; |
/** |
@@ -100,7 +100,45 @@ interface PPP_ContentDecryptor_Private { |
[in] PP_EncryptedBlockInfo encrypted_block_info); |
/** |
- * Decrypts encrypted_video_frame, decodes it, and returns the unencrypted |
+ * De-initializes the decoder for the <code>PP_StreamType</code> specified |
+ * by <code>decoder_type</code>. De-initialization completion is reported to |
+ * the browser using the <code>DecoderDeinitializeDone()</code> method on |
+ * the <code>PPB_ContentDecryptor_Private</code> interface. |
+ * |
+ * @param[in] decoder_type A <code>PP_StreamType</code> that specifies the |
+ * decoder to de-initialize. |
+ * |
+ * @param[in] request_id A request ID that allows the browser to associate a |
+ * request to de-initialize a decoder with the corresponding call to the |
+ * <code>DecoderDeinitializeDone()</code> method on the |
+ * <code>PPB_ContentDecryptor_Private</code> interface. |
+ */ |
+ void DeinitializeDecoder( |
+ [in] PP_Instance instance, |
+ [in] PP_StreamType decoder_type, |
+ [in] uint32_t request_id); |
+ |
+ /** |
+ * Resets the decoder for the <code>PP_StreamType</code> specified |
+ * by <code>decoder_type</code>. Reset completion is reported to the browser |
+ * using the <code>DecoderResetDone()</code> method on the |
+ * <code>PPB_ContentDecryptor_Private</code> interface. |
+ * |
+ * @param[in] decoder_type A <code>PP_StreamType</code> that specifies the |
+ * decoder to reset. |
+ * |
+ * @param[in] request_id A request ID that allows the browser to associate a |
+ * request to reset the decoder with a corresponding call to the |
+ * <code>DecoderResetDone()</code> method on the |
+ * <code>PPB_ContentDecryptor_Private</code> interface. |
+ */ |
+ void ResetDecoder( |
+ [in] PP_Instance instance, |
+ [in] PP_StreamType decoder_type, |
+ [in] uint32_t request_id); |
+ |
+ /** |
+ * Decrypts encrypted_video_frame, decodes it, and returns the unencrypted |
* uncompressed (decoded) video frame to the browser via the |
* <code>DeliverFrame()</code> method on the |
* <code>PPB_ContentDecryptor_Private</code> interface. |
@@ -109,7 +147,7 @@ interface PPP_ContentDecryptor_Private { |
* to a <code>PPB_Buffer_Dev</code> resource that contains an encrypted video |
* frame. |
* |
- * @param[in] encrypted_video_frame_info A |
+ * @param[in] encrypted_video_frame_info A |
* <code>PP_EncryptedVideoFrameInfo</code> that contains all information |
* needed to decrypt and decode <code>encrypted_video_frame</code>. |
*/ |