Home
last modified time | relevance | path

Searched refs:payload_sizes (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_unittest.cc54 std::vector<int> payload_sizes = RtpPacketizer::SplitAboutEqually(13, limits); in TEST() local
56 EXPECT_THAT(Sum(payload_sizes), 13); in TEST()
64 std::vector<int> payload_sizes = RtpPacketizer::SplitAboutEqually(13, limits); in TEST() local
66 EXPECT_THAT(payload_sizes, Each(Le(limits.max_payload_len))); in TEST()
75 std::vector<int> payload_sizes = RtpPacketizer::SplitAboutEqually(13, limits); in TEST() local
77 ASSERT_THAT(payload_sizes, Not(IsEmpty())); in TEST()
78 EXPECT_EQ(payload_sizes.front() + limits.first_packet_reduction_len, in TEST()
88 std::vector<int> payload_sizes = RtpPacketizer::SplitAboutEqually(13, limits); in TEST() local
90 ASSERT_THAT(payload_sizes, Not(IsEmpty())); in TEST()
91 EXPECT_LE(payload_sizes.back() + limits.last_packet_reduction_len, in TEST()
[all …]
Drtp_format_video_generic_unittest.cc53 std::vector<int> payload_sizes = NextPacketFillPayloadSizes(&packetizer); in TEST() local
55 EXPECT_THAT(payload_sizes, Each(Le(limits.max_payload_len))); in TEST()
66 std::vector<int> payload_sizes = NextPacketFillPayloadSizes(&packetizer); in TEST() local
70 EXPECT_THAT(payload_sizes, Contains(limits.max_payload_len)); in TEST()
105 std::vector<int> payload_sizes = NextPacketFillPayloadSizes(&packetizer); in TEST() local
107 EXPECT_THAT(payload_sizes, Each(Le(limits.max_payload_len))); in TEST()
120 std::vector<int> payload_sizes = NextPacketFillPayloadSizes(&packetizer); in TEST() local
124 EXPECT_THAT(payload_sizes, Contains(limits.max_payload_len)); in TEST()
Drtp_format_h264.cc140 std::vector<int> payload_sizes = SplitAboutEqually(payload_left, limits); in PacketizeFuA() local
141 if (payload_sizes.empty()) in PacketizeFuA()
144 for (size_t i = 0; i < payload_sizes.size(); ++i) { in PacketizeFuA()
145 int packet_length = payload_sizes[i]; in PacketizeFuA()
149 /*last_fragment=*/i == payload_sizes.size() - 1, in PacketizeFuA()
154 num_packets_left_ += payload_sizes.size(); in PacketizeFuA()
Drtp_format_h264_unittest.cc420 std::vector<int> payload_sizes; in TestFua() local
426 payload_sizes.push_back(payload.size() - kFuAHeaderSize); in TestFua()
436 return payload_sizes; in TestFua()