Home
last modified time | relevance | path

Searched refs:csrcs (Results 1 – 25 of 35) sorted by relevance

12

/external/webrtc/api/
Drtp_packet_info.cc22 std::vector<uint32_t> csrcs, in RtpPacketInfo() argument
26 csrcs_(std::move(csrcs)), in RtpPacketInfo()
48 return (lhs.ssrc() == rhs.ssrc()) && (lhs.csrcs() == rhs.csrcs()) && in operator ==()
Drtp_packet_info.h36 std::vector<uint32_t> csrcs,
50 const std::vector<uint32_t>& csrcs() const { return csrcs_; } in csrcs() function
Drtp_packet_info_unittest.cc56 EXPECT_EQ(rhs.csrcs(), value); in TEST()
67 EXPECT_NE(rhs.csrcs(), value); in TEST()
71 EXPECT_EQ(rhs.csrcs(), value); in TEST()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_packet_received.cc44 std::vector<uint32_t> csrcs = Csrcs(); in GetHeader() local
45 header->numCSRCs = rtc::dchecked_cast<uint8_t>(csrcs.size()); in GetHeader()
46 for (size_t i = 0; i < csrcs.size(); ++i) { in GetHeader()
47 header->arrOfCSRCs[i] = csrcs[i]; in GetHeader()
Dabsolute_capture_time_interpolator.cc30 rtc::ArrayView<const uint32_t> csrcs) { in GetSource() argument
31 if (csrcs.empty()) { in GetSource()
35 return csrcs[0]; in GetSource()
Drtp_packet.cc106 std::vector<uint32_t> csrcs(num_csrc); in Csrcs() local
108 csrcs[i] = in Csrcs()
111 return csrcs; in Csrcs()
210 void RtpPacket::SetCsrcs(rtc::ArrayView<const uint32_t> csrcs) { in SetCsrcs() argument
214 RTC_DCHECK_LE(csrcs.size(), 0x0fu); in SetCsrcs()
215 RTC_DCHECK_LE(kFixedHeaderSize + 4 * csrcs.size(), capacity()); in SetCsrcs()
216 payload_offset_ = kFixedHeaderSize + 4 * csrcs.size(); in SetCsrcs()
217 WriteAt(0, (data()[0] & 0xF0) | rtc::dchecked_cast<uint8_t>(csrcs.size())); in SetCsrcs()
219 for (uint32_t csrc : csrcs) { in SetCsrcs()
Dabsolute_capture_time_sender.cc38 rtc::ArrayView<const uint32_t> csrcs) { in GetSource() argument
39 return AbsoluteCaptureTimeInterpolator::GetSource(ssrc, csrcs); in GetSource()
Dsource_tracker_unittest.cc55 for (const auto& csrc : packet_info.csrcs()) { in OnFrameDelivered()
155 std::vector<uint32_t> csrcs; in GenerateCsrcs() local
156 for (size_t i = 1; i <= csrcs_count_ && csrcs.size() < kRtpCsrcSize; ++i) { in GenerateCsrcs()
158 csrcs.push_back(i); in GenerateCsrcs()
162 return csrcs; in GenerateCsrcs()
Drtp_sender.cc585 void RTPSender::SetCsrcs(const std::vector<uint32_t>& csrcs) { in SetCsrcs() argument
586 RTC_DCHECK_LE(csrcs.size(), kRtpCsrcSize); in SetCsrcs()
588 csrcs_ = csrcs; in SetCsrcs()
604 const std::vector<uint32_t> csrcs = packet.Csrcs(); in CopyHeaderAndExtensionsToRtxPacket() local
605 rtx_packet->SetCsrcs(csrcs); in CopyHeaderAndExtensionsToRtxPacket()
Dabsolute_capture_time_interpolator.h45 rtc::ArrayView<const uint32_t> csrcs);
Dabsolute_capture_time_sender.h51 rtc::ArrayView<const uint32_t> csrcs);
Dulpfec_generator_unittest.cc201 const uint32_t csrcs[]{1}; in TEST_F() local
202 rtp_packet.SetCsrcs(csrcs); in TEST_F()
Dsource_tracker.cc35 for (uint32_t csrc : packet_info.csrcs()) { in OnFrameDelivered()
Drtp_rtcp_impl.cc268 void ModuleRtpRtcpImpl::SetCsrcs(const std::vector<uint32_t>& csrcs) { in SetCsrcs() argument
269 rtcp_sender_.SetCsrcs(csrcs); in SetCsrcs()
270 rtp_sender_->packet_generator.SetCsrcs(csrcs); in SetCsrcs()
Drtp_rtcp_impl2.cc233 void ModuleRtpRtcpImpl2::SetCsrcs(const std::vector<uint32_t>& csrcs) { in SetCsrcs() argument
234 rtcp_sender_.SetCsrcs(csrcs); in SetCsrcs()
235 rtp_sender_->packet_generator.SetCsrcs(csrcs); in SetCsrcs()
Drtcp_sender.cc847 void RTCPSender::SetCsrcs(const std::vector<uint32_t>& csrcs) { in SetCsrcs() argument
848 RTC_DCHECK_LE(csrcs.size(), kRtpCsrcSize); in SetCsrcs()
850 csrcs_ = csrcs; in SetCsrcs()
Drtp_sender.h66 void SetCsrcs(const std::vector<uint32_t>& csrcs)
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dbye_unittest.cc36 EXPECT_TRUE(parsed_bye.csrcs().empty()); in TEST()
51 EXPECT_THAT(parsed_bye.csrcs(), ElementsAre(kCsrc1, kCsrc2)); in TEST()
68 EXPECT_THAT(parsed_bye.csrcs(), ElementsAre(kCsrc1, kCsrc2)); in TEST()
92 EXPECT_TRUE(parsed_bye.csrcs().empty()); in TEST()
118 EXPECT_TRUE(parsed_bye.csrcs().empty()); in TEST()
Dbye.cc120 bool Bye::SetCsrcs(std::vector<uint32_t> csrcs) { in SetCsrcs() argument
121 if (csrcs.size() > kMaxNumberOfCsrcs) { in SetCsrcs()
125 csrcs_ = std::move(csrcs); in SetCsrcs()
Dbye.h35 bool SetCsrcs(std::vector<uint32_t> csrcs);
38 const std::vector<uint32_t>& csrcs() const { return csrcs_; } in csrcs() function
/external/webrtc/api/crypto/
Dframe_decryptor_interface.h62 const std::vector<uint32_t>& csrcs,
/external/webrtc/api/test/
Dfake_frame_decryptor.h38 const std::vector<uint32_t>& csrcs,
Dfake_frame_decryptor.cc25 const std::vector<uint32_t>& csrcs, in Decrypt() argument
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_unittest_helper.cc347 std::vector<uint32_t> csrcs{prng_.Rand<uint32_t>(), prng_.Rand<uint32_t>()}; in NewBye() local
348 bye.SetCsrcs(csrcs); in NewBye()
580 std::vector<uint32_t> csrcs; in RandomizeRtpPacket() local
582 csrcs.push_back(prng_.Rand<uint32_t>()); in RandomizeRtpPacket()
584 rtp_packet->SetCsrcs(csrcs); in RandomizeRtpPacket()
1232 EXPECT_EQ(original_bye.csrcs(), logged_bye.bye.csrcs()); in VerifyLoggedBye()
/external/webrtc/modules/rtp_rtcp/mocks/
Dmock_rtp_rtcp.h70 MOCK_METHOD(void, SetCsrcs, (const std::vector<uint32_t>& csrcs), (override));

12