Home
last modified time | relevance | path

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

12

/external/webrtc/media/base/
Dstream_params_unittest.cc26 static cricket::StreamParams CreateStreamParamsWithSsrcGroup( in CreateStreamParamsWithSsrcGroup()
30 cricket::StreamParams stream; in CreateStreamParamsWithSsrcGroup()
70 TEST(StreamParams, CreateLegacy) { in TEST() argument
72 cricket::StreamParams one_sp = cricket::StreamParams::CreateLegacy(ssrc); in TEST()
82 TEST(StreamParams, HasSsrcGroup) { in TEST() argument
83 cricket::StreamParams sp = in TEST()
97 TEST(StreamParams, GetSsrcGroup) { in TEST() argument
98 cricket::StreamParams sp = in TEST()
104 TEST(StreamParams, HasStreamWithNoSsrcs) { in TEST() argument
105 cricket::StreamParams sp_1 = cricket::StreamParams::CreateLegacy(kSsrcs1[0]); in TEST()
[all …]
Dstream_params.cc75 StreamParams* stream_out) { in GetStream()
76 const StreamParams* found = GetStream(streams, selector); in GetStream()
106 StreamParams::StreamParams() = default;
107 StreamParams::StreamParams(const StreamParams&) = default;
108 StreamParams::StreamParams(StreamParams&&) = default;
109 StreamParams::~StreamParams() = default;
110 StreamParams& StreamParams::operator=(const StreamParams&) = default;
111 StreamParams& StreamParams::operator=(StreamParams&&) = default;
113 bool StreamParams::operator==(const StreamParams& other) const { in operator ==()
121 std::string StreamParams::ToString() const { in ToString()
[all …]
Dstream_params.h92 struct StreamParams { struct
93 StreamParams();
94 StreamParams(const StreamParams&);
95 StreamParams(StreamParams&&);
96 ~StreamParams();
97 StreamParams& operator=(const StreamParams&); argument
98 StreamParams& operator=(StreamParams&&); argument
100 static StreamParams CreateLegacy(uint32_t ssrc) { in CreateLegacy() argument
101 StreamParams stream; in CreateLegacy()
106 bool operator==(const StreamParams& other) const;
[all …]
Dtest_utils.cc20 cricket::StreamParams CreateSimStreamParams( in CreateSimStreamParams()
23 cricket::StreamParams sp; in CreateSimStreamParams()
32 cricket::StreamParams CreateSimWithRtxStreamParams( in CreateSimWithRtxStreamParams()
36 cricket::StreamParams sp = CreateSimStreamParams(cname, ssrcs); in CreateSimWithRtxStreamParams()
48 cricket::StreamParams CreatePrimaryWithFecFrStreamParams( in CreatePrimaryWithFecFrStreamParams()
52 cricket::StreamParams sp; in CreatePrimaryWithFecFrStreamParams()
Drtp_data_engine.h71 virtual bool AddSendStream(const StreamParams& sp);
73 virtual bool AddRecvStream(const StreamParams& sp);
101 std::vector<StreamParams> send_streams_;
102 std::vector<StreamParams> recv_streams_;
Dtest_utils.h51 cricket::StreamParams CreateSimStreamParams(const std::string& cname,
55 cricket::StreamParams CreateSimWithRtxStreamParams(
61 cricket::StreamParams CreatePrimaryWithFecFrStreamParams(
Drtp_data_engine_unittest.cc162 cricket::StreamParams stream1; in TEST_F()
165 cricket::StreamParams stream2; in TEST_F()
177 cricket::StreamParams stream1; in TEST_F()
180 cricket::StreamParams stream2; in TEST_F()
212 cricket::StreamParams stream; in TEST_F()
274 cricket::StreamParams stream; in TEST_F()
342 cricket::StreamParams stream; in TEST_F()
Dfake_media_engine.h104 virtual bool AddSendStream(const StreamParams& sp) { in AddSendStream()
122 virtual bool AddRecvStream(const StreamParams& sp) { in AddRecvStream()
184 const std::vector<StreamParams>& send_streams() const { in send_streams()
187 const std::vector<StreamParams>& recv_streams() const { in recv_streams()
290 std::vector<StreamParams> send_streams_;
291 std::vector<StreamParams> receive_streams_;
337 bool AddRecvStream(const StreamParams& sp) override;
420 bool AddSendStream(const StreamParams& sp) override;
437 bool AddRecvStream(const StreamParams& sp) override;
489 bool AddRecvStream(const StreamParams& sp) override;
Drtp_data_engine.cc139 bool RtpDataMediaChannel::AddSendStream(const StreamParams& stream) { in AddSendStream()
174 bool RtpDataMediaChannel::AddRecvStream(const StreamParams& stream) { in AddRecvStream()
276 const StreamParams* found_stream = in SendData()
Dfake_media_engine.cc120 bool FakeVoiceMediaChannel::AddRecvStream(const StreamParams& sp) { in AddRecvStream()
300 bool FakeVideoMediaChannel::AddSendStream(const StreamParams& sp) { in AddSendStream()
346 bool FakeVideoMediaChannel::AddRecvStream(const StreamParams& sp) { in AddRecvStream()
456 bool FakeDataMediaChannel::AddRecvStream(const StreamParams& sp) { in AddRecvStream()
Dmedia_engine.h165 webrtc::RtpParameters CreateRtpParametersWithEncodings(StreamParams sp);
Dmedia_engine.cc36 webrtc::RtpParameters CreateRtpParametersWithEncodings(StreamParams sp) { in CreateRtpParametersWithEncodings()
/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/pc/
Dchannel.h130 const std::vector<StreamParams>& local_streams() const override { in local_streams()
133 const std::vector<StreamParams>& remote_streams() const override { in remote_streams()
224 bool AddRecvStream_w(const StreamParams& sp);
227 bool AddSendStream_w(const StreamParams& sp);
236 bool UpdateLocalStreams_w(const std::vector<StreamParams>& streams,
239 bool UpdateRemoteStreams_w(const std::vector<StreamParams>& streams,
311 std::vector<StreamParams> local_streams_;
312 std::vector<StreamParams> remote_streams_;
Dchannel_interface.h57 virtual const std::vector<StreamParams>& local_streams() const = 0;
58 virtual const std::vector<StreamParams>& remote_streams() const = 0;
Dchannel.cc50 explicit StreamFinder(const StreamParams* target) : target_(target) { in StreamFinder()
54 bool operator()(const StreamParams& sp) const { in operator ()()
77 const StreamParams* target_;
563 bool BaseChannel::AddRecvStream_w(const StreamParams& sp) { in AddRecvStream_w()
578 bool BaseChannel::UpdateLocalStreams_w(const std::vector<StreamParams>& streams, in UpdateLocalStreams_w()
594 for (const StreamParams& old_stream : local_streams_) { in UpdateLocalStreams_w()
609 std::vector<StreamParams> all_streams; in UpdateLocalStreams_w()
610 for (const StreamParams& stream : streams) { in UpdateLocalStreams_w()
611 StreamParams* existing = GetStream(local_streams_, StreamFinder(&stream)); in UpdateLocalStreams_w()
619 StreamParams& new_stream = all_streams.back(); in UpdateLocalStreams_w()
[all …]
Drtp_sender_receiver_unittest.cc147 cricket::StreamParams::CreateLegacy(kAudioSsrc)); in RtpSenderReceiverTest()
149 cricket::StreamParams::CreateLegacy(kAudioSsrc)); in RtpSenderReceiverTest()
151 cricket::StreamParams::CreateLegacy(kAudioSsrc2)); in RtpSenderReceiverTest()
153 cricket::StreamParams::CreateLegacy(kAudioSsrc2)); in RtpSenderReceiverTest()
155 cricket::StreamParams::CreateLegacy(kVideoSsrc)); in RtpSenderReceiverTest()
157 cricket::StreamParams::CreateLegacy(kVideoSsrc)); in RtpSenderReceiverTest()
159 cricket::StreamParams::CreateLegacy(kVideoSsrc2)); in RtpSenderReceiverTest()
161 cricket::StreamParams::CreateLegacy(kVideoSsrc2)); in RtpSenderReceiverTest()
226 cricket::StreamParams CreateSimulcastStreamParams(int num_layers) { in CreateSimulcastStreamParams()
235 uint32_t CreateVideoRtpSender(const cricket::StreamParams& stream_params) { in CreateVideoRtpSender()
[all …]
Dsession_description.h166 virtual void AddStream(const StreamParams& stream) { in AddStream()
171 AddStream(StreamParams::CreateLegacy(ssrc)); in AddLegacyStream()
174 StreamParams sp = StreamParams::CreateLegacy(ssrc); in AddLegacyStream()
Dwebrtc_sdp_unittest.cc73 using cricket::StreamParams;
1018 StreamParams audio_stream; in WebRtcSdpTest()
1031 StreamParams video_stream; in WebRtcSdpTest()
1201 StreamParams audio_track_2; in MakePlanBDescription()
1208 StreamParams video_track_2; in MakePlanBDescription()
1215 StreamParams video_track_3; in MakePlanBDescription()
1238 StreamParams audio_track_2; in MakeUnifiedPlanDescription()
1252 StreamParams video_track_2; in MakeUnifiedPlanDescription()
1267 StreamParams video_track_3; in MakeUnifiedPlanDescription()
1313 StreamParams audio_track_2; in MakeUnifiedPlanDescriptionMultipleStreamIds()
[all …]
Dchannel_unittest.cc45 using cricket::StreamParams;
627 cricket::StreamParams stream1; in TestChangeStreamParamsInContent()
633 cricket::StreamParams stream2; in TestChangeStreamParamsInContent()
1317 StreamParams stream; in CreateSimulcastContent()
1325 void VerifySimulcastStreamParams(const StreamParams& expected, in VerifySimulcastStreamParams()
1327 const std::vector<StreamParams>& streams = channel->local_streams(); in VerifySimulcastStreamParams()
1329 const StreamParams& result = streams[0]; in VerifySimulcastStreamParams()
1345 StreamParams stream1 = channel1_->local_streams()[0]; in TestUpdateLocalStreamsWithSimulcast()
1352 StreamParams stream2 = channel1_->local_streams()[0]; in TestUpdateLocalStreamsWithSimulcast()
/external/webrtc/media/engine/
Dwebrtc_video_engine.h154 bool AddSendStream(const StreamParams& sp) override;
156 bool AddRecvStream(const StreamParams& sp) override;
157 bool AddRecvStream(const StreamParams& sp, bool default_stream);
203 StreamParams unsignaled_stream_params() { in unsignaled_stream_params()
309 const StreamParams& sp) const
311 bool ValidateSendSsrcAvailability(const StreamParams& sp) const
313 bool ValidateReceiveSsrcAvailability(const StreamParams& sp) const
327 const StreamParams& sp,
446 const StreamParams& sp,
506 const StreamParams stream_params_;
[all …]
Dwebrtc_video_engine_unittest.cc378 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(kSsrc))); in TEST_F()
422 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(kSsrc))); in TEST_F()
439 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(kSsrc))); in TEST_F()
482 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(123))); in TEST_F()
496 EXPECT_TRUE(channel->AddSendStream(StreamParams::CreateLegacy(123))); in TEST_F()
509 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
585 channel->AddRecvStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
597 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
804 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
870 channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); in TEST_F()
[all …]
Dwebrtc_voice_engine_unittest.cc250 return SetupSendStream(cricket::StreamParams::CreateLegacy(kSsrcX)); in SetupSendStream()
253 bool SetupSendStream(const cricket::StreamParams& sp) { in SetupSendStream()
268 return channel_->AddRecvStream(cricket::StreamParams::CreateLegacy(ssrc)); in AddRecvStream()
350 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrcX))); in TestInsertDtmf()
366 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrcX))); in TestInsertDtmf()
389 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrcX))); in TestExtmapAllowMixedCaller()
402 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrcX))); in TestExtmapAllowMixedCallee()
537 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrcY))); in TestSetSendRtpHeaderExtensions()
833 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrcX))); in TEST_P()
1116 channel_->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrcX))); in TEST_P()
[all …]
Dwebrtc_voice_engine.h163 bool AddSendStream(const StreamParams& sp) override;
165 bool AddRecvStream(const StreamParams& sp) override;
297 StreamParams unsignaled_stream_params_;
/external/webrtc/pc/test/
Dmock_channel_interface.h49 MOCK_METHOD(const std::vector<StreamParams>&,
53 MOCK_METHOD(const std::vector<StreamParams>&,

12