/external/webrtc/modules/audio_coding/neteq/ |
D | red_payload_splitter_unittest.cc | 80 uint8_t* payload_types, in CreateRedPayload() argument 95 *payload_ptr = payload_types[i] & 0x7F; // F = 0; in CreateRedPayload() 99 *payload_ptr = payload_types[i] & 0x7F; in CreateRedPayload() 185 uint8_t payload_types[] = {0, 0}; in TEST() local 188 packet_list.push_back(CreateRedPayload(2, payload_types, kTimestampOffset)); in TEST() 193 VerifyPacket(packet_list.front(), kPayloadLength, payload_types[1], in TEST() 197 VerifyPacket(packet_list.front(), kPayloadLength, payload_types[0], in TEST() 204 uint8_t payload_types[] = {0}; in TEST() local 208 packet_list.push_back(CreateRedPayload(1, payload_types, kTimestampOffset)); in TEST() 211 Packet packet = CreateRedPayload(1, payload_types, kTimestampOffset); in TEST() [all …]
|
/external/webrtc/pc/ |
D | sdp_serializer.cc | 141 std::vector<int>& payload_types = rid_description->payload_types; in ParseRidPayloadList() local 144 if (!payload_types.empty()) { in ParseRidPayloadList() 170 if (absl::c_linear_search(payload_types, value.value())) { in ParseRidPayloadList() 173 payload_types.push_back(value.value()); in ParseRidPayloadList() 276 const auto& payload_types = rid_description.payload_types; in SerializeRidDescription() local 283 if (!payload_types.empty()) { in SerializeRidDescription() 287 for (int payload_type : payload_types) { in SerializeRidDescription()
|
D | sdp_serializer_unittest.cc | 91 ExpectEqual(expected.payload_types, actual.payload_types); in ExpectEqual() 319 rid_description.payload_types = {102, 101}; in TEST_F() 326 rid_description.payload_types = {100}; in TEST_F() 343 rid_description.payload_types = {103, 104}; in TEST_F() 354 rid_description.payload_types = {103}; in TEST_F() 377 rid_description.payload_types = {101}; in TEST_F() 384 rid_description.payload_types = {103, 104, 101, 102}; in TEST_F() 418 rid_description.payload_types = {104, 103}; in TEST_F() 428 rid_description.payload_types = {104}; in TEST_F()
|
D | webrtc_sdp.cc | 296 const std::vector<int>& payload_types, 317 const std::vector<int>& payload_types, 354 static void RemoveInvalidRidDescriptions(const std::vector<int>& payload_types, 2362 static void RemoveInvalidRidDescriptions(const std::vector<int>& payload_types, in RemoveInvalidRidDescriptions() argument 2386 if (rid.payload_types.empty()) { in RemoveInvalidRidDescriptions() 2394 for (int payload_type : rid.payload_types) { in RemoveInvalidRidDescriptions() 2395 if (!absl::c_linear_search(payload_types, payload_type)) { in RemoveInvalidRidDescriptions() 2400 rid.payload_types.erase( in RemoveInvalidRidDescriptions() 2401 std::remove_if(rid.payload_types.begin(), rid.payload_types.end(), in RemoveInvalidRidDescriptions() 2405 rid.payload_types.end()); in RemoveInvalidRidDescriptions() [all …]
|
D | rtp_transport_unittest.cc | 288 demuxer_criteria.payload_types = {0x11}; in TEST() 312 demuxer_criteria.payload_types = {0x12}; in TEST()
|
D | composite_rtp_transport_test.cc | 71 criteria.payload_types.insert(kRtpPayloadType); in SetupRtpTransports()
|
D | srtp_transport_unittest.cc | 74 demuxer_criteria.payload_types = {0x00}; in SrtpTransportTest()
|
D | channel.cc | 760 demuxer_criteria_.payload_types.insert(static_cast<uint8_t>(payload_type)); in AddHandledPayloadType() 764 demuxer_criteria_.payload_types.clear(); in ClearHandledPayloadTypes()
|
D | dtls_srtp_transport_unittest.cc | 91 demuxer_criteria.payload_types = {0x00}; in MakeDtlsSrtpTransports()
|
D | webrtc_sdp_unittest.cc | 4493 EXPECT_EQ(1ul, rids[0].payload_types.size()); in TEST_F() 4494 EXPECT_EQ(120, rids[0].payload_types[0]); in TEST_F()
|
/external/webrtc/media/base/ |
D | rid_description.cc | 24 payload_types == other.payload_types && in operator ==()
|
D | rid_description.h | 78 std::vector<int> payload_types; member
|
/external/webrtc/call/ |
D | rtp_demuxer_unittest.cc | 204 pt1_pt2.payload_types = {pt1, pt2}; in TEST_F() 210 pt1_pt3.payload_types = {pt1, pt3}; in TEST_F() 283 pt1_pt2.payload_types = {pt1, pt2}; in TEST_F() 288 pt2_pt1.payload_types = {pt2, pt1}; in TEST_F() 370 criteria.payload_types = {payload_type}; in TEST_F() 969 mid1_pt.payload_types = {payload_type}; in TEST_F() 975 mid2_pt.payload_types = {payload_type}; in TEST_F() 997 mid1_pt.payload_types = {payload_type}; in TEST_F() 1003 mid2_pt.payload_types = {payload_type}; in TEST_F() 1023 pt.payload_types = {payload_type}; in TEST_F() [all …]
|
D | rtp_demuxer.cc | 67 for (auto pt : payload_types) { in ToString() 106 RTC_DCHECK(!criteria.payload_types.empty() || !criteria.ssrcs.empty() || in AddSink() 138 for (uint8_t payload_type : criteria.payload_types) { in AddSink()
|
D | rtp_demuxer.h | 45 std::set<uint8_t> payload_types; member
|
/external/webrtc/test/peer_scenario/ |
D | scenario_connection.cc | 178 criteria.payload_types.insert(codec.id); in SetRemoteSdp() 184 criteria.payload_types.insert(codec.id); in SetRemoteSdp()
|
/external/webrtc/media/engine/ |
D | webrtc_voice_engine.cc | 142 std::vector<int> payload_types; in VerifyUniquePayloadTypes() local 143 absl::c_transform(codecs, std::back_inserter(payload_types), in VerifyUniquePayloadTypes() 145 absl::c_sort(payload_types); in VerifyUniquePayloadTypes() 146 return absl::c_adjacent_find(payload_types) == payload_types.end(); in VerifyUniquePayloadTypes()
|