8 #ifndef PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_
9 #define PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_
115 uint32_t key_id_size;
130 uint32_t num_subsamples;
145 PP_DECRYPTEDFRAMEFORMAT_UNKNOWN = 0,
146 PP_DECRYPTEDFRAMEFORMAT_YV12 = 1,
147 PP_DECRYPTEDFRAMEFORMAT_I420 = 2
155 PP_DECRYPTEDSAMPLEFORMAT_UNKNOWN = 0,
156 PP_DECRYPTEDSAMPLEFORMAT_U8 = 1,
157 PP_DECRYPTEDSAMPLEFORMAT_S16 = 2,
158 PP_DECRYPTEDSAMPLEFORMAT_S32 = 3,
159 PP_DECRYPTEDSAMPLEFORMAT_F32 = 4,
160 PP_DECRYPTEDSAMPLEFORMAT_PLANAR_S16 = 5,
161 PP_DECRYPTEDSAMPLEFORMAT_PLANAR_F32 = 6
223 PP_DECRYPTEDFRAMEPLANES_Y = 0,
224 PP_DECRYPTEDFRAMEPLANES_U = 1,
225 PP_DECRYPTEDFRAMEPLANES_V = 2
314 PP_AUDIOCODEC_UNKNOWN = 0,
315 PP_AUDIOCODEC_VORBIS = 1,
316 PP_AUDIOCODEC_AAC = 2
372 PP_VIDEOCODEC_UNKNOWN = 0,
373 PP_VIDEOCODEC_VP8 = 1,
374 PP_VIDEOCODEC_H264 = 2,
375 PP_VIDEOCODEC_VP9 = 3
385 PP_VIDEOCODECPROFILE_UNKNOWN = 0,
386 PP_VIDEOCODECPROFILE_NOT_NEEDED = 1,
387 PP_VIDEOCODECPROFILE_H264_BASELINE = 2,
388 PP_VIDEOCODECPROFILE_H264_MAIN = 3,
389 PP_VIDEOCODECPROFILE_H264_EXTENDED = 4,
390 PP_VIDEOCODECPROFILE_H264_HIGH = 5,
391 PP_VIDEOCODECPROFILE_H264_HIGH_10 = 6,
392 PP_VIDEOCODECPROFILE_H264_HIGH_422 = 7,
393 PP_VIDEOCODECPROFILE_H264_HIGH_444_PREDICTIVE = 8
453 PP_DECRYPTORSTREAMTYPE_AUDIO = 0,
454 PP_DECRYPTORSTREAMTYPE_VIDEO = 1
462 PP_SESSIONTYPE_TEMPORARY = 0,
463 PP_SESSIONTYPE_PERSISTENT_LICENSE = 1,
464 PP_SESSIONTYPE_PERSISTENT_RELEASE = 2
472 PP_INITDATATYPE_CENC = 0,
473 PP_INITDATATYPE_KEYIDS = 1,
474 PP_INITDATATYPE_WEBM = 2
482 PP_CDMEXCEPTIONCODE_NOTSUPPORTEDERROR = 1,
483 PP_CDMEXCEPTIONCODE_INVALIDSTATEERROR = 2,
484 PP_CDMEXCEPTIONCODE_INVALIDACCESSERROR = 3,
485 PP_CDMEXCEPTIONCODE_QUOTAEXCEEDEDERROR = 4,
486 PP_CDMEXCEPTIONCODE_UNKNOWNERROR = 5,
487 PP_CDMEXCEPTIONCODE_CLIENTERROR = 6,
488 PP_CDMEXCEPTIONCODE_OUTPUTERROR = 7
496 PP_CDMMESSAGETYPE_LICENSE_REQUEST = 0,
497 PP_CDMMESSAGETYPE_LICENSE_RENEWAL = 1,
498 PP_CDMMESSAGETYPE_LICENSE_RELEASE = 2
506 PP_CDMKEYSTATUS_USABLE = 0,
507 PP_CDMKEYSTATUS_INVALID = 1,
508 PP_CDMKEYSTATUS_EXPIRED = 2,
509 PP_CDMKEYSTATUS_OUTPUTRESTRICTED = 3,
510 PP_CDMKEYSTATUS_OUTPUTDOWNSCALED = 4,
511 PP_CDMKEYSTATUS_STATUSPENDING = 5,
512 PP_CDMKEYSTATUS_RELEASED = 6
532 uint32_t key_id_size;
Definition: pp_content_decryptor.h:80
int32_t samples_per_second
Definition: pp_content_decryptor.h:351
PP_DecryptedFrameFormat format
Definition: pp_content_decryptor.h:424
int32_t bits_per_channel
Definition: pp_content_decryptor.h:347
PP_DecryptedFrameFormat
Definition: pp_content_decryptor.h:144
PP_VideoCodec
Definition: pp_content_decryptor.h:371
PP_DecryptorStreamType
Definition: pp_content_decryptor.h:452
struct PP_DecryptTrackingInfo tracking_info
Definition: pp_content_decryptor.h:207
struct PP_DecryptTrackingInfo tracking_info
Definition: pp_content_decryptor.h:299
int32_t height
Definition: pp_content_decryptor.h:432
int32_t channel_count
Definition: pp_content_decryptor.h:343
PP_VideoCodecProfile profile
Definition: pp_content_decryptor.h:420
struct PP_DecryptSubsampleDescription subsamples[32]
Definition: pp_content_decryptor.h:129
PP_CdmKeyStatus
Definition: pp_content_decryptor.h:505
uint32_t buffer_id
Definition: pp_content_decryptor.h:43
PP_CdmExceptionCode
Definition: pp_content_decryptor.h:481
PP_VideoCodecProfile
Definition: pp_content_decryptor.h:384
PP_DecryptResult result
Definition: pp_content_decryptor.h:245
uint32_t data_size
Definition: pp_content_decryptor.h:104
uint8_t iv[16]
Definition: pp_content_decryptor.h:119
Definition: pp_content_decryptor.h:194
uint32_t data_size
Definition: pp_content_decryptor.h:203
PP_SessionType
Definition: pp_content_decryptor.h:461
Definition: pp_content_decryptor.h:335
uint32_t request_id
Definition: pp_content_decryptor.h:357
Definition: pp_content_decryptor.h:412
int32_t width
Definition: pp_content_decryptor.h:261
Definition: pp_content_decryptor.h:26
uint32_t request_id
Definition: pp_content_decryptor.h:32
Definition: pp_content_decryptor.h:171
struct PP_DecryptTrackingInfo tracking_info
Definition: pp_content_decryptor.h:100
PP_DecryptResult result
Definition: pp_content_decryptor.h:282
PP_DecryptedSampleFormat format
Definition: pp_content_decryptor.h:286
PP_CdmMessageType
Definition: pp_content_decryptor.h:495
int32_t height
Definition: pp_content_decryptor.h:265
uint32_t cipher_bytes
Definition: pp_content_decryptor.h:88
PP_InitDataType
Definition: pp_content_decryptor.h:471
PP_DecryptedFrameFormat format
Definition: pp_content_decryptor.h:249
Definition: pp_content_decryptor.h:177
Definition: pp_content_decryptor.h:278
int32_t strides[3]
Definition: pp_content_decryptor.h:257
int32_t plane_offsets[3]
Definition: pp_content_decryptor.h:253
uint32_t request_id
Definition: pp_content_decryptor.h:438
Definition: pp_content_decryptor.h:179
Definition: pp_content_decryptor.h:175
PP_AudioCodec
Definition: pp_content_decryptor.h:313
uint32_t clear_bytes
Definition: pp_content_decryptor.h:84
uint8_t key_id[64]
Definition: pp_content_decryptor.h:114
PP_VideoCodec codec
Definition: pp_content_decryptor.h:416
uint32_t padding
Definition: pp_content_decryptor.h:295
struct PP_DecryptTrackingInfo tracking_info
Definition: pp_content_decryptor.h:269
PP_DecryptResult
Definition: pp_content_decryptor.h:169
int32_t width
Definition: pp_content_decryptor.h:428
Definition: pp_content_decryptor.h:241
Definition: pp_content_decryptor.h:173
PP_DecryptResult result
Definition: pp_content_decryptor.h:198
int64_t timestamp
Definition: pp_content_decryptor.h:50
PP_DecryptedFramePlanes
Definition: pp_content_decryptor.h:222
PP_DecryptedSampleFormat
Definition: pp_content_decryptor.h:154
uint32_t data_size
Definition: pp_content_decryptor.h:290
Definition: pp_content_decryptor.h:96
PP_AudioCodec codec
Definition: pp_content_decryptor.h:339