Home
last modified time | relevance | path

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

12

/external/webrtc/api/
Drtp_packet_info.cc23 std::vector<uint32_t> csrcs, in RtpPacketInfo() argument
29 csrcs_(std::move(csrcs)), in RtpPacketInfo()
53 return (lhs.ssrc() == rhs.ssrc()) && (lhs.csrcs() == rhs.csrcs()) && in operator ==()
Drtp_packet_info_unittest.cc54 EXPECT_EQ(rhs.csrcs(), value); in TEST()
65 EXPECT_NE(rhs.csrcs(), value); in TEST()
68 EXPECT_EQ(rhs.csrcs(), value); in TEST()
Drtp_packet_info.h34 std::vector<uint32_t> csrcs,
50 const std::vector<uint32_t>& csrcs() const { return csrcs_; } in csrcs() function
/external/webrtc/modules/rtp_rtcp/source/
Drtp_packet_received.cc42 std::vector<uint32_t> csrcs = Csrcs(); in GetHeader() local
43 header->numCSRCs = rtc::dchecked_cast<uint8_t>(csrcs.size()); in GetHeader()
44 for (size_t i = 0; i < csrcs.size(); ++i) { in GetHeader()
45 header->arrOfCSRCs[i] = csrcs[i]; in GetHeader()
Dabsolute_capture_time_receiver.cc32 rtc::ArrayView<const uint32_t> csrcs) { in GetSource() argument
33 if (csrcs.empty()) { in GetSource()
37 return csrcs[0]; in GetSource()
Drtp_packet.cc105 std::vector<uint32_t> csrcs(num_csrc); in Csrcs() local
107 csrcs[i] = in Csrcs()
110 return csrcs; in Csrcs()
208 void RtpPacket::SetCsrcs(rtc::ArrayView<const uint32_t> csrcs) { in SetCsrcs() argument
212 RTC_DCHECK_LE(csrcs.size(), 0x0fu); in SetCsrcs()
213 RTC_DCHECK_LE(kFixedHeaderSize + 4 * csrcs.size(), capacity()); in SetCsrcs()
214 payload_offset_ = kFixedHeaderSize + 4 * csrcs.size(); in SetCsrcs()
215 WriteAt(0, (data()[0] & 0xF0) | rtc::dchecked_cast<uint8_t>(csrcs.size())); in SetCsrcs()
217 for (uint32_t csrc : csrcs) { in SetCsrcs()
Dsource_tracker_unittest.cc53 for (const auto& csrc : packet_info.csrcs()) { in OnFrameDelivered()
151 std::vector<uint32_t> csrcs; in GenerateCsrcs() local
152 for (size_t i = 1; i <= csrcs_count_ && csrcs.size() < kRtpCsrcSize; ++i) { in GenerateCsrcs()
154 csrcs.push_back(i); in GenerateCsrcs()
158 return csrcs; in GenerateCsrcs()
Dabsolute_capture_time_sender.cc38 rtc::ArrayView<const uint32_t> csrcs) { in GetSource() argument
39 return AbsoluteCaptureTimeReceiver::GetSource(ssrc, csrcs); in GetSource()
Drtp_sender.cc669 void RTPSender::SetCsrcs(const std::vector<uint32_t>& csrcs) { in SetCsrcs() argument
670 RTC_DCHECK_LE(csrcs.size(), kRtpCsrcSize); in SetCsrcs()
672 csrcs_ = csrcs; in SetCsrcs()
711 const std::vector<uint32_t> csrcs = packet.Csrcs(); in CopyHeaderAndExtensionsToRtxPacket() local
712 rtx_packet->SetCsrcs(csrcs); in CopyHeaderAndExtensionsToRtxPacket()
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()
Dabsolute_capture_time_receiver.h45 rtc::ArrayView<const uint32_t> csrcs);
Dsource_tracker.cc31 for (uint32_t csrc : packet_info.csrcs()) { in OnFrameDelivered()
Drtp_rtcp_impl2.cc235 void ModuleRtpRtcpImpl2::SetCsrcs(const std::vector<uint32_t>& csrcs) { in SetCsrcs() argument
236 rtcp_sender_.SetCsrcs(csrcs); in SetCsrcs()
237 rtp_sender_->packet_generator.SetCsrcs(csrcs); in SetCsrcs()
Drtp_rtcp_impl.cc291 void ModuleRtpRtcpImpl::SetCsrcs(const std::vector<uint32_t>& csrcs) { in SetCsrcs() argument
292 rtcp_sender_.SetCsrcs(csrcs); in SetCsrcs()
293 rtp_sender_->packet_generator.SetCsrcs(csrcs); in SetCsrcs()
Drtcp_sender.cc896 void RTCPSender::SetCsrcs(const std::vector<uint32_t>& csrcs) { in SetCsrcs() argument
897 RTC_DCHECK_LE(csrcs.size(), kRtpCsrcSize); in SetCsrcs()
899 csrcs_ = csrcs; in SetCsrcs()
Drtp_sender.h68 void SetCsrcs(const std::vector<uint32_t>& csrcs)
Drtp_packet.h108 void SetCsrcs(rtc::ArrayView<const 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.cc119 bool Bye::SetCsrcs(std::vector<uint32_t> csrcs) { in SetCsrcs() argument
120 if (csrcs.size() > kMaxNumberOfCsrcs) { in SetCsrcs()
124 csrcs_ = std::move(csrcs); in SetCsrcs()
Dbye.h34 bool SetCsrcs(std::vector<uint32_t> csrcs);
37 const std::vector<uint32_t>& csrcs() const { return csrcs_; } in csrcs() function
/external/webrtc/api/crypto/
Dframe_decryptor_interface.h63 const std::vector<uint32_t>& csrcs,
/external/webrtc/api/test/
Dfake_frame_decryptor.h40 const std::vector<uint32_t>& csrcs,
Dfake_frame_decryptor.cc25 const std::vector<uint32_t>& csrcs, in Decrypt() argument
/external/webrtc/modules/rtp_rtcp/mocks/
Dmock_rtp_rtcp.h73 MOCK_METHOD(void, SetCsrcs, (const std::vector<uint32_t>& csrcs), (override));

12