Home
last modified time | relevance | path

Searched refs:packetizer (Results 1 – 25 of 57) sorted by relevance

123

/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_video_generic_unittest.cc36 std::vector<int> NextPacketFillPayloadSizes(RtpPacketizerGeneric* packetizer) { in NextPacketFillPayloadSizes() argument
39 while (packetizer->NextPacket(&packet)) { in NextPacketFillPayloadSizes()
51 RtpPacketizerGeneric packetizer(kPayload, limits, RTPVideoHeader()); in TEST() local
53 std::vector<int> payload_sizes = NextPacketFillPayloadSizes(&packetizer); in TEST()
64 RtpPacketizerGeneric packetizer(kPayload, limits, RTPVideoHeader()); in TEST() local
66 std::vector<int> payload_sizes = NextPacketFillPayloadSizes(&packetizer); in TEST()
81 RtpPacketizerGeneric packetizer(kPayload, kNoSizeLimits, rtp_video_header); in TEST() local
84 ASSERT_TRUE(packetizer.NextPacket(&packet)); in TEST()
103 RtpPacketizerGeneric packetizer(kPayload, limits, rtp_video_header); in TEST() local
105 std::vector<int> payload_sizes = NextPacketFillPayloadSizes(&packetizer); in TEST()
[all …]
Drtp_format_vp8_unittest.cc32 RtpPacketizerVp8 packetizer(helper.payload(), limits, hdr_info); in TEST() local
35 helper.GetAllPacketsAndCheck(&packetizer, kExpectedSizes); in TEST()
47 RtpPacketizerVp8 packetizer(helper.payload(), limits, hdr_info); in TEST() local
55 helper.GetAllPacketsAndCheck(&packetizer, kExpectedSizes); in TEST()
67 RtpPacketizerVp8 packetizer(helper.payload(), limits, hdr_info); in TEST() local
70 helper.GetAllPacketsAndCheck(&packetizer, kExpectedSizes); in TEST()
82 RtpPacketizerVp8 packetizer(helper.payload(), kNoSizeLimits, hdr_info); in TEST() local
85 helper.GetAllPacketsAndCheck(&packetizer, kExpectedSizes); in TEST()
94 RtpPacketizerVp8 packetizer(helper.payload(), kNoSizeLimits, hdr_info); in TEST() local
97 helper.GetAllPacketsAndCheck(&packetizer, kExpectedSizes); in TEST()
[all …]
Drtp_format_h264_unittest.cc118 std::vector<RtpPacketToSend> FetchAllPackets(RtpPacketizerH264* packetizer) { in FetchAllPackets() argument
120 size_t num_packets = packetizer->NumPackets(); in FetchAllPackets()
123 while (packetizer->NextPacket(&packet)) { in FetchAllPackets()
138 RtpPacketizerH264 packetizer(frame, kNoLimits, GetParam()); in TEST_P() local
139 std::vector<RtpPacketToSend> packets = FetchAllPackets(&packetizer); in TEST_P()
152 RtpPacketizerH264 packetizer(frame, limits, GetParam()); in TEST_P() local
153 std::vector<RtpPacketToSend> packets = FetchAllPackets(&packetizer); in TEST_P()
170 RtpPacketizerH264 packetizer(frame, limits, GetParam()); in TEST_P() local
171 std::vector<RtpPacketToSend> packets = FetchAllPackets(&packetizer); in TEST_P()
189 RtpPacketizerH264 packetizer(frame, limits, GetParam()); in TEST_P() local
[all …]
Drtp_format_vp8_test_helper.cc57 RtpPacketizerVp8* packetizer, in GetAllPacketsAndCheck() argument
59 EXPECT_EQ(packetizer->NumPackets(), expected_sizes.size()); in GetAllPacketsAndCheck()
63 EXPECT_TRUE(packetizer->NextPacket(&packet)); in GetAllPacketsAndCheck()
Drtp_format_vp9_unittest.cc491 RtpPacketizerVp9 packetizer(kFrame, limits, vp9_header); in TEST_F() local
492 ASSERT_TRUE(packetizer.NextPacket(&packet)); in TEST_F()
494 ASSERT_TRUE(packetizer.NextPacket(&packet)); in TEST_F()
514 RtpPacketizerVp9 packetizer(kFrame, limits, vp9_header); in TEST_F() local
515 EXPECT_EQ(packetizer.NumPackets(), kMinNumberOfPackets); in TEST_F()
516 ASSERT_TRUE(packetizer.NextPacket(&packet)); in TEST_F()
518 ASSERT_TRUE(packetizer.NextPacket(&packet)); in TEST_F()
Dvideo_rtp_depacketizer_vp8_unittest.cc191 RtpPacketizerVp8 packetizer(data, /*limits=*/{}, input_header); in TEST() local
192 EXPECT_EQ(packetizer.NumPackets(), 1u); in TEST()
193 ASSERT_TRUE(packetizer.NextPacket(&packet)); in TEST()
Drtp_format_vp8_test_helper.h32 void GetAllPacketsAndCheck(RtpPacketizerVp8* packetizer,
Drtp_packetizer_av1_unittest.cc93 RtpPacketizerAv1 packetizer(payload, limits, frame_type); in Packetize() local
95 std::vector<RtpPayload> result(packetizer.NumPackets()); in Packetize()
97 EXPECT_TRUE(packetizer.NextPacket(&rtp_payload.rtp_packet)); in Packetize()
/external/webrtc/test/fuzzers/
Drtp_packetizer_av1_fuzzer.cc37 RtpPacketizerAv1 packetizer(fuzz_input.ReadByteArray(fuzz_input.BytesLeft()), in FuzzOneInput() local
40 size_t num_packets = packetizer.NumPackets(); in FuzzOneInput()
49 RTC_CHECK(packetizer.NextPacket(&rtp_packet)); in FuzzOneInput()
55 RTC_CHECK(packetizer.NextPacket(&rtp_packet)); in FuzzOneInput()
60 RTC_CHECK(packetizer.NextPacket(&rtp_packet)) in FuzzOneInput()
66 RTC_CHECK(packetizer.NextPacket(&rtp_packet)); in FuzzOneInput()
/external/openscreen/cast/streaming/
Drtp_packetizer_unittest.cc38 RtpPacketizer* packetizer() { return &packetizer_; } in packetizer() function in openscreen::cast::__anon66c5969f0111::RtpPacketizerTest
151 const int num_packets = packetizer()->ComputeNumberOfPackets(frame); in TEST_F()
169 const int num_packets = packetizer()->ComputeNumberOfPackets(frame); in TEST_F()
187 ASSERT_EQ(1, packetizer()->ComputeNumberOfPackets(frame)); in TEST_F()
197 const int num_packets = packetizer()->ComputeNumberOfPackets(frame); in TEST_F()
/external/llvm-project/llvm/test/CodeGen/Hexagon/
Dcext-valid-packet2.ll2 ; Check that the packetizer generates valid packets with constant
10 ; Check that the packetizer generates .new store for v60 which has BSB scheduling model.
Dpacketize-dccleana.mir1 # RUN: llc -march=hexagon -run-pass=hexagon-packetizer -o - %s | FileCheck %s
Dinvalid-dotnew-attempt.mir5 # Make sure that the packetizer does not attempt to newify the J2_jumpr
Dpostinc-baseoffset.mir1 # RUN: llc -march=hexagon -start-before hexagon-packetizer %s -o - | FileCheck %s
Dpacketize-nvstore.mir1 # RUN: llc -march=hexagon -start-before=hexagon-packetizer -o - %s | FileCheck %s
Dcext-valid-packet1.ll3 ; Check that the packetizer generates valid packets with constant
Dpacketize-vgather-slot01.mir1 …xagon -mcpu=hexagonv65 -mattr=+hvxv65,+hvx-length64b -run-pass=hexagon-packetizer -o - %s | FileCh…
Deh_save_restore.ll1 ; RUN: llc -O3 -march=hexagon -hexagon-small-data-threshold=0 -disable-packetizer < %s | FileCheck …
11 ; Disable the packetizer to avoid complications caused by potentially
Dtarget-flag-ext.mir1 # RUN: llc -march=hexagon -run-pass hexagon-packetizer -o - %s | FileCheck %s
Dpacketize-nvj-no-prune.mir1 # RUN: llc -march=hexagon -run-pass hexagon-packetizer %s -o - | FileCheck %s
Dpacketize-update-offset.mir1 # RUN: llc -march=hexagon -run-pass hexagon-packetizer %s -o - | FileCheck %s
Dvgather-packetize.mir1 # RUN: llc -march=hexagon -mcpu=hexagonv65 -start-before hexagon-packetizer -o - %s | FileCheck %s
Dpacketize-load-store-aliasing.mir1 # RUN: llc -march=hexagon -mcpu=hexagonv60 -run-pass hexagon-packetizer %s -o - | FileCheck %s
/external/llvm/test/CodeGen/Hexagon/
Dcext-valid-packet2.ll2 ; Check that the packetizer generates valid packets with constant
Dcext-valid-packet1.ll3 ; Check that the packetizer generates valid packets with constant

123