Home
last modified time | relevance | path

Searched refs:StreamParams (Results 1 – 25 of 37) sorted by relevance

12

/external/webrtc/talk/media/base/
Dstreamparams_unittest.cc38 static cricket::StreamParams CreateStreamParamsWithSsrcGroup( in CreateStreamParamsWithSsrcGroup()
42 cricket::StreamParams stream; in CreateStreamParamsWithSsrcGroup()
82 TEST(StreamParams, CreateLegacy) { in TEST() argument
84 cricket::StreamParams one_sp = cricket::StreamParams::CreateLegacy(ssrc); in TEST()
94 TEST(StreamParams, HasSsrcGroup) { in TEST() argument
95 cricket::StreamParams sp = in TEST()
109 TEST(StreamParams, GetSsrcGroup) { in TEST() argument
110 cricket::StreamParams sp = in TEST()
116 TEST(StreamParams, EqualNotEqual) { in TEST() argument
117 cricket::StreamParams l1 = cricket::StreamParams::CreateLegacy(1); in TEST()
[all …]
Dstreamparams.h79 struct StreamParams { struct
80 static StreamParams CreateLegacy(uint32_t ssrc) { in CreateLegacy() argument
81 StreamParams stream; in CreateLegacy()
86 bool operator==(const StreamParams& other) const {
96 bool operator!=(const StreamParams &other) const {
189 bool Matches(const StreamParams& stream) const { in Matches() argument
202 typedef std::vector<StreamParams> StreamParamsVec;
219 std::vector<StreamParams>* mutable_audio() { return &audio_; } in mutable_audio()
220 std::vector<StreamParams>* mutable_video() { return &video_; } in mutable_video()
221 std::vector<StreamParams>* mutable_data() { return &data_; } in mutable_data()
[all …]
Dstreamparams.cc37 void AddStream(std::vector<StreamParams>* streams, const StreamParams& stream) { in AddStream()
48 StreamParams* stream_out) { in GetStream()
49 const StreamParams* found = GetStream(streams, selector); in GetStream()
56 const StreamSelector& selector, StreamParams* stream) { in GetAudioStream()
61 const StreamSelector& selector, StreamParams* stream) { in GetVideoStream()
66 const StreamSelector& selector, StreamParams* stream) { in GetDataStream()
76 void MediaStreams::AddAudioStream(const StreamParams& stream) { in AddAudioStream()
80 void MediaStreams::AddVideoStream(const StreamParams& stream) { in AddVideoStream()
84 void MediaStreams::AddDataStream(const StreamParams& stream) { in AddDataStream()
130 std::string StreamParams::ToString() const { in ToString()
[all …]
Dvideoengine_unittest.h138 virtual cricket::StreamParams DefaultSendStreamParams() { in DefaultSendStreamParams()
139 return cricket::StreamParams::CreateLegacy(kSsrc); in DefaultSendStreamParams()
173 cricket::StreamParams::CreateLegacy(kSsrc + 2))); in SetUpSecondStream()
182 cricket::StreamParams::CreateLegacy(kSsrc))); in SetUpSecondStreamWithNoRecv()
185 cricket::StreamParams::CreateLegacy(kSsrc))); in SetUpSecondStreamWithNoRecv()
187 cricket::StreamParams::CreateLegacy(kSsrc + 2))); in SetUpSecondStreamWithNoRecv()
561 cricket::StreamParams::CreateLegacy(1))); in GetStatsMultipleRecvStreams()
563 cricket::StreamParams::CreateLegacy(2))); in GetStatsMultipleRecvStreams()
611 cricket::StreamParams::CreateLegacy(kSsrc))); in GetStatsMultipleSendStreams()
631 cricket::StreamParams::CreateLegacy(5678))); in GetStatsMultipleSendStreams()
[all …]
Drtpdataengine.h100 virtual bool AddSendStream(const StreamParams& sp);
102 virtual bool AddRecvStream(const StreamParams& sp);
133 std::vector<StreamParams> send_streams_;
134 std::vector<StreamParams> recv_streams_;
Drtpdataengine_unittest.cc207 cricket::StreamParams stream1; in TEST_F()
210 cricket::StreamParams stream2; in TEST_F()
222 cricket::StreamParams stream1; in TEST_F()
225 cricket::StreamParams stream2; in TEST_F()
258 cricket::StreamParams stream; in TEST_F()
324 cricket::StreamParams stream1; in TEST_F()
327 cricket::StreamParams stream2; in TEST_F()
385 cricket::StreamParams stream; in TEST_F()
455 cricket::StreamParams stream; in TEST_F()
Dfakemediaengine.h109 virtual bool AddSendStream(const StreamParams& sp) { in AddSendStream()
120 virtual bool AddRecvStream(const StreamParams& sp) { in AddRecvStream()
140 const std::vector<StreamParams>& send_streams() const { in send_streams()
143 const std::vector<StreamParams>& recv_streams() const { in recv_streams()
220 std::vector<StreamParams> send_streams_;
221 std::vector<StreamParams> receive_streams_;
290 virtual bool AddRecvStream(const StreamParams& sp) { in AddRecvStream()
487 virtual bool AddSendStream(const StreamParams& sp) { in AddSendStream()
534 virtual bool AddRecvStream(const StreamParams& sp) { in AddRecvStream()
578 for (std::vector<StreamParams>::const_iterator it = send_streams().begin(); in SetSendCodecs()
[all …]
Dtestutils.cc357 cricket::StreamParams CreateSimStreamParams( in CreateSimStreamParams()
360 cricket::StreamParams sp; in CreateSimStreamParams()
369 cricket::StreamParams CreateSimWithRtxStreamParams( in CreateSimWithRtxStreamParams()
373 cricket::StreamParams sp = CreateSimStreamParams(cname, ssrcs); in CreateSimWithRtxStreamParams()
Drtpdataengine.cc166 bool RtpDataMediaChannel::AddSendStream(const StreamParams& stream) { in AddSendStream()
201 bool RtpDataMediaChannel::AddRecvStream(const StreamParams& stream) { in AddRecvStream()
313 const StreamParams* found_stream = in SendData()
Dtestutils.h238 cricket::StreamParams CreateSimStreamParams(const std::string& cname,
242 cricket::StreamParams CreateSimWithRtxStreamParams(
/external/gemmlowp/meta/
Dbase.h77 typename StreamParams>
80 static void Pack(const InType* in, const StreamParams& params, InType* out);
82 static int UnpackedAdvance(const StreamParams& params);
84 static int PackedAdvance(const StreamParams& params);
86 static int UnpackedStride(const StreamParams& params);
88 static int PackedStride(const StreamParams& params);
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine_unittest.cc96 cricket::StreamParams::CreateLegacy(kSsrc1)); in SetupEngineWithRecvStream()
103 cricket::StreamParams::CreateLegacy(kSsrc1)); in SetupEngineWithSendStream()
148 cricket::StreamParams::CreateLegacy(kSsrc1))); in TestInsertDtmf()
164 cricket::StreamParams::CreateLegacy(kSsrc1))); in TestInsertDtmf()
228 cricket::StreamParams::CreateLegacy(kSsrc2))); in TestSetSendRtpHeaderExtensions()
270 cricket::StreamParams::CreateLegacy(kSsrc2))); in TestSetRecvRtpHeaderExtensions()
484 cricket::StreamParams::CreateLegacy(kSsrc1))); in TEST_F()
528 cricket::StreamParams::CreateLegacy(kSsrc1))); in TEST_F()
551 cricket::StreamParams::CreateLegacy(kSsrc1))); in TEST_F()
574 cricket::StreamParams::CreateLegacy(kSsrc1))); in TEST_F()
[all …]
Dwebrtcvideoengine2_unittest.cc292 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(kSsrc))); in TEST_F()
322 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(kSsrc))); in TEST_F()
347 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(123))); in TEST_F()
359 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(123))); in TEST_F()
374 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
411 channel->AddRecvStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
426 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
486 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
610 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
630 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
[all …]
Dwebrtcvideoengine2.h170 bool AddSendStream(const StreamParams& sp) override;
172 bool AddRecvStream(const StreamParams& sp) override;
173 bool AddRecvStream(const StreamParams& sp, bool default_stream);
212 const StreamParams& sp) const;
214 bool ValidateSendSsrcAvailability(const StreamParams& sp) const
216 bool ValidateReceiveSsrcAvailability(const StreamParams& sp) const
241 const StreamParams& sp,
391 const StreamParams& sp,
Dsimulcast.h37 struct StreamParams;
62 void GetSimulcastSsrcs(const StreamParams& sp, std::vector<uint32_t>* ssrcs);
Dwebrtcvoiceengine.h175 bool AddSendStream(const StreamParams& sp) override;
177 bool AddRecvStream(const StreamParams& sp) override;
/external/webrtc/talk/session/media/
Dchannel.h141 bool AddRecvStream(const StreamParams& sp);
143 bool AddSendStream(const StreamParams& sp);
154 const std::vector<StreamParams>& local_streams() const { in local_streams()
157 const std::vector<StreamParams>& remote_streams() const { in remote_streams()
240 bool AddRecvStream_w(const StreamParams& sp);
242 bool AddSendStream_w(const StreamParams& sp);
257 bool UpdateLocalStreams_w(const std::vector<StreamParams>& streams,
260 bool UpdateRemoteStreams_w(const std::vector<StreamParams>& streams,
311 std::vector<StreamParams> local_streams_;
312 std::vector<StreamParams> remote_streams_;
Dcurrentspeakermonitor.cc199 for (std::vector<cricket::StreamParams>::const_iterator in OnMediaStreamsUpdate()
204 for (std::vector<cricket::StreamParams>::const_iterator in OnMediaStreamsUpdate()
Dmediasession.h249 void AddStream(const StreamParams& stream) { in AddStream()
254 streams_.push_back(StreamParams::CreateLegacy(ssrc)); in AddLegacyStream()
257 StreamParams sp = StreamParams::CreateLegacy(ssrc); in AddLegacyStream()
Dbundlefilter_unittest.cc31 using cricket::StreamParams;
Dchannel_unittest.cc61 using cricket::StreamParams;
280 return channel1_->AddRecvStream(cricket::StreamParams::CreateLegacy(id)); in AddStream1()
612 cricket::StreamParams stream1; in TestUpdateStreamsInLocalContent()
618 cricket::StreamParams stream2; in TestUpdateStreamsInLocalContent()
624 cricket::StreamParams stream3; in TestUpdateStreamsInLocalContent()
679 cricket::StreamParams stream1; in TestUpdateStreamsInRemoteContent()
685 cricket::StreamParams stream2; in TestUpdateStreamsInRemoteContent()
691 cricket::StreamParams stream3; in TestUpdateStreamsInRemoteContent()
746 cricket::StreamParams stream1; in TestChangeStreamParamsInContent()
752 cricket::StreamParams stream2; in TestChangeStreamParamsInContent()
[all …]
/external/webrtc/talk/media/sctp/
Dsctpdataengine.h153 virtual bool AddSendStream(const StreamParams& sp);
155 virtual bool AddRecvStream(const StreamParams& sp);
208 bool AddStream(const StreamParams &sp);
Dsctpdataengine_unittest.cc194 cricket::StreamParams p(cricket::StreamParams::CreateLegacy(stream)); in OnStreamClosed()
275 cricket::StreamParams p(cricket::StreamParams::CreateLegacy(ssrc)); in AddStream()
/external/webrtc/talk/app/webrtc/
Dpeerconnection.cc352 std::vector<cricket::StreamParams> GetActiveStreams( in GetActiveStreams()
356 : std::vector<cricket::StreamParams>(); in GetActiveStreams()
1493 UpdateLocalTracks(std::vector<cricket::StreamParams>(), media_type); in RemoveTracks()
1494 UpdateRemoteStreamsList(std::vector<cricket::StreamParams>(), false, in RemoveTracks()
1510 const cricket::StreamParams* params = in UpdateRemoteStreamsList()
1524 for (const cricket::StreamParams& params : streams) { in UpdateRemoteStreamsList()
1658 const std::vector<cricket::StreamParams>& streams, in UpdateLocalTracks()
1667 const cricket::StreamParams* params = in UpdateLocalTracks()
1680 for (const cricket::StreamParams& params : streams) { in UpdateLocalTracks()
1744 for (const cricket::StreamParams& params : streams) { in UpdateLocalRtpDataChannels()
[all …]
Dpeerconnection.h239 const std::vector<cricket::StreamParams>& streams,
272 void UpdateLocalTracks(const std::vector<cricket::StreamParams>& streams,

12