/external/chromium_org/media/base/ |
decryptor.cc | 5 #include "media/base/decryptor.h" 9 Decryptor::Decryptor() {} 11 Decryptor::~Decryptor() {}
|
media_keys.cc | 13 Decryptor* MediaKeys::GetDecryptor() { return NULL; }
|
decryptor.h | 25 // All methods are called on the (video/audio) decoder thread. Decryptor 29 class MEDIA_EXPORT Decryptor { 46 Decryptor(); 47 virtual ~Decryptor(); 50 // with the Decryptor. 54 // decryptor. Only one NewKeyCB can be registered for one |stream_type|. 161 DISALLOW_COPY_AND_ASSIGN(Decryptor); 164 // Callback to notify that a decryptor is ready. 165 typedef base::Callback<void(Decryptor*)> DecryptorReadyCB; 168 // Calling this callback with a non-null callback registers decryptor read [all...] |
media_keys.h | 18 class Decryptor; 62 // Gets the Decryptor object associated with the MediaKeys. Returns NULL if 63 // no Decryptor object is associated. The returned object is only guaranteed 65 virtual Decryptor* GetDecryptor();
|
mock_filters.h | 15 #include "media/base/decryptor.h" 158 class MockDecryptor : public Decryptor {
|
/external/chromium_org/content/renderer/pepper/ |
content_decryptor_delegate.h | 15 #include "media/base/decryptor.h" 58 bool Decrypt(media::Decryptor::StreamType stream_type, 60 const media::Decryptor::DecryptCB& decrypt_cb); 61 bool CancelDecrypt(media::Decryptor::StreamType stream_type); 64 const media::Decryptor::DecoderInitCB& decoder_init_cb); 67 const media::Decryptor::DecoderInitCB& decoder_init_cb); 70 bool DeinitializeDecoder(media::Decryptor::StreamType stream_type); 71 bool ResetDecoder(media::Decryptor::StreamType stream_type); 75 const media::Decryptor::AudioDecodeCB& audio_decode_cb); 78 const media::Decryptor::VideoDecodeCB& video_decode_cb) [all...] |
content_decryptor_delegate.cc | 189 media::Decryptor::Status PpDecryptResultToMediaDecryptorStatus( 193 return media::Decryptor::kSuccess; 195 return media::Decryptor::kNoKey; 197 return media::Decryptor::kNeedMoreData; 199 return media::Decryptor::kError; 201 return media::Decryptor::kError; 204 return media::Decryptor::kError; 209 media::Decryptor::StreamType stream_type) { 211 case media::Decryptor::kAudio: 213 case media::Decryptor::kVideo [all...] |
/external/chromium_org/media/filters/ |
decrypting_audio_decoder.h | 14 #include "media/base/decryptor.h" 25 class Decryptor; 27 // Decryptor-based AudioDecoder implementation that can decrypt and decode 33 // We do not currently have a way to let the Decryptor choose the output 35 // Decryptor implementations to decode audio into a fixed integer sample 73 void SetDecryptor(Decryptor* decryptor); 75 // Callback for Decryptor::InitializeAudioDecoder() during initialization. 78 // Callback for Decryptor::InitializeAudioDecoder() during config change. 88 // Callback for Decryptor::DecryptAndDecodeAudio() [all...] |
decrypting_demuxer_stream.h | 12 #include "media/base/decryptor.h" 25 // Decryptor-based DemuxerStream implementation that converts a potentially 62 void SetDecryptor(Decryptor* decryptor); 70 // Callback for Decryptor::Decrypt(). 71 void DeliverBuffer(Decryptor::Status status, 81 // Returns Decryptor::StreamType converted from |stream_type_|. 82 Decryptor::StreamType GetDecryptorStreamType() const; 104 // Callback to request/cancel decryptor creation notification. 107 Decryptor* decryptor_ [all...] |
decrypting_video_decoder.h | 10 #include "media/base/decryptor.h" 21 class Decryptor; 23 // Decryptor-based VideoDecoder implementation that can decrypt and decode 59 void SetDecryptor(Decryptor* decryptor); 61 // Callback for Decryptor::InitializeVideoDecoder() during initialization. 66 // Callback for Decryptor::DecryptAndDecodeVideo(). 68 Decryptor::Status status, 93 // Callback to request/cancel decryptor creation notification. 96 Decryptor* decryptor_ [all...] |
pipeline_integration_test_base.h | 24 class Decryptor; 57 bool Start(const base::FilePath& file_path, Decryptor* decryptor); 65 const base::FilePath& file_path, Decryptor* decryptor); 105 scoped_ptr<Demuxer> demuxer, Decryptor* decryptor); 106 void SetDecryptor(Decryptor* decryptor,
|
decrypting_video_decoder_unittest.cc | 95 EXPECT_CALL(*decryptor_, RegisterNewKeyCB(Decryptor::kVideo, _)) 102 EXPECT_CALL(*decryptor_, DeinitializeDecoder(Decryptor::kVideo)); 127 .WillOnce(RunCallback<1>(Decryptor::kSuccess, decoded_video_frame_)) 128 .WillRepeatedly(RunCallback<1>(Decryptor::kNeedMoreData, 154 // the decryptor. 160 .WillRepeatedly(RunCallback<1>(Decryptor::kNoKey, null_video_frame_)); 170 Decryptor::kSuccess, scoped_refptr<VideoFrame>(NULL)); 185 EXPECT_CALL(*decryptor_, ResetDecoder(Decryptor::kVideo)) 194 EXPECT_CALL(*decryptor_, RegisterNewKeyCB(Decryptor::kVideo, 197 EXPECT_CALL(*decryptor_, DeinitializeDecoder(Decryptor::kVideo) [all...] |
decrypting_audio_decoder_unittest.cc | 112 EXPECT_CALL(*decryptor_, RegisterNewKeyCB(Decryptor::kAudio, _)) 143 Decryptor::AudioBuffers end_of_stream_frames_(1, end_of_stream_frame_); 149 .WillOnce(RunCallback<1>(Decryptor::kSuccess, decoded_frame_list_)) 150 .WillRepeatedly(RunCallback<1>(Decryptor::kNeedMoreData, 151 Decryptor::AudioBuffers())); 188 // decryptor. 196 .WillRepeatedly(RunCallback<1>(Decryptor::kNoKey, 197 Decryptor::AudioBuffers())); 206 Decryptor::kSuccess, Decryptor::AudioBuffers()) [all...] |
decrypting_video_decoder.cc | 15 #include "media/base/decryptor.h" 58 decryptor_->DeinitializeDecoder(Decryptor::kVideo); 105 decryptor_->ResetDecoder(Decryptor::kVideo); 135 decryptor_->RegisterNewKeyCB(Decryptor::kVideo, Decryptor::NewKeyCB()); 136 decryptor_->DeinitializeDecoder(Decryptor::kVideo); 156 void DecryptingVideoDecoder::SetDecryptor(Decryptor* decryptor) { 168 if (!decryptor) { 174 decryptor_ = decryptor; [all...] |
decrypting_demuxer_stream.cc | 16 #include "media/base/decryptor.h" 131 void DecryptingDemuxerStream::SetDecryptor(Decryptor* decryptor) { 140 if (!decryptor) { 146 decryptor_ = decryptor; 213 Decryptor::Status status, 218 DCHECK_NE(status, Decryptor::kNeedMoreData); 232 DCHECK_EQ(status == Decryptor::kSuccess, decrypted_buffer.get() != NULL); 234 if (status == Decryptor::kError) { 242 if (status == Decryptor::kNoKey) [all...] |
decrypting_audio_decoder.cc | 20 #include "media/base/decryptor.h" 125 decryptor_->ResetDecoder(Decryptor::kAudio); 166 void DecryptingAudioDecoder::SetDecryptor(Decryptor* decryptor) { 175 if (!decryptor) { 182 decryptor_ = decryptor; 221 Decryptor::kAudio, BindToCurrentLoop(base::Bind( 288 decryptor_->DeinitializeDecoder(Decryptor::kAudio); 339 Decryptor::Status status, 340 const Decryptor::AudioBuffers& frames) [all...] |
decrypting_demuxer_stream_unittest.cc | 107 EXPECT_CALL(*decryptor_, RegisterNewKeyCB(Decryptor::kAudio, _)) 148 .WillOnce(RunCallback<2>(Decryptor::kSuccess, decrypted_buffer_)); 176 // Make sure Read() triggers a Decrypt() on the decryptor. 184 .WillRepeatedly(RunCallback<2>(Decryptor::kNoKey, 193 base::ResetAndReturn(&pending_decrypt_cb_).Run(Decryptor::kSuccess, NULL); 198 EXPECT_CALL(*decryptor_, CancelDecrypt(Decryptor::kAudio)) 218 Decryptor::NewKeyCB key_added_cb_; 219 Decryptor::DecryptCB pending_decrypt_cb_; 237 EXPECT_CALL(*decryptor_, RegisterNewKeyCB(Decryptor::kVideo, _)) 263 .WillRepeatedly(RunCallbackIfNotNull(static_cast<Decryptor*>(NULL))) [all...] |
video_decoder_selector.h | 12 #include "media/base/decryptor.h" 24 class Decryptor; 47 // no decryptor will be available to perform decryption.
|
pipeline_integration_test_base.cc | 133 Decryptor* decryptor) { 139 CreateFilterCollection(file_path, decryptor), 208 Decryptor* decryptor) { 220 return CreateFilterCollection(demuxer.Pass(), decryptor); 226 Decryptor* decryptor) { 243 base::Unretained(this), decryptor), 265 decryptor), [all...] |
video_frame_stream_unittest.cc | 55 // Decryptor can only decrypt (not decrypt-and-decode) so that 86 void Decrypt(Decryptor::StreamType stream_type, 88 const Decryptor::DecryptCB& decrypt_cb) { 89 DCHECK_EQ(stream_type, Decryptor::kVideo); 94 decrypt_cb.Run(Decryptor::kSuccess, decrypted); 269 // Use NiceMock since we don't care about most of calls on the decryptor,
|
/external/chromium_org/media/cdm/ |
aes_decryptor.h | 16 #include "media/base/decryptor.h" 28 class MEDIA_EXPORT AesDecryptor : public MediaKeys, public Decryptor { 43 virtual Decryptor* GetDecryptor() OVERRIDE; 45 // Decryptor implementation.
|
aes_decryptor_unittest.cc | 196 // decryptor. |data| is the payload of a WebM encrypted Block. |key_id| is 214 // initialization vector empty will tell the decryptor that the frame is 290 MOCK_METHOD2(BufferDecrypted, void(Decryptor::Status, 299 decryptor_.Decrypt(Decryptor::kVideo, encrypted, decrypt_cb_); 312 decryptor_.Decrypt(Decryptor::kVideo, encrypted, decrypt_cb_); 325 decryptor_.Decrypt(Decryptor::kVideo, encrypted, decrypt_cb_); 333 decryptor_.Decrypt(Decryptor::kVideo, encrypted, decrypt_cb_); 409 decryptor_.Decrypt(Decryptor::kVideo, encrypted_data, decrypt_cb_);
|
/external/chromium_org/content/renderer/media/crypto/ |
ppapi_decryptor.h | 14 #include "media/base/decryptor.h" 26 // PpapiDecryptor implements media::Decryptor and forwards all calls to the 29 class PpapiDecryptor : public media::MediaKeys, public media::Decryptor { 50 virtual Decryptor* GetDecryptor() OVERRIDE; 52 // media::Decryptor implementation.
|
ppapi_decryptor.cc | 123 media::Decryptor* PpapiDecryptor::GetDecryptor() { 126 // Decryptor interface of the PpapiDecryptor.
|
/external/chromium_org/media/cdm/ppapi/ |
clear_key_cdm.cc | 282 media::Decryptor::Status* status_copy, 284 media::Decryptor::Status status, 481 media::Decryptor::Status status = media::Decryptor::kError; 485 media::Decryptor::kVideo, 489 if (status == media::Decryptor::kError) 492 if (status == media::Decryptor::kNoKey) 495 DCHECK_EQ(status, media::Decryptor::kSuccess);
|