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

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

Issue 11087044: Generalize Pepper CDM API decrypt and decode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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
« no previous file with comments | « no previous file | ppapi/api/private/ppp_content_decryptor_private.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/private/pp_content_decryptor.idl
diff --git a/ppapi/api/private/pp_content_decryptor.idl b/ppapi/api/private/pp_content_decryptor.idl
index ea05965a79c9e6d6a47f78d7ba4f3e2b412482cf..24059d42bca992134ab7a26a7ee4bfed528a1afc 100644
--- a/ppapi/api/private/pp_content_decryptor.idl
+++ b/ppapi/api/private/pp_content_decryptor.idl
@@ -134,40 +134,6 @@ enum PP_VideoCodec {
};
/**
- * <code>PP_EncryptedVideoFrameInfo</code> contains the information required
- * to decrypt and decode a video frame.
- * TODO(tomfinegan): Revisit necessity of including format information in this
- * struct once we decide how to implement video decoder initialization.
- */
-[assert_size(256)]
-struct PP_EncryptedVideoFrameInfo {
- /**
- * The decoded video frame format.
- */
- PP_DecryptedFrameFormat format;
-
- /**
- * The video frame codec type.
- */
- PP_VideoCodec codec;
-
- /**
- * Video frame width in pixels.
- */
- int32_t width;
-
- /**
- * Video frame height in pixels.
- */
- int32_t height;
-
- /**
- * Information required to decrypt the frame.
- */
- PP_EncryptedBlockInfo encryption_info;
-};
-
-/**
* The <code>PP_DecryptResult</code> enum contains decryption and decoding
* result constants.
*/
@@ -196,8 +162,8 @@ struct PP_DecryptedBlockInfo {
/**
* 4-byte padding to make the size of <code>PP_DecryptedBlockInfo</code>
- * a multiple of 8 bytes and make sure |tracking_info| starts on an 8-byte
- * boundary. The value of this field should not be used.
+ * a multiple of 8 bytes, and ensure consistent size on all targets. This
+ * value should never be used.
*/
uint32_t padding;
« no previous file with comments | « no previous file | ppapi/api/private/ppp_content_decryptor_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698