Home
last modified time | relevance | path

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

1234567

/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvoiceengine_unittest.cc163 std::vector<cricket::AudioCodec> codecs; in TestInsertDtmf() local
164 codecs.push_back(kPcmuCodec); in TestInsertDtmf()
165 EXPECT_TRUE(channel_->SetSendCodecs(codecs)); in TestInsertDtmf()
169 codecs.push_back(kTelephoneEventCodec); in TestInsertDtmf()
170 EXPECT_TRUE(channel_->SetSendCodecs(codecs)); in TestInsertDtmf()
214 std::vector<cricket::AudioCodec> codecs; in TestSendBandwidth() local
216 codecs.push_back(codec); in TestSendBandwidth()
217 EXPECT_TRUE(channel_->SetSendCodecs(codecs)); in TestSendBandwidth()
324 const std::vector<cricket::AudioCodec>& codecs = engine_.codecs(); in TEST_F() local
325 ASSERT_FALSE(codecs.empty()); in TEST_F()
[all …]
Dwebrtcvideoengine_unittest.cc294 std::vector<cricket::VideoCodec> codecs(engine_.codecs()); in TEST_F() local
295 EXPECT_TRUE(channel_->SetSendCodecs(codecs)); in TEST_F()
305 std::vector<cricket::VideoCodec> codecs(engine_.codecs()); in TEST_F() local
306 codecs[0].params[cricket::kCodecParamMinBitrate] = "10"; in TEST_F()
307 codecs[0].params[cricket::kCodecParamMaxBitrate] = "20"; in TEST_F()
308 EXPECT_TRUE(channel_->SetSendCodecs(codecs)); in TEST_F()
321 std::vector<cricket::VideoCodec> codecs(engine_.codecs()); in TEST_F() local
322 codecs[0].params[cricket::kCodecParamMinBitrate] = "30"; in TEST_F()
323 codecs[0].params[cricket::kCodecParamMaxBitrate] = "20"; in TEST_F()
324 EXPECT_FALSE(channel_->SetSendCodecs(codecs)); in TEST_F()
[all …]
/external/chromium_org/media/filters/
Dstream_parser_factory.cc62 const std::vector<std::string>& codecs,
68 const CodecInfo** codecs; member
95 const std::vector<std::string>& codecs, in BuildWebMParser() argument
167 const std::vector<std::string>& codecs, const LogCB& log_cb) { in BuildMP4Parser() argument
175 for (size_t i = 0; i < codecs.size(); ++i) { in BuildMP4Parser()
176 std::string codec_id = codecs[i]; in BuildMP4Parser()
208 const std::vector<std::string>& codecs, const LogCB& log_cb) { in BuildMP3Parser() argument
222 const std::vector<std::string>& codecs, const media::LogCB& log_cb) { in BuildMP2TParser() argument
224 for (size_t i = 0; i < codecs.size(); ++i) { in BuildMP2TParser()
225 std::string codec_id = codecs[i]; in BuildMP2TParser()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Drtpdataengine.cc71 bool FindCodecById(const std::vector<DataCodec>& codecs, in FindCodecById() argument
74 for (iter = codecs.begin(); iter != codecs.end(); ++iter) { in FindCodecById()
83 bool FindCodecByName(const std::vector<DataCodec>& codecs, in FindCodecByName() argument
86 for (iter = codecs.begin(); iter != codecs.end(); ++iter) { in FindCodecByName()
126 const DataCodec* FindUnknownCodec(const std::vector<DataCodec>& codecs) { in FindUnknownCodec() argument
129 for (iter = codecs.begin(); iter != codecs.end(); ++iter) { in FindUnknownCodec()
137 const DataCodec* FindKnownCodec(const std::vector<DataCodec>& codecs) { in FindKnownCodec() argument
140 for (iter = codecs.begin(); iter != codecs.end(); ++iter) { in FindKnownCodec()
148 bool RtpDataMediaChannel::SetRecvCodecs(const std::vector<DataCodec>& codecs) { in SetRecvCodecs() argument
149 const DataCodec* unknown_codec = FindUnknownCodec(codecs); in SetRecvCodecs()
[all …]
Dhybridvideoengine.cc82 const std::vector<VideoCodec>& codecs) { in SetRecvCodecs() argument
86 SplitCodecs(codecs, &codecs1, &codecs2); in SetRecvCodecs()
143 const std::vector<VideoCodec>& codecs) { in SetSendCodecs() argument
145 if (!active_channel_ && !SelectActiveChannel(codecs)) { in SetSendCodecs()
151 SplitCodecs(codecs, &codecs1, &codecs2); in SetSendCodecs()
313 const std::vector<VideoCodec>& codecs) { in SelectActiveChannel() argument
314 if (!active_channel_ && !codecs.empty()) { in SelectActiveChannel()
315 if (engine_->HasCodec1(codecs[0])) { in SelectActiveChannel()
318 } else if (engine_->HasCodec2(codecs[0])) { in SelectActiveChannel()
334 const std::vector<VideoCodec>& codecs, in SplitCodecs() argument
[all …]
Dhybridvideoengine.h69 virtual bool SetRecvCodecs(const std::vector<VideoCodec>& codecs);
73 virtual bool SetSendCodecs(const std::vector<VideoCodec>& codecs);
104 bool SelectActiveChannel(const std::vector<VideoCodec>& codecs);
105 void SplitCodecs(const std::vector<VideoCodec>& codecs,
139 codecs_ = video1_.codecs(); in HybridVideoEngine()
140 codecs_.insert(codecs_.end(), video2_.codecs().begin(), in HybridVideoEngine()
141 video2_.codecs().end()); in HybridVideoEngine()
193 if (video1_.codecs().size() > 0) { in SetDefaultEncoderConfig()
194 conf.max_codec.name = video1_.codecs()[0].name; in SetDefaultEncoderConfig()
200 if (video2_.codecs().size() > 0) { in SetDefaultEncoderConfig()
[all …]
Dfakemediaengine.h248 const std::vector<AudioCodec>& codecs() const { return send_codecs(); } in codecs() function
258 virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs) { in SetRecvCodecs() argument
263 recv_codecs_ = codecs; in SetRecvCodecs()
266 virtual bool SetSendCodecs(const std::vector<AudioCodec>& codecs) { in SetSendCodecs() argument
271 send_codecs_ = codecs; in SetSendCodecs()
454 const std::vector<VideoCodec>& codecs() const { return send_codecs(); } in codecs() function
487 virtual bool SetRecvCodecs(const std::vector<VideoCodec>& codecs) { in SetRecvCodecs() argument
492 recv_codecs_ = codecs; in SetRecvCodecs()
495 virtual bool SetSendCodecs(const std::vector<VideoCodec>& codecs) { in SetSendCodecs() argument
500 send_codecs_ = codecs; in SetSendCodecs()
[all …]
Drtpdataengine_unittest.cc262 std::vector<cricket::DataCodec> codecs; in TEST_F() local
263 codecs.push_back(codec); in TEST_F()
264 ASSERT_TRUE(dmc->SetSendCodecs(codecs)); in TEST_F()
326 std::vector<cricket::DataCodec> codecs; in TEST_F() local
327 codecs.push_back(codec); in TEST_F()
328 ASSERT_TRUE(dmc1->SetSendCodecs(codecs)); in TEST_F()
329 ASSERT_TRUE(dmc2->SetSendCodecs(codecs)); in TEST_F()
373 std::vector<cricket::DataCodec> codecs; in TEST_F() local
374 codecs.push_back(codec); in TEST_F()
375 ASSERT_TRUE(dmc->SetSendCodecs(codecs)); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/
DContentType.cpp79 Vector<String> ContentType::codecs() const in codecs() function in WebCore::ContentType
86 Vector<String> codecs; in codecs() local
87 codecsParameter.split(",", codecs); in codecs()
88 for (size_t i = 0; i < codecs.size(); ++i) in codecs()
89 codecs[i] = codecs[i].simplifyWhiteSpace(); in codecs()
91 return codecs; in codecs()
/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 …]
/external/lzma/CPP/7zip/UI/Common/
DOpenArchive.cpp107 CCodecs *codecs, in OpenStream() argument
130 for (i = 0; i < codecs->Formats.Size(); i++) in OpenStream()
131 if (codecs->Formats[i].FindExtension(extension) >= 0) in OpenStream()
168 const CArcInfoEx &ai = codecs->Formats[orderIndices[i]]; in OpenStream()
189 const CArcInfoEx &ai = codecs->Formats[index]; in OpenStream()
230 const CArcInfoEx &ai = codecs->Formats[index]; in OpenStream()
242 int isoIndex = codecs->FindFormatForArchiveType(L"iso"); in OpenStream()
243 int udfIndex = codecs->FindFormatForArchiveType(L"udf"); in OpenStream()
270 RINOK(codecs->CreateInArchive(FormatIndex, archive)); in OpenStream()
280 RINOK(setCompressCodecsInfo->SetCompressCodecsInfo(codecs)); in OpenStream()
[all …]
DOpenArchive.h37 CCodecs *codecs,
44 CCodecs *codecs,
66 CCodecs *codecs,
74 CCodecs *codecs,
82 CCodecs *codecs,
/external/chromium_org/chrome/renderer/media/
Dchrome_key_systems.cc221 std::vector<std::string>* codecs) { in GetSupportedCodecs() argument
222 DCHECK(codecs->empty()); in GetSupportedCodecs()
237 codecs); in GetSupportedCodecs()
261 std::vector<std::string> codecs; in AddPepperBasedWidevine() local
262 GetSupportedCodecs(additional_param_names, additional_param_values, &codecs); in AddPepperBasedWidevine()
265 for (size_t i = 0; i < codecs.size(); ++i) { in AddPepperBasedWidevine()
267 if (codecs[i] == kCdmSupportedCodecVp8) in AddPepperBasedWidevine()
270 if (codecs[i] == kCdmSupportedCodecAac) in AddPepperBasedWidevine()
272 if (codecs[i] == kCdmSupportedCodecAvc1) in AddPepperBasedWidevine()
291 request.codecs = static_cast<android::SupportedCodecs>( in AddAndroidWidevine()
/external/chromium_org/net/base/
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;
98 const std::vector<std::string>& codecs);
440 const std::vector<std::string>& codecs) { in AreSupportedCodecs() argument
441 for (size_t i = 0; i < codecs.size(); ++i) { in AreSupportedCodecs()
442 if (supported_codecs.find(codecs[i]) == supported_codecs.end()) in AreSupportedCodecs()
445 return !codecs.empty(); in AreSupportedCodecs()
498 MimeMappings codecs; in InitializeMimeTypeMaps() local
504 codecs.insert(mime_type_codecs[j]); in InitializeMimeTypeMaps()
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
Dfilereader.py33 import codecs
79 file = codecs.StreamReaderWriter(sys.stdin,
80 codecs.getreader('utf8'),
81 codecs.getwriter('utf8'),
89 file = codecs.open(file_path, 'r', 'utf8', 'replace')
/external/lzma/CPP/7zip/UI/Console/
DMain.cpp223 CCodecs *codecs = new CCodecs; in Main2() local
230 > compressCodecsInfo = codecs; in Main2()
231 HRESULT result = codecs->Load(); in Main2()
237 if (codecs->Formats.Size() == 0 && in Main2()
244 if (!codecs->FindFormatForArchiveType(options.ArcType, formatIndices)) in Main2()
251 for (i = 0; i < codecs->Formats.Size(); i++) in Main2()
253 const CArcInfoEx &arc = codecs->Formats[i]; in Main2()
306 if (codecs->GetNumberOfMethods(&numMethods) == S_OK) in Main2()
309 int libIndex = codecs->GetCodecLibIndex(j); in Main2()
319 stdStream << (char)(codecs->GetCodecEncoderIsAssigned(j) ? 'C' : ' '); in Main2()
[all …]
/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);
/external/chromium_org/content/renderer/media/crypto/
Dkey_systems.cc84 const std::vector<std::string>& codecs,
242 CodecSet codecs(mime_type_codecs.begin(), mime_type_codecs.end()); in AddSupportedType() local
247 mime_types_map[mime_type] = codecs; in AddSupportedType()
284 const CodecSet& codecs = mime_iter->second; in IsSupportedKeySystemWithContainerAndCodec() local
285 if (codecs.find(codec) == codecs.end()) in IsSupportedKeySystemWithContainerAndCodec()
294 const std::vector<std::string>& codecs, in IsSupportedKeySystemWithMediaMimeType() argument
306 if (codecs.empty()) { in IsSupportedKeySystemWithMediaMimeType()
311 for (size_t i = 0; i < codecs.size(); ++i) { in IsSupportedKeySystemWithMediaMimeType()
313 mime_type, codecs[i], concrete_key_system)) { in IsSupportedKeySystemWithMediaMimeType()
367 const std::vector<std::string>& codecs, in IsSupportedKeySystemWithMediaMimeType() argument
[all …]
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dmediasession_unittest.cc393 for (size_t i = 0; i < audio_content_desc->codecs().size(); ++i) { in VerifyNoCNCodecs()
394 if (audio_content_desc->codecs()[i].name == "CN") in VerifyNoCNCodecs()
423 EXPECT_EQ(f1_.audio_codecs(), acd->codecs()); in TEST_F()
450 EXPECT_EQ(f1_.audio_codecs(), acd->codecs()); in TEST_F()
457 EXPECT_EQ(f1_.video_codecs(), vcd->codecs()); in TEST_F()
491 EXPECT_NE(vcd->codecs()[0].id, acd->codecs()[0].id); in TEST_F()
492 EXPECT_NE(vcd->codecs()[0].id, dcd->codecs()[0].id); in TEST_F()
493 EXPECT_NE(acd->codecs()[0].id, dcd->codecs()[0].id); in TEST_F()
494 EXPECT_EQ(vcd->codecs()[0].name, offered_video_codec.name); in TEST_F()
495 EXPECT_EQ(acd->codecs()[0].name, offered_audio_codec.name); in TEST_F()
[all …]
Dmediasession.h298 const std::vector<C>& codecs() const { return codecs_; } in codecs() function
299 void set_codecs(const std::vector<C>& codecs) { codecs_ = codecs; } in set_codecs() argument
315 void AddCodecs(const std::vector<C>& codecs) { in AddCodecs() argument
317 for (codec = codecs.begin(); codec != codecs.end(); ++codec) { in AddCodecs()
387 void set_audio_codecs(const AudioCodecs& codecs) { audio_codecs_ = codecs; } in set_audio_codecs() argument
395 void set_video_codecs(const VideoCodecs& codecs) { video_codecs_ = codecs; } in set_video_codecs() argument
403 void set_data_codecs(const DataCodecs& codecs) { data_codecs_ = codecs; } in set_data_codecs() argument
/external/chromium_org/third_party/libjingle/source/talk/media/other/
Dlinphonemediaengine.h58 void set_voice_codecs(const std::vector<AudioCodec>& codecs) { in set_voice_codecs() argument
59 voice_codecs_ = codecs; in set_voice_codecs()
61 void set_video_codecs(const std::vector<VideoCodec>& codecs) { in set_video_codecs() argument
62 video_codecs_ = codecs; in set_video_codecs()
123 virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs) { return true; } in SetRecvCodecs() argument
124 virtual bool SetSendCodecs(const std::vector<AudioCodec>& codecs);
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/
DWebKitMediaSource.cpp100 Vector<String> codecs = contentType.codecs(); in addSourceBuffer() local
101 …OwnPtr<WebSourceBuffer> webSourceBuffer = createWebSourceBuffer(contentType.type(), codecs, except… in addSourceBuffer()
189 String codecs = contentType.parameter("codecs"); in isTypeSupported() local
199 return MIMETypeRegistry::isSupportedMediaSourceMIMEType(contentType.type(), codecs); in isTypeSupported()
DMediaSource.cpp101 Vector<String> codecs = contentType.codecs(); in addSourceBuffer() local
102 …OwnPtr<WebSourceBuffer> webSourceBuffer = createWebSourceBuffer(contentType.type(), codecs, except… in addSourceBuffer()
200 String codecs = contentType.parameter("codecs"); in isTypeSupported() local
210 return MIMETypeRegistry::isSupportedMediaSourceMIMEType(contentType.type(), codecs); in isTypeSupported()
/external/chromium_org/content/renderer/media/
Dwebmediasource_impl.cc38 const blink::WebVector<blink::WebString>& codecs, in addSourceBuffer() argument
41 std::vector<std::string> new_codecs(codecs.size()); in addSourceBuffer()
42 for (size_t i = 0; i < codecs.size(); ++i) in addSourceBuffer()
43 new_codecs[i] = codecs[i].utf8().data(); in addSourceBuffer()
/external/chromium_org/third_party/WebKit/Tools/Scripts/
Dwebkit-patch39 import codecs
52 class ForgivingUTF8Writer(codecs.lookup('utf-8')[-1]):
60 return codecs.StreamWriter.write(self, object)

1234567