Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: ppapi/api/private/ppp_content_decryptor_private.idl

Issue 11087044: Generalize Pepper CDM API decrypt and decode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..0c4ebd98b46a8cdd4cb860f3a8af72654db6adcb 100644
--- a/ppapi/api/private/ppp_content_decryptor_private.idl
+++ b/ppapi/api/private/ppp_content_decryptor_private.idl
@@ -100,21 +100,20 @@ interface PPP_ContentDecryptor_Private {
[in] PP_EncryptedBlockInfo encrypted_block_info);
/**
- * 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
+ * Decrypts encrypted_buffer, decodes it, and returns the unencrypted
+ * uncompressed (decoded) data to the browser via the
+ * <code>DeliverFrame()</code> or <code>DeliverSamples()</code> method on the
* <code>PPB_ContentDecryptor_Private</code> interface.
*
- * @param[in] encrypted_video_frame A <code>PP_Resource</code> corresponding
- * to a <code>PPB_Buffer_Dev</code> resource that contains an encrypted video
- * frame.
+ * @param[in] encrypted_buffer A <code>PP_Resource</code> corresponding to a
+ * <code>PPB_Buffer_Dev</code> resource that contains encrypted media data.
*
- * @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>.
+ * @param[in] encrypted_media_info A <code>PP_EncryptedMediaInfo</code> that
+ * contains all information needed to decrypt and decode
+ * <code>encrypted_buffer</code>.
*/
- void DecryptAndDecodeFrame(
+ void DecryptAndDecode(
[in] PP_Instance instance,
- [in] PP_Resource encrypted_video_frame,
- [in] PP_EncryptedVideoFrameInfo encrypted_video_frame_info);
+ [in] PP_Resource encrypted_buffer,
+ [in] PP_EncryptedMediaInfo encrypted_media_info);
};

Powered by Google App Engine
This is Rietveld 408576698