Home
last modified time | relevance | path

Searched refs:nalus (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_h264_unittest.cc98 rtc::Buffer CreateFrame(rtc::ArrayView<const rtc::Buffer> nalus) { in CreateFrame() argument
101 for (const rtc::Buffer& nalu : nalus) { in CreateFrame()
106 for (const rtc::Buffer& nalu : nalus) { in CreateFrame()
148 rtc::Buffer nalus[] = {GenerateNalUnit(kMaxPayloadSize), in TEST_P() local
150 rtc::Buffer frame = CreateFrame(nalus); in TEST_P()
156 EXPECT_THAT(packets[0].payload(), ElementsAreArray(nalus[0])); in TEST_P()
157 EXPECT_THAT(packets[1].payload(), ElementsAreArray(nalus[1])); in TEST_P()
165 rtc::Buffer nalus[] = {GenerateNalUnit(/*size=*/195), in TEST_P() local
168 rtc::Buffer frame = CreateFrame(nalus); in TEST_P()
174 EXPECT_THAT(packets[0].payload(), ElementsAreArray(nalus[0])); in TEST_P()
[all …]
Dvideo_rtp_depacketizer_h264_unittest.cc136 EXPECT_EQ(h264.nalus[i].type, kExpectedNalus[i].type) in TEST()
138 EXPECT_EQ(h264.nalus[i].sps_id, kExpectedNalus[i].sps_id) in TEST()
140 EXPECT_EQ(h264.nalus[i].pps_id, kExpectedNalus[i].pps_id) in TEST()
337 EXPECT_EQ(h264.nalus[0].type, static_cast<H264::NaluType>(kIdr)); in TEST()
338 EXPECT_EQ(h264.nalus[0].sps_id, -1); in TEST()
339 EXPECT_EQ(h264.nalus[0].pps_id, 0); in TEST()
425 EXPECT_EQ(h264.nalus[0].type, static_cast<H264::NaluType>(kSei)); in TEST()
426 EXPECT_EQ(h264.nalus[0].sps_id, -1); in TEST()
427 EXPECT_EQ(h264.nalus[0].pps_id, -1); in TEST()
Dvideo_rtp_depacketizer_h264.cc230 h264_header.nalus[h264_header.nalus_length++] = nalu; in ProcessStapAOrSingleNalu()
289 h264_header.nalus[h264_header.nalus_length] = nalu; in ParseFuaNalu()
/external/webrtc/modules/video_coding/
Dpacket_buffer_unittest.cc416 h264_header.nalus[0].type = H264::NaluType::kSps;
417 h264_header.nalus[1].type = H264::NaluType::kPps;
418 h264_header.nalus[2].type = H264::NaluType::kIdr;
421 h264_header.nalus[0].type = H264::NaluType::kIdr;
455 h264_header.nalus[0].type = H264::NaluType::kAud;
522 h264_header.nalus[0].type = H264::NaluType::kIdr; in TEST_P()
811 h264_header.nalus[0].type = H264::NaluType::kIdr; in TEST_F()
821 h264_header.nalus[0].type = H264::NaluType::kSps; in TEST_F()
822 h264_header.nalus[1].type = H264::NaluType::kPps; in TEST_F()
823 h264_header.nalus[2].type = H264::NaluType::kIdr; in TEST_F()
[all …]
Djitter_buffer_unittest.cc909 h264_header.nalus[0].type = H264::NaluType::kIdr; in TEST_F()
910 h264_header.nalus[0].sps_id = -1; in TEST_F()
911 h264_header.nalus[0].pps_id = 0; in TEST_F()
928 h264_header.nalus[0].type = H264::NaluType::kSps; in TEST_F()
929 h264_header.nalus[0].sps_id = 0; in TEST_F()
930 h264_header.nalus[0].pps_id = -1; in TEST_F()
931 h264_header.nalus[1].type = H264::NaluType::kPps; in TEST_F()
932 h264_header.nalus[1].sps_id = 0; in TEST_F()
933 h264_header.nalus[1].pps_id = 0; in TEST_F()
946 h264_header.nalus[0].type = H264::NaluType::kIdr; in TEST_F()
[all …]
Dh264_sps_pps_tracker_unittest.cc44 for (const auto& nalu : codec_header.nalus) { in ExpectSpsPpsIdr()
91 header->h264().nalus[header->h264().nalus_length++] = info; in AddSps()
105 header->h264().nalus[header->h264().nalus_length++] = info; in AddPps()
114 header->h264().nalus[header->h264().nalus_length++] = info; in AddIdr()
Dh264_sps_pps_tracker.cc62 const NaluInfo& nalu = h264_header.nalus[i]; in CopyAndFixBitstream()
173 h264_header.nalus[h264_header.nalus_length++] = sps_info; in CopyAndFixBitstream()
174 h264_header.nalus[h264_header.nalus_length++] = pps_info; in CopyAndFixBitstream()
Dpacket_buffer.cc293 if (h264_header->nalus[j].type == H264::NaluType::kSps) { in FindFrames()
295 } else if (h264_header->nalus[j].type == H264::NaluType::kPps) { in FindFrames()
297 } else if (h264_header->nalus[j].type == H264::NaluType::kIdr) { in FindFrames()
Ddecoding_state.h67 bool HaveSpsAndPps(const std::vector<NaluInfo>& nalus) const;
Ddecoding_state.cc320 bool VCMDecodingState::HaveSpsAndPps(const std::vector<NaluInfo>& nalus) const { in HaveSpsAndPps()
323 for (const NaluInfo& nalu : nalus) { in HaveSpsAndPps()
Dsession_info.cc144 nalu_infos.push_back(h264.nalus[i]); in GetNaluInfos()
/external/webrtc/modules/video_coding/codecs/h264/include/
Dh264_globals.h76 NaluInfo nalus[kMaxNalusPerPacket]; member
/external/webrtc/video/
Drtp_video_stream_receiver2_unittest.cc207 h264.nalus[h264.nalus_length++] = info; in AddSps()
220 h264.nalus[h264.nalus_length++] = info; in AddPps()
229 h264.nalus[h264.nalus_length++] = info; in AddIdr()
Drtp_video_stream_receiver_unittest.cc205 h264.nalus[h264.nalus_length++] = info; in AddSps()
218 h264.nalus[h264.nalus_length++] = info; in AddPps()
227 h264.nalus[h264.nalus_length++] = info; in AddIdr()