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

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

Issue 11023004: Update PPP side of Pepper CDM API to support video decoding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use DecryptAndDecodeFrame instead of DecryptAndDecodeVideo. Created 8 years, 3 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 458e46a67b70df6d494cbcda751adbf8b38bb560..421a225075c0e6b111d1c230fa9c90f1792c1680 100644
--- a/ppapi/api/private/ppp_content_decryptor_private.idl
+++ b/ppapi/api/private/ppp_content_decryptor_private.idl
@@ -100,24 +100,22 @@ interface PPP_ContentDecryptor_Private {
[in] PP_EncryptedBlockInfo encrypted_block_info);
/**
- * Decrypts the block, decodes it, and returns the unencrypted uncompressed
- * (decoded) media to the browser via the
+ * 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.
*
- * Decrypted and decoded video frames are sent to <code>DeliverFrame()</code>,
- * and decrypted and decoded audio samples are sent to
- * <code>DeliverSamples()</code>.
+ * @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] resource A <code>PP_Resource</code> corresponding to a
- * <code>PPB_Buffer_Dev</code> resource that contains an encrypted data
- * block.
- *
- * @param[in] encrypted_block_info A <code>PP_EncryptedBlockInfo</code> that
- * contains all auxiliary information needed for decryption of the
- * <code>encrypted_block</code>.
+ * @param[in] encrypted_video_frame_info A
+ * <code>PP_EncryptedVideoFrameInfo</code> that contains all information
+ * needed to decrypt and decode of the
Ami GONE FROM CHROMIUM 2012/10/01 03:21:41 s/of //
Tom Finegan 2012/10/02 02:42:26 Done, but reworded because the comment was incorre
+ * <code>encrypted_video_frame_info</code>.
*/
- void DecryptAndDecode(
+ void DecryptAndDecodeFrame(
[in] PP_Instance instance,
- [in] PP_Resource encrypted_block,
- [in] PP_EncryptedBlockInfo encrypted_block_info);
+ [in] PP_Resource encrypted_video_frame,
+ [in] PP_EncryptedVideoFrameInfo encrypted_video_frame_info);
};

Powered by Google App Engine
This is Rietveld 408576698