Home
last modified time | relevance | path

Searched refs:codecs (Results 1 – 25 of 85) sorted by relevance

1234

/external/chromium/net/base/
Dmime_util.cc43 bool AreSupportedMediaCodecs(const std::vector<std::string>& codecs) const;
45 void ParseCodecString(const std::string& codecs,
51 const std::vector<std::string>& codecs) const;
351 MimeMappings codecs; in InitializeMimeTypeMaps() local
353 codecs.insert(mime_type_codecs[j]); in InitializeMimeTypeMaps()
354 strict_format_map_[format_codec_mappings[i].mime_type] = codecs; in InitializeMimeTypeMaps()
423 const std::vector<std::string>& codecs) const { in AreSupportedMediaCodecs()
424 for (size_t i = 0; i < codecs.size(); ++i) { in AreSupportedMediaCodecs()
425 if (codecs_map_.find(codecs[i]) == codecs_map_.end()) { in AreSupportedMediaCodecs()
432 void MimeUtil::ParseCodecString(const std::string& codecs, in ParseCodecString() argument
[all …]
Dmime_util.h51 bool AreSupportedMediaCodecs(const std::vector<std::string>& codecs);
58 void ParseCodecString(const std::string& codecs,
72 const std::vector<std::string>& codecs);
/external/webkit/Tools/Scripts/webkitpy/style/
Dfilereader.py33 import codecs
77 file = codecs.StreamReaderWriter(sys.stdin,
78 codecs.getreader('utf8'),
79 codecs.getwriter('utf8'),
86 file = codecs.open(file_path, 'r', 'utf8', 'replace')
Dfilereader_unittest.py27 import codecs
77 with codecs.open(file_path, "w", encoding) as file:
/external/chromium/third_party/libjingle/source/talk/session/phone/
Dfilemediaengine.h72 void set_voice_codecs(const std::vector<AudioCodec>& codecs) { in set_voice_codecs() argument
73 voice_codecs_ = codecs; in set_voice_codecs()
75 void set_video_codecs(const std::vector<VideoCodec>& codecs) { in set_video_codecs() argument
76 video_codecs_ = codecs; in set_video_codecs()
131 virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs) { in SetRecvCodecs() argument
134 virtual bool SetSendCodecs(const std::vector<AudioCodec>& codecs);
166 virtual bool SetRecvCodecs(const std::vector<VideoCodec>& codecs) { in SetRecvCodecs() argument
169 virtual bool SetSendCodecs(const std::vector<VideoCodec>& codecs);
Dmediaengine.h223 return voice_.codecs(); in audio_codecs()
226 return video_.codecs(); in video_codecs()
261 virtual bool SetRecvCodecs(const std::vector<AudioCodec> &codecs) { in SetRecvCodecs() argument
264 virtual bool SetSendCodecs(const std::vector<AudioCodec> &codecs) { in SetSendCodecs() argument
301 const std::vector<AudioCodec>& codecs() { return codecs_; } in codecs() function
325 const std::vector<VideoCodec>& codecs() { return codecs_; } in codecs() function
Dmediasessionclient.cc269 for (AudioCodecs::const_iterator theirs = audio_offer->codecs().begin(); in CreateAnswer()
270 theirs != audio_offer->codecs().end(); ++theirs) { in CreateAnswer()
305 for (VideoCodecs::const_iterator theirs = video_offer->codecs().begin(); in CreateAnswer()
306 theirs != video_offer->codecs().end(); ++theirs) { in CreateAnswer()
375 if (!audio_accept || audio_accept->codecs().size() == 0) { in OnSessionState()
849 for (AudioCodecs::const_iterator codec = audio->codecs().begin(); in CreateGingleAudioContentElem()
850 codec != audio->codecs().end(); ++codec) { in CreateGingleAudioContentElem()
875 for (VideoCodecs::const_iterator codec = video->codecs().begin(); in CreateGingleVideoContentElem()
876 codec != video->codecs().end(); ++codec) { in CreateGingleVideoContentElem()
949 for (AudioCodecs::const_iterator codec = audio->codecs().begin(); in CreateJingleAudioContentElem()
[all …]
Dmediachannel.h211 virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs) = 0;
213 virtual bool SetSendCodecs(const std::vector<AudioCodec>& codecs) = 0;
436 virtual bool SetRecvCodecs(const std::vector<VideoCodec> &codecs) = 0;
438 virtual bool SetSendCodecs(const std::vector<VideoCodec> &codecs) = 0;
Dchannelmanager.h79 void GetSupportedAudioCodecs(std::vector<AudioCodec>* codecs) const;
80 void GetSupportedVideoCodecs(std::vector<VideoCodec>* codecs) const;
/external/webkit/Tools/Scripts/
Dcheck-webkit-style45 import codecs
65 stderr = codecs.StreamReaderWriter(sys.stderr,
66 codecs.getreader('utf8'),
67 codecs.getwriter('utf8'),
Dprint-vse-failure-logs35 import codecs
108 with codecs.open(build_log_path, "r", "utf-16") as build_log:
Dcheck-inspector-strings31 import codecs
79 localized_strings_file = codecs.open(file_path, encoding="utf-16", mode="r")
/external/chromium/webkit/glue/
Dsimple_webmimeregistry_impl.cc53 const WebString& mime_type, const WebString& codecs) { in supportsMediaMIMEType() argument
61 if (codecs.isNull()) in supportsMediaMIMEType()
66 net::ParseCodecString(ToASCIIOrEmpty(codecs).c_str(), in supportsMediaMIMEType()
79 net::ParseCodecString(ToASCIIOrEmpty(codecs).c_str(), &parsed_codecs, true); in supportsMediaMIMEType()
/external/webkit/Tools/Scripts/webkitpy/common/system/
Dfilesystem.py33 import codecs
204 return codecs.open(path, mode, 'utf8')
207 return codecs.open(path, 'rb')
218 with codecs.open(path, 'r', 'utf8') as f:
263 with codecs.open(path, 'r', 'utf8') as f:
279 with codecs.open(path, 'w', 'utf8') as f:
Ddeprecated_logging.py33 import codecs
80 return codecs.open(log_path, "a+", "utf-8")
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dwebsocket_server.py35 import codecs
158 self._wsout = codecs.open(output_log, "w", "utf-8")
215 with codecs.open(output_log, "r", "utf-8") as fp:
227 with codecs.open(self._pidfile, "w", "ascii") as file:
238 with codecs.open(self._pidfile, "r", "ascii") as file:
Dapache_http_server.py35 import codecs
161 with codecs.open(httpd_config, "r", "utf-8") as httpd_config_file:
175 with codecs.open(httpd_config_copy, "w", "utf-8") as file:
Dhttp_server.py34 import codecs
127 with codecs.open(base_conf_file, "r", "utf-8") as file:
134 f = codecs.open(out_conf_file, "w", "utf-8")
/external/webkit/Source/WebCore/platform/graphics/
DMediaPlayer.cpp180 static MediaPlayerFactory* bestMediaEngineForTypeAndCodecs(const String& type, const String& codecs
229 static const AtomicString& codecs() in codecs() function
231 DEFINE_STATIC_LOCAL(const AtomicString, codecs, ("codecs")); in codecs()
232 return codecs; in codecs()
235 static MediaPlayerFactory* bestMediaEngineForTypeAndCodecs(const String& type, const String& codecs in bestMediaEngineForTypeAndCodecs() argument
248 if (!codecs.isEmpty()) in bestMediaEngineForTypeAndCodecs()
261 MediaPlayer::SupportsType engineSupport = engines[ndx]->supportsTypeAndCodecs(type, codecs); in bestMediaEngineForTypeAndCodecs()
330 String typeCodecs = contentType.parameter(codecs()); in load()
634 String typeCodecs = contentType.parameter(codecs()); in supportsType()
/external/webkit/Tools/Scripts/webkitpy/thirdparty/
D__init__.py29 import codecs
95 with codecs.open(readme_path, "w", "ascii") as file:
/external/markdown/
Dtest-markdown.py3 import os, difflib, time, gc, codecs, platform, sys
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/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
Dtest_results_uploader.py32 import codecs
98 with codecs.open(path, "rb") as file:
/external/webkit/Tools/Scripts/webkitpy/common/checkout/
Dchangelog_unittest.py31 import codecs
121 with codecs.open(file_path, "r", encoding) as file:
Dchangelog.py31 import codecs
126 changelog_file = codecs.open(self.path, "r", "utf-8")
/external/markdown/markdown/
D__init__.py46 import codecs
400 output, length = codecs.utf_8_decode(self.serializer(root, encoding="utf-8"))
443 input_file = codecs.open(input, mode="r", encoding=encoding)
453 output_file = codecs.open(output, "w", encoding=encoding)

1234