Searched refs:codecs (Results 51 - 75 of 131) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dfilesystem.py31 import codecs namespace
193 return codecs.open(path, 'rb')
207 return codecs.open(path, 'r', 'utf8')
210 return codecs.open(path, 'w', 'utf8')
216 with codecs.open(path, 'r', 'utf8') as f:
223 with codecs.open(path, 'w', 'utf8') as f:
/external/chromium_org/net/base/
H A Dmime_util.cc74 bool AreSupportedMediaCodecs(const std::vector<std::string>& codecs) const;
76 void ParseCodecString(const std::string& codecs,
83 const std::vector<std::string>& codecs) const;
95 // Returns true if |codecs| is nonempty and all the items in it are present in
98 const std::vector<std::string>& codecs);
268 // This set of codecs is supported by all variations of Chromium.
300 // List of supported codecs when passed in with <source type="...">.
301 // This set of codecs is supported by all variations of Chromium.
306 // The codecs for WAV are integers as defined in Appendix A of RFC2361:
319 // List of proprietary codecs onl
439 AreSupportedCodecs(const MimeMappings& supported_codecs, const std::vector<std::string>& codecs) argument
498 MimeMappings codecs; local
667 ParseCodecString(const std::string& codecs, std::vector<std::string>* codecs_out, bool strip) argument
768 AreSupportedMediaCodecs(const std::vector<std::string>& codecs) argument
776 IsSupportedStrictMediaMimeType(const std::string& mime_type, const std::vector<std::string>& codecs) argument
781 ParseCodecString(const std::string& codecs, std::vector<std::string>* codecs_out, const bool strip) argument
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Drtpdataengine_unittest.cc262 std::vector<cricket::DataCodec> codecs; local
263 codecs.push_back(codec);
264 ASSERT_TRUE(dmc->SetSendCodecs(codecs));
326 std::vector<cricket::DataCodec> codecs; local
327 codecs.push_back(codec);
328 ASSERT_TRUE(dmc1->SetSendCodecs(codecs));
329 ASSERT_TRUE(dmc2->SetSendCodecs(codecs));
373 std::vector<cricket::DataCodec> codecs; local
374 codecs.push_back(codec);
375 ASSERT_TRUE(dmc->SetSendCodecs(codecs));
438 std::vector<cricket::DataCodec> codecs; local
[all...]
H A Drtpdataengine.h104 virtual bool SetSendCodecs(const std::vector<DataCodec>& codecs);
105 virtual bool SetRecvCodecs(const std::vector<DataCodec>& codecs);
H A Dmediaengine.h237 return voice_.codecs();
243 return video_.codecs();
307 const std::vector<AudioCodec>& codecs() { return codecs_; } function in class:cricket::NullVoiceEngine
344 const std::vector<VideoCodec>& codecs() { return codecs_; } function in class:cricket::NullVideoEngine
H A Dtestutils.h229 // Checks whether |codecs| contains |codec|; checks using Codec::Matches().
231 bool ContainsMatchingCodec(const std::vector<C>& codecs, const C& codec) { argument
233 for (it = codecs.begin(); it != codecs.end(); ++it) {
/external/chromium_org/build/android/
H A Dlighttpd_server.py13 import codecs namespace
80 with codecs.open(self.base_config_path, 'r', 'utf-8') as f:
87 with codecs.open(self.config_path, 'w', 'utf-8') as f:
/external/chromium_org/third_party/libjingle/source/talk/media/sctp/
H A Dsctpdataengine.h172 virtual bool SetSendCodecs(const std::vector<DataCodec>& codecs);
173 virtual bool SetRecvCodecs(const std::vector<DataCodec>& codecs);
H A Dsctpdataengine.cc708 static bool GetCodecIntParameter(const std::vector<DataCodec>& codecs, argument
715 for (size_t i = 0; i < codecs.size(); ++i) {
716 if (codecs[i].Matches(match_pattern)) {
717 if (codecs[i].GetParam(param, &value)) {
726 bool SctpDataMediaChannel::SetSendCodecs(const std::vector<DataCodec>& codecs) { argument
728 codecs, kGoogleSctpDataCodecId, kGoogleSctpDataCodecName, kCodecParamPort,
732 bool SctpDataMediaChannel::SetRecvCodecs(const std::vector<DataCodec>& codecs) { argument
734 codecs, kGoogleSctpDataCodecId, kGoogleSctpDataCodecName, kCodecParamPort,
/external/webrtc/
H A DAndroid.mk15 include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/isac/fix/source/Android.mk
16 include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/isac/main/source/Android.mk
29 include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/isac/main/source/Android.mk
30 include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/isac/fix/source/Android.mk
/external/lzma/CPP/7zip/UI/Common/
H A DExtract.cpp103 CCodecs *codecs, const CIntVector &formatIndices,
172 int index = codecs->FindFormatForExtension(s);
179 int index2 = codecs->FindFormatForExtension(s.Mid(pos + 1));
190 HRESULT result = archiveLink.Open2(codecs, formatIndices2, options.StdInMode, NULL, arcPath, openCallback);
102 DecompressArchives( CCodecs *codecs, const CIntVector &formatIndices, UStringVector &arcPaths, UStringVector &arcPathsFull, const NWildcard::CCensorNode &wildcardCensor, const CExtractOptions &options, IOpenCallbackUI *openCallback, IExtractCallbackUI *extractCallback, UString &errorMessage, CDecompressStat &stat) argument
H A DExtract.h67 CCodecs *codecs, const CIntVector &formatIndices,
H A DUpdate.h114 bool Init(const CCodecs *codecs, const CIntVector &formatIndices, const UString &arcPath);
168 CCodecs *codecs,
/external/markdown/
H A Dtest-markdown.py3 import os, difflib, time, gc, codecs, platform, sys namespace
198 self.html_diff_file = codecs.open(html_diff_file_path, "w", encoding=encoding)
238 expected_output = codecs.open(output_file, encoding=self.encoding).read()
239 input = codecs.open(input_file, encoding=self.encoding).read()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
H A Dchannelmanager_unittest.cc583 std::vector<VideoCodec> codecs; local
587 cm_->GetSupportedVideoCodecs(&codecs);
588 EXPECT_FALSE(ContainsMatchingCodec(codecs, rtx_codec));
592 cm_->GetSupportedVideoCodecs(&codecs);
593 EXPECT_TRUE(ContainsMatchingCodec(codecs, rtx_codec));
597 cm_->GetSupportedVideoCodecs(&codecs);
598 EXPECT_FALSE(ContainsMatchingCodec(codecs, rtx_codec));
608 cm_->GetSupportedVideoCodecs(&codecs);
609 EXPECT_TRUE(ContainsMatchingCodec(codecs, rtx_codec));
/external/chromium_org/chrome/common/
H A Dchrome_content_client.cc278 // Add the supported codecs as if they came from the component manifest.
279 std::vector<std::string> codecs; local
280 codecs.push_back(kCdmSupportedCodecVorbis);
281 codecs.push_back(kCdmSupportedCodecVp8);
286 codecs.push_back(kCdmSupportedCodecAac);
289 codecs.push_back(kCdmSupportedCodecAvc1);
293 JoinString(codecs, kCdmSupportedCodecsValueDelimiter);
/external/chromium/third_party/libjingle/source/talk/session/phone/
H A Dmediasessionclient.cc172 // add video codecs, if this is a video call
255 // The answer contains the intersection of the codecs in the offer with the
256 // codecs we support, ordered by our local preference. As indicated by
269 for (AudioCodecs::const_iterator theirs = audio_offer->codecs().begin();
270 theirs != audio_offer->codecs().end(); ++theirs) {
305 for (VideoCodecs::const_iterator theirs = video_offer->codecs().begin();
306 theirs != video_offer->codecs().end(); ++theirs) {
362 // If our accept would have no codecs, then we must reject this call.
375 if (!audio_accept || audio_accept->codecs().size() == 0) {
849 for (AudioCodecs::const_iterator codec = audio->codecs()
[all...]
H A Dchannelmanager.h79 void GetSupportedAudioCodecs(std::vector<AudioCodec>* codecs) const;
80 void GetSupportedVideoCodecs(std::vector<VideoCodec>* codecs) const;
H A Dfilemediaengine.cc216 bool FileVoiceChannel::SetSendCodecs(const std::vector<AudioCodec>& codecs) { argument
239 bool FileVideoChannel::SetSendCodecs(const std::vector<VideoCodec>& codecs) { argument
H A Dmediachannel.h210 // Sets the codecs/payload types to be used for incoming media.
211 virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs) = 0;
212 // Sets the codecs/payload types to be used for outgoing media.
213 virtual bool SetSendCodecs(const std::vector<AudioCodec>& codecs) = 0;
435 // Sets the codecs/payload types to be used for incoming media.
436 virtual bool SetRecvCodecs(const std::vector<VideoCodec> &codecs) = 0;
437 // Sets the codecs/payload types to be used for outgoing media.
438 virtual bool SetSendCodecs(const std::vector<VideoCodec> &codecs) = 0;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/
H A Dreflectionhandler.py32 import codecs namespace
127 with codecs.open(file_path, "rb") as static_file:
/external/chromium_org/chrome/browser/component_updater/
H A Dwidevine_cdm_component_installer.cc97 // The codecs list is a list of simple codec names (e.g. "vp8,vorbis").
99 const char kCdmCodecsListName[] = "x-cdm-codecs";
201 base::string16 codecs; local
202 if (manifest.GetString(kCdmCodecsListName, &codecs)) {
203 DLOG_IF(WARNING, codecs.empty())
204 << "Widevine CDM component manifest has empty codecs list";
207 additional_param_values->push_back(codecs);
209 DLOG(WARNING) << "Widevine CDM component manifest is missing codecs";
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/
H A DMediaSourceBase.h98 PassOwnPtr<blink::WebSourceBuffer> createWebSourceBuffer(const String& type, const Vector<String>& codecs, ExceptionState&);
/external/kernel-headers/original/sound/
H A Dcompress_offload.h93 * @codecs: pointer to array of codecs
99 * @num_codecs: number of codecs supported
109 __u32 codecs[MAX_NUM_CODECS]; member in struct:snd_compr_caps
/external/chromium_org/third_party/libjingle/source/talk/media/other/
H A Dlinphonemediaengine.cc163 bool LinphoneVoiceChannel::SetSendCodecs(const std::vector<AudioCodec>& codecs) { argument
170 for (i = codecs.begin(); i < codecs.end(); i++) {
205 // We're being asked to set an empty list of codecs. This will only happen when

Completed in 636 milliseconds

123456