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

Unified Diff: ppapi/c/private/pp_content_decryptor.h

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
Index: ppapi/c/private/pp_content_decryptor.h
diff --git a/ppapi/c/private/pp_content_decryptor.h b/ppapi/c/private/pp_content_decryptor.h
index 8a886c0447461a824f2d9accae03546ad3a54783..2ddc1079ab9e9ceb15bd065c9d24c45edc0b0d6e 100644
--- a/ppapi/c/private/pp_content_decryptor.h
+++ b/ppapi/c/private/pp_content_decryptor.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/pp_content_decryptor.idl modified Thu Oct 11 21:05:33 2012. */
+/* From private/pp_content_decryptor.idl modified Thu Oct 11 22:13:01 2012. */
#ifndef PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_
#define PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_
@@ -147,52 +147,8 @@ typedef enum {
PP_VIDEOCODEC_VP8 = 1
} PP_VideoCodec;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoCodec, 4);
-/**
- * @}
- */
-
-/**
- * @addtogroup Structs
- * @{
- */
-/**
- * <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.
- */
-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.
- */
- struct PP_EncryptedBlockInfo encryption_info;
-};
-PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_EncryptedVideoFrameInfo, 256);
-/**
- * @}
- */
/**
- * @addtogroup Enums
- * @{
- */
-/**
* The <code>PP_DecryptResult</code> enum contains decryption and decoding
* result constants.
*/
@@ -226,8 +182,8 @@ struct PP_DecryptedBlockInfo {
PP_DecryptResult result;
/**
* 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 | « ppapi/api/private/ppp_content_decryptor_private.idl ('k') | ppapi/c/private/ppp_content_decryptor_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698