Home
last modified time | relevance | path

Searched refs:encrypted_buffer (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/media/cdm/
Daes_decryptor_unittest.cc193 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/
Dcdm_wrapper.h75 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 …]
Dcdm_adapter.cc58 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()
Dcdm_adapter.h74 pp::Buffer_Dev encrypted_buffer,
88 pp::Buffer_Dev encrypted_buffer,
/external/chromium_org/content/renderer/pepper/
Dcontent_decryptor_delegate.cc101 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 …]
Dcontent_decryptor_delegate.h83 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/
Dppp_content_decryptor_private_proxy.cc436 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 …]
Dppp_content_decryptor_private_proxy.h61 const PPPDecryptor_Buffer& encrypted_buffer,
80 const PPPDecryptor_Buffer& encrypted_buffer,
/external/chromium_org/media/cdm/ppapi/external_clear_key/
Dclear_key_cdm.h66 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,
Dclear_key_cdm.cc428 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/
Dcontent_decryptor_private.h55 virtual void Decrypt(pp::Buffer_Dev encrypted_buffer,
70 pp::Buffer_Dev encrypted_buffer,
Dcontent_decryptor_private.cc245 pp::Buffer_Dev encrypted_buffer(encrypted_resource); in DecryptAndDecode() local
254 encrypted_buffer, in DecryptAndDecode()
/external/chromium_org/ppapi/c/private/
Dppp_content_decryptor_private.h303 PP_Resource encrypted_buffer,
/external/chromium_org/ppapi/api/private/
Dppp_content_decryptor_private.idl285 * 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/
Dpnacl_shim.c4488 …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()