/external/chromium_org/android_webview/renderer/ |
aw_key_systems.cc | 6 #include "components/cdm/renderer/android_key_systems.h" 12 cdm::AddAndroidWidevine(key_systems_info); 13 cdm::AddAndroidPlatformKeySystems(key_systems_info);
|
/external/chromium_org/media/cdm/ppapi/ |
supported_cdm_versions.h | 8 #include "media/cdm/ppapi/api/content_decryption_module.h" 23 COMPILE_ASSERT(cdm::ContentDecryptionModule::kVersion == 24 cdm::ContentDecryptionModule_6::kVersion, 28 case cdm::ContentDecryptionModule_6::kVersion: 29 case cdm::ContentDecryptionModule_4::kVersion: 37 COMPILE_ASSERT(cdm::ContentDecryptionModule::Host::kVersion == 38 cdm::ContentDecryptionModule_6::Host::kVersion, 42 case cdm::Host_6::kVersion: 43 case cdm::Host_4::kVersion:
|
cdm_helpers.h | 14 #include "media/cdm/ppapi/api/content_decryption_module.h" 25 // cdm::Buffer implementation that provides access to memory owned by a 30 class PpbBuffer : public cdm::Buffer { 35 // cdm::Buffer implementation. 74 cdm::Buffer* Allocate(uint32_t capacity); 95 class DecryptedBlockImpl : public cdm::DecryptedBlock { 100 virtual void SetDecryptedBuffer(cdm::Buffer* buffer) OVERRIDE { 103 virtual cdm::Buffer* DecryptedBuffer() OVERRIDE { return buffer_; } 117 class VideoFrameImpl : public cdm::VideoFrame { 122 virtual void SetFormat(cdm::VideoFormat format) OVERRIDE [all...] |
cdm_wrapper.h | 13 #include "media/cdm/ppapi/api/content_decryption_module.h" 14 #include "media/cdm/ppapi/cdm_helpers.h" 15 #include "media/cdm/ppapi/supported_cdm_versions.h" 23 // The caller should call CdmWrapper::Create() to create a CDM instance. 24 // CdmWrapper will first try to create a CDM instance that supports the latest 25 // CDM interface (ContentDecryptionModule). If such an instance cannot be 26 // created (e.g. an older CDM was loaded), CdmWrapper will try to create a CDM 27 // that supports an older version of CDM interface (e.g. 54 cdm::SessionType session_type) = 0 [all...] |
cdm_adapter.cc | 5 #include "media/cdm/ppapi/cdm_adapter.h" 8 #include "media/cdm/ppapi/cdm_file_io_impl.h" 9 #include "media/cdm/ppapi/cdm_helpers.h" 10 #include "media/cdm/ppapi/cdm_logging.h" 11 #include "media/cdm/ppapi/supported_cdm_versions.h" 55 // Configures a cdm::InputBuffer. |subsamples| must exist as long as 60 std::vector<cdm::SubsampleEntry>* subsamples, 61 cdm::InputBuffer* input_buffer) { 85 subsamples->push_back(cdm::SubsampleEntry( 96 PP_DecryptResult CdmStatusToPpDecryptResult(cdm::Status status) [all...] |
cdm_adapter.h | 14 #include "media/cdm/ppapi/api/content_decryption_module.h" 15 #include "media/cdm/ppapi/cdm_helpers.h" 16 #include "media/cdm/ppapi/cdm_wrapper.h" 17 #include "media/cdm/ppapi/linked_ptr.h" 37 // Content Decryption Module (CDM). 40 public cdm::Host_4, 41 public cdm::Host_6 { 91 // cdm::Host_4 and cdm::Host_6 implementation. 92 virtual cdm::Buffer* Allocate(uint32_t capacity) OVERRIDE [all...] |
/external/chromium_org/media/cdm/ppapi/external_clear_key/ |
cdm_video_decoder.h | 10 #include "media/cdm/ppapi/api/content_decryption_module.h" 11 #include "media/cdm/ppapi/external_clear_key/clear_key_cdm_common.h" 18 virtual bool Initialize(const cdm::VideoDecoderConfig& config) = 0; 24 // returns |cdm::kSuccess| when an output frame is available. Returns 25 // |cdm::kNeedMoreData| when |compressed_frame| does not produce an output 26 // frame. Returns |cdm::kDecodeError| when decoding fails. 30 virtual cdm::Status DecodeFrame(const uint8_t* compressed_frame, 33 cdm::VideoFrame* decoded_frame) = 0; 40 ClearKeyCdmHost* host, const cdm::VideoDecoderConfig& config);
|
fake_cdm_video_decoder.h | 10 #include "media/cdm/ppapi/api/content_decryption_module.h" 11 #include "media/cdm/ppapi/external_clear_key/cdm_video_decoder.h" 17 explicit FakeCdmVideoDecoder(cdm::Host* host); 21 virtual bool Initialize(const cdm::VideoDecoderConfig& config) OVERRIDE; 24 virtual cdm::Status DecodeFrame(const uint8_t* compressed_frame, 27 cdm::VideoFrame* decoded_frame) OVERRIDE; 32 cdm::Size video_size_; 34 cdm::Host* const host_;
|
clear_key_cdm_common.h | 8 #include "media/cdm/ppapi/api/content_decryption_module.h" 12 // Aliases for the version of the interfaces that this CDM implements. 13 typedef cdm::ContentDecryptionModule_6 ClearKeyCdmInterface;
|
fake_cdm_video_decoder.cc | 5 #include "media/cdm/ppapi/external_clear_key/fake_cdm_video_decoder.h" 11 FakeCdmVideoDecoder::FakeCdmVideoDecoder(cdm::Host* host) 20 bool FakeCdmVideoDecoder::Initialize(const cdm::VideoDecoderConfig& config) { 38 cdm::Status FakeCdmVideoDecoder::DecodeFrame(const uint8_t* compressed_frame, 41 cdm::VideoFrame* decoded_frame) { 47 return cdm::kNeedMoreData; 72 decoded_frame->SetFormat(cdm::kYv12); 74 decoded_frame->SetPlaneOffset(cdm::VideoFrame::kYPlane, y_offset); 75 decoded_frame->SetPlaneOffset(cdm::VideoFrame::kVPlane, v_offset); 76 decoded_frame->SetPlaneOffset(cdm::VideoFrame::kUPlane, u_offset) [all...] |
ffmpeg_cdm_video_decoder.cc | 5 #include "media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.h" 25 static cdm::VideoFormat PixelFormatToCdmVideoFormat(PixelFormat pixel_format) { 28 return cdm::kYv12; 32 return cdm::kUnknownVideoFormat; 35 static PixelFormat CdmVideoFormatToPixelFormat(cdm::VideoFormat video_format) { 37 case cdm::kYv12: 38 case cdm::kI420: 40 case cdm::kUnknownVideoFormat: 42 DVLOG(1) << "Unsupported cdm::VideoFormat: " << video_format; 48 cdm::VideoDecoderConfig::VideoCodec video_codec) [all...] |
ffmpeg_cdm_video_decoder.h | 11 #include "media/cdm/ppapi/external_clear_key/cdm_video_decoder.h" 12 #include "media/cdm/ppapi/external_clear_key/clear_key_cdm_common.h" 26 virtual bool Initialize(const cdm::VideoDecoderConfig& config) OVERRIDE; 29 virtual cdm::Status DecodeFrame(const uint8_t* compressed_frame, 32 cdm::VideoFrame* decoded_frame) OVERRIDE; 37 static bool IsValidOutputConfig(cdm::VideoFormat format, 38 const cdm::Size& data_size); 43 bool CopyAvFrameTo(cdm::VideoFrame* cdm_video_frame);
|
libvpx_cdm_video_decoder.h | 10 #include "media/cdm/ppapi/api/content_decryption_module.h" 11 #include "media/cdm/ppapi/external_clear_key/cdm_video_decoder.h" 24 virtual bool Initialize(const cdm::VideoDecoderConfig& config) OVERRIDE; 27 virtual cdm::Status DecodeFrame(const uint8_t* compressed_frame, 30 cdm::VideoFrame* decoded_frame) OVERRIDE; 35 static bool IsValidOutputConfig(cdm::VideoFormat format, 36 const cdm::Size& data_size); 41 bool CopyVpxImageTo(cdm::VideoFrame* cdm_video_frame);
|
clear_key_cdm.h | 16 #include "media/cdm/aes_decryptor.h" 17 #include "media/cdm/ppapi/external_clear_key/clear_key_cdm_common.h" 31 // Clear key implementation of the cdm::ContentDecryptionModule interface. 43 cdm::SessionType session_type) OVERRIDE; 66 virtual cdm::Status Decrypt(const cdm::InputBuffer& encrypted_buffer, 67 cdm::DecryptedBlock* decrypted_block) OVERRIDE; 68 virtual cdm::Status InitializeAudioDecoder( 69 const cdm::AudioDecoderConfig& audio_decoder_config) OVERRIDE; 70 virtual cdm::Status InitializeVideoDecoder [all...] |
libvpx_cdm_video_decoder.cc | 5 #include "media/cdm/ppapi/external_clear_key/libvpx_cdm_video_decoder.h" 41 bool LibvpxCdmVideoDecoder::Initialize(const cdm::VideoDecoderConfig& config) { 91 bool LibvpxCdmVideoDecoder::IsValidOutputConfig(cdm::VideoFormat format, 92 const cdm::Size& data_size) { 93 return ((format == cdm::kYv12 || format == cdm::kI420) && 101 cdm::Status LibvpxCdmVideoDecoder::DecodeFrame( 105 cdm::VideoFrame* decoded_frame) { 119 return cdm::kDecodeError; 126 return cdm::kNeedMoreData [all...] |
ffmpeg_cdm_audio_decoder.cc | 5 #include "media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.h" 31 cdm::AudioDecoderConfig::AudioCodec audio_codec) { 33 case cdm::AudioDecoderConfig::kCodecVorbis: 35 case cdm::AudioDecoderConfig::kCodecAac: 37 case cdm::AudioDecoderConfig::kUnknownAudioCodec: 39 NOTREACHED() << "Unsupported cdm::AudioCodec: " << audio_codec; 45 const cdm::AudioDecoderConfig& config, 83 static cdm::AudioFormat AVSampleFormatToCdmAudioFormat( 87 return cdm::kAudioFormatU8; 89 return cdm::kAudioFormatS16 [all...] |
ffmpeg_cdm_audio_decoder.h | 14 #include "media/cdm/ppapi/external_clear_key/clear_key_cdm_common.h" 34 bool Initialize(const cdm::AudioDecoderConfig& config); 39 static bool IsValidConfig(const cdm::AudioDecoderConfig& config); 41 // Decodes |compressed_buffer|. Returns |cdm::kSuccess| after storing 43 // |cdm::kNeedMoreData| when |compressed_frame| does not produce output. 44 // Returns |cdm::kDecodeError| when decoding fails. 48 cdm::Status DecodeBuffer(const uint8_t* compressed_buffer, 51 cdm::AudioFrames* decoded_frames);
|
cdm_video_decoder.cc | 7 #include "media/cdm/ppapi/external_clear_key/cdm_video_decoder.h" 10 #include "media/cdm/ppapi/external_clear_key/fake_cdm_video_decoder.h" 14 #include "media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.h" 18 #include "media/cdm/ppapi/external_clear_key/libvpx_cdm_video_decoder.h" 24 ClearKeyCdmHost* host, const cdm::VideoDecoderConfig& config) { 34 if (config.codec == cdm::VideoDecoderConfig::kCodecVp8 || 35 config.codec == cdm::VideoDecoderConfig::kCodecVp9) {
|
clear_key_cdm.cc | 5 #include "media/cdm/ppapi/external_clear_key/clear_key_cdm.h" 20 #include "media/cdm/json_web_key.h" 21 #include "media/cdm/ppapi/cdm_file_io_test.h" 22 #include "media/cdm/ppapi/external_clear_key/cdm_video_decoder.h" 34 #include "media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.h" 35 #include "media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.h" 92 // CDM file IO test result header. 98 const cdm::InputBuffer& input_buffer) { 136 static cdm::Error ConvertException(media::MediaKeys::Exception exception_code) { 139 return cdm::kNotSupportedError [all...] |
/external/chromium_org/components/cdm/renderer/ |
android_key_systems.h | 12 namespace cdm { namespace 22 } // namespace cdm
|
widevine_key_systems.h | 12 namespace cdm { namespace 26 } // namespace cdm
|
/external/chromium_org/media/base/android/ |
browser_cdm_factory_android.cc | 27 scoped_ptr<MediaDrmBridge> cdm(MediaDrmBridge::Create(key_system, 33 if (!cdm) { 45 if (!cdm->SetSecurityLevel(security_level)) { 50 return cdm.PassAs<BrowserCdm>();
|
/external/chromium_org/content/renderer/media/ |
webcontentdecryptionmodule_impl.h | 49 // Returns the Decryptor associated with this CDM. May be NULL if no 56 // Returns the CDM ID associated with this object. May be kInvalidCdmId if no 57 // CDM ID is associated, such as when Clear Key is used. 83 blink::WebContentDecryptionModule* cdm) { 84 return static_cast<WebContentDecryptionModuleImpl*>(cdm);
|
/external/chromium_org/media/blink/ |
encrypted_media_player_support.h | 52 blink::WebContentDecryptionModule* cdm) = 0; 54 blink::WebContentDecryptionModule* cdm,
|
/external/chromium_org/chromecast/shell/renderer/ |
key_systems_cast.cc | 12 #include "components/cdm/renderer/widevine_key_systems.h" 31 AddWidevineWithCodecs(cdm::WIDEVINE,
|