/external/chromium_org/media/cdm/ |
D | aes_decryptor_unittest.cc | 193 scoped_refptr<DecoderBuffer> encrypted_buffer(new DecoderBuffer(data.size())); in CreateEncryptedBuffer() local 194 memcpy(encrypted_buffer->writable_data(), &data[0], data.size()); in CreateEncryptedBuffer() 195 CHECK(encrypted_buffer.get()); in CreateEncryptedBuffer() 201 encrypted_buffer->set_decrypt_config(scoped_ptr<DecryptConfig>( in CreateEncryptedBuffer() 203 return encrypted_buffer; in CreateEncryptedBuffer() 488 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() local 490 DecryptAndExpect(encrypted_buffer, original_data_, SUCCESS); in TEST_F() 495 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() local 497 DecryptAndExpect(encrypted_buffer, original_data_, SUCCESS); in TEST_F() 503 scoped_refptr<DecoderBuffer> encrypted_buffer = CreateEncryptedBuffer( in TEST_F() local [all …]
|
/external/chromium_org/media/cdm/ppapi/ |
D | cdm_wrapper.h | 75 virtual cdm::Status Decrypt(const cdm::InputBuffer& encrypted_buffer, 84 const cdm::InputBuffer& encrypted_buffer, 87 const cdm::InputBuffer& encrypted_buffer, 261 virtual cdm::Status Decrypt(const cdm::InputBuffer& encrypted_buffer, in Decrypt() argument 263 return cdm_->Decrypt(encrypted_buffer, decrypted_buffer); in Decrypt() 285 const cdm::InputBuffer& encrypted_buffer, in DecryptAndDecodeFrame() argument 287 return cdm_->DecryptAndDecodeFrame(encrypted_buffer, video_frame); in DecryptAndDecodeFrame() 291 const cdm::InputBuffer& encrypted_buffer, in DecryptAndDecodeSamples() argument 293 return cdm_->DecryptAndDecodeSamples(encrypted_buffer, audio_frames); in DecryptAndDecodeSamples() 508 const cdm::InputBuffer& encrypted_buffer, in Decrypt() argument [all …]
|
D | cdm_adapter.cc | 58 const pp::Buffer_Dev& encrypted_buffer, in ConfigureInputBuffer() argument 63 PP_DCHECK(!encrypted_buffer.is_null()); in ConfigureInputBuffer() 65 input_buffer->data = static_cast<uint8_t*>(encrypted_buffer.data()); in ConfigureInputBuffer() 67 PP_DCHECK(encrypted_buffer.size() >= input_buffer->data_size); in ConfigureInputBuffer() 454 void CdmAdapter::Decrypt(pp::Buffer_Dev encrypted_buffer, in Decrypt() argument 456 PP_DCHECK(!encrypted_buffer.is_null()); in Decrypt() 467 ConfigureInputBuffer(encrypted_buffer, encrypted_block_info, &subsamples, in Decrypt() 576 pp::Buffer_Dev encrypted_buffer, in DecryptAndDecode() argument 584 if (cdm_ && !encrypted_buffer.is_null()) { in DecryptAndDecode() 585 ConfigureInputBuffer(encrypted_buffer, in DecryptAndDecode()
|
D | cdm_adapter.h | 74 pp::Buffer_Dev encrypted_buffer, 88 pp::Buffer_Dev encrypted_buffer,
|
/external/chromium_org/content/renderer/pepper/ |
D | content_decryptor_delegate.cc | 101 const scoped_refptr<media::DecoderBuffer>& encrypted_buffer, in MakeEncryptedBlockInfo() argument 110 if (encrypted_buffer->end_of_stream()) in MakeEncryptedBlockInfo() 113 DCHECK(encrypted_buffer->data_size()) in MakeEncryptedBlockInfo() 117 encrypted_buffer->timestamp().InMicroseconds(); in MakeEncryptedBlockInfo() 118 block_info->data_size = encrypted_buffer->data_size(); in MakeEncryptedBlockInfo() 121 encrypted_buffer->decrypt_config(); in MakeEncryptedBlockInfo() 462 const scoped_refptr<media::DecoderBuffer>& encrypted_buffer, in Decrypt() argument 471 stream_type, encrypted_buffer, &encrypted_resource) || in Decrypt() 481 DCHECK(encrypted_buffer->decrypt_config()); in Decrypt() 482 if (!MakeEncryptedBlockInfo(encrypted_buffer, request_id, &block_info)) { in Decrypt() [all …]
|
D | content_decryptor_delegate.h | 83 const scoped_refptr<media::DecoderBuffer>& encrypted_buffer, 98 const scoped_refptr<media::DecoderBuffer>& encrypted_buffer, 101 const scoped_refptr<media::DecoderBuffer>& encrypted_buffer, 190 const scoped_refptr<media::DecoderBuffer>& encrypted_buffer,
|
/external/chromium_org/ppapi/proxy/ |
D | ppp_content_decryptor_private_proxy.cc | 436 PP_Resource encrypted_buffer, in DecryptAndDecode() argument 447 encrypted_buffer, in DecryptAndDecode() 462 PpapiGlobals::Get()->GetResourceTracker()->AddRefResource(encrypted_buffer); in DecryptAndDecode() 677 const PPPDecryptor_Buffer& encrypted_buffer, in OnMsgDecrypt() argument 681 PPB_Buffer_Proxy::AddProxyResource(encrypted_buffer.resource, in OnMsgDecrypt() 682 encrypted_buffer.handle, in OnMsgDecrypt() 683 encrypted_buffer.size)); in OnMsgDecrypt() 776 const PPPDecryptor_Buffer& encrypted_buffer, in OnMsgDecryptAndDecode() argument 779 if (encrypted_buffer.resource.host_resource() != 0) { in OnMsgDecryptAndDecode() 782 PPB_Buffer_Proxy::AddProxyResource(encrypted_buffer.resource, in OnMsgDecryptAndDecode() [all …]
|
D | ppp_content_decryptor_private_proxy.h | 61 const PPPDecryptor_Buffer& encrypted_buffer, 80 const PPPDecryptor_Buffer& encrypted_buffer,
|
/external/chromium_org/media/cdm/ppapi/external_clear_key/ |
D | clear_key_cdm.h | 66 virtual cdm::Status Decrypt(const cdm::InputBuffer& encrypted_buffer, 75 const cdm::InputBuffer& encrypted_buffer, 78 const cdm::InputBuffer& encrypted_buffer, 123 const cdm::InputBuffer& encrypted_buffer,
|
D | clear_key_cdm.cc | 428 cdm::Status ClearKeyCdm::Decrypt(const cdm::InputBuffer& encrypted_buffer, in Decrypt() argument 431 DCHECK(encrypted_buffer.data); in Decrypt() 434 cdm::Status status = DecryptToMediaDecoderBuffer(encrypted_buffer, &buffer); in Decrypt() 534 const cdm::InputBuffer& encrypted_buffer, in DecryptAndDecodeFrame() argument 540 cdm::Status status = DecryptToMediaDecoderBuffer(encrypted_buffer, &buffer); in DecryptAndDecodeFrame() 551 timestamp = encrypted_buffer.timestamp; in DecryptAndDecodeFrame() 558 const cdm::InputBuffer& encrypted_buffer, in DecryptAndDecodeSamples() argument 567 cdm::Status status = DecryptToMediaDecoderBuffer(encrypted_buffer, &buffer); in DecryptAndDecodeSamples() 579 timestamp = encrypted_buffer.timestamp; in DecryptAndDecodeSamples() 616 const cdm::InputBuffer& encrypted_buffer, in DecryptToMediaDecoderBuffer() argument [all …]
|
/external/chromium_org/ppapi/cpp/private/ |
D | content_decryptor_private.h | 55 virtual void Decrypt(pp::Buffer_Dev encrypted_buffer, 70 pp::Buffer_Dev encrypted_buffer,
|
D | content_decryptor_private.cc | 245 pp::Buffer_Dev encrypted_buffer(encrypted_resource); in DecryptAndDecode() local 254 encrypted_buffer, in DecryptAndDecode()
|
/external/chromium_org/ppapi/c/private/ |
D | ppp_content_decryptor_private.h | 303 PP_Resource encrypted_buffer,
|
/external/chromium_org/ppapi/api/private/ |
D | ppp_content_decryptor_private.idl | 285 * Decrypts encrypted_buffer, decodes it, and returns the unencrypted 291 * specifies the decoder to use after <code>encrypted_buffer</code> is 294 * @param[in] encrypted_buffer A <code>PP_Resource</code> corresponding to a 304 [in] PP_Resource encrypted_buffer,
|
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/ |
D | pnacl_shim.c | 4488 …Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, const struct… in Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode() argument 4490 …Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, const struct… in Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode() 4491 …Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, const struct… in Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode() 4492 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); in Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode()
|