Home
last modified time | relevance | path

Searched refs:NaluType (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Dvideo_rtp_depacketizer_h264.cc87 if (nal_type == H264::NaluType::kStapA) { in ProcessStapAOrSingleNalu()
127 case H264::NaluType::kSps: { in ProcessStapAOrSingleNalu()
183 case H264::NaluType::kPps: { in ProcessStapAOrSingleNalu()
197 case H264::NaluType::kIdr: in ProcessStapAOrSingleNalu()
201 case H264::NaluType::kSlice: { in ProcessStapAOrSingleNalu()
213 case H264::NaluType::kAud: in ProcessStapAOrSingleNalu()
214 case H264::NaluType::kEndOfSequence: in ProcessStapAOrSingleNalu()
215 case H264::NaluType::kEndOfStream: in ProcessStapAOrSingleNalu()
216 case H264::NaluType::kFiller: in ProcessStapAOrSingleNalu()
217 case H264::NaluType::kSei: in ProcessStapAOrSingleNalu()
[all …]
Drtp_format_h264.cc270 buffer[0] = (packet->header & (kFBit | kNriMask)) | H264::NaluType::kStapA; in NextAggregatePacket()
299 (packet->header & (kFBit | kNriMask)) | H264::NaluType::kFuA; in NextFragmentPacket()
Dvideo_rtp_depacketizer_h264_unittest.cc337 EXPECT_EQ(h264.nalus[0].type, static_cast<H264::NaluType>(kIdr)); in TEST()
425 EXPECT_EQ(h264.nalus[0].type, static_cast<H264::NaluType>(kSei)); in TEST()
/external/webrtc/modules/video_coding/
Dh264_sps_pps_tracker_unittest.cc45 if (nalu.type == H264::NaluType::kSps) { in ExpectSpsPpsIdr()
48 } else if (nalu.type == H264::NaluType::kPps) { in ExpectSpsPpsIdr()
52 } else if (nalu.type == H264::NaluType::kIdr) { in ExpectSpsPpsIdr()
85 info.type = H264::NaluType::kSps; in AddSps()
88 data->push_back(H264::NaluType::kSps); in AddSps()
99 info.type = H264::NaluType::kPps; in AddPps()
102 data->push_back(H264::NaluType::kPps); in AddPps()
110 info.type = H264::NaluType::kIdr; in AddIdr()
269 expected.insert(expected.end(), {H264::NaluType::kSps, 13}); in TEST_F()
271 expected.insert(expected.end(), {H264::NaluType::kPps, 27}); in TEST_F()
Dh264_sps_pps_tracker.cc64 case H264::NaluType::kSps: { in CopyAndFixBitstream()
70 case H264::NaluType::kPps: { in CopyAndFixBitstream()
74 case H264::NaluType::kIdr: { in CopyAndFixBitstream()
165 sps_info.type = H264::NaluType::kSps; in CopyAndFixBitstream()
169 pps_info.type = H264::NaluType::kPps; in CopyAndFixBitstream()
218 if ((sps[0] & 0x1f) != H264::NaluType::kSps) { in InsertSpsPpsNalus()
227 if ((pps[0] & 0x1f) != H264::NaluType::kPps) { in InsertSpsPpsNalus()
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 …]
Ddecoding_state.cc82 if (nalu.type == H264::NaluType::kPps) { in SetState()
90 } else if (nalu.type == H264::NaluType::kSps) { in SetState()
328 case H264::NaluType::kPps: in HaveSpsAndPps()
337 case H264::NaluType::kSps: in HaveSpsAndPps()
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()
Djitter_buffer_unittest.cc908 h264_header.nalu_type = H264::NaluType::kIdr; in TEST_F()
909 h264_header.nalus[0].type = H264::NaluType::kIdr; in TEST_F()
927 h264_header.nalu_type = H264::NaluType::kStapA; in TEST_F()
928 h264_header.nalus[0].type = H264::NaluType::kSps; in TEST_F()
931 h264_header.nalus[1].type = H264::NaluType::kPps; in TEST_F()
945 h264_header.nalu_type = H264::NaluType::kIdr; in TEST_F()
946 h264_header.nalus[0].type = H264::NaluType::kIdr; in TEST_F()
966 h264_header.nalu_type = H264::NaluType::kSlice; in TEST_F()
967 h264_header.nalus[0].type = H264::NaluType::kSlice; in TEST_F()
/external/webrtc/common_video/h264/
Dh264_bitstream_parser.cc59 bool is_idr = (source[0] & 0x0F) == H264::NaluType::kIdr; in ParseNonParameterSetNalu()
272 H264::NaluType nalu_type = H264::ParseNaluType(slice[0]); in ParseSlice()
274 case H264::NaluType::kSps: { in ParseSlice()
281 case H264::NaluType::kPps: { in ParseSlice()
288 case H264::NaluType::kAud: in ParseSlice()
289 case H264::NaluType::kSei: in ParseSlice()
Dh264_common.h35 enum NaluType : uint8_t { enum
65 NaluType ParseNaluType(uint8_t data);
Dh264_common.cc65 NaluType ParseNaluType(uint8_t data) { in ParseNaluType()
66 return static_cast<NaluType>(data & kNaluTypeMask); in ParseNaluType()
Dsps_vui_rewriter_unittest.cc39 static const uint8_t kSpsNaluType[] = {H264::NaluType::kSps};
40 static const uint8_t kIdr1[] = {H264::NaluType::kIdr, 0xFF, 0x00, 0x00, 0x04};
41 static const uint8_t kIdr2[] = {H264::NaluType::kIdr, 0xFF, 0x00, 0x11};
Dsps_vui_rewriter.cc240 if (H264::ParseNaluType(nalu_ptr[0]) == H264::NaluType::kSps) { in ParseOutgoingBitstreamAndRewriteSps()
/external/webrtc/sdk/objc/components/video_codec/
Dnalu_rewriter.h80 bool SeekToNextNaluOfType(H264::NaluType type);
Dnalu_rewriter.cc26 using H264::NaluType;
318 bool AnnexBBufferReader::SeekToNextNaluOfType(NaluType type) { in SeekToNextNaluOfType()
/external/webrtc/modules/video_coding/codecs/test/
Dvideocodec_test_fixture_impl.cc326 webrtc::H264::NaluType nalu_type = webrtc::H264::ParseNaluType( in CheckEncodedFrame()
328 if (nalu_type == webrtc::H264::NaluType::kSps) { in CheckEncodedFrame()
330 } else if (nalu_type == webrtc::H264::NaluType::kPps) { in CheckEncodedFrame()
332 } else if (nalu_type == webrtc::H264::NaluType::kIdr) { in CheckEncodedFrame()
/external/webrtc/video/
Drtp_video_stream_receiver2_unittest.cc202 info.type = H264::NaluType::kSps; in AddSps()
205 data->AppendData({H264::NaluType::kSps, sps_id}); in AddSps()
215 info.type = H264::NaluType::kPps; in AddPps()
218 data->AppendData({H264::NaluType::kPps, pps_id}); in AddPps()
225 info.type = H264::NaluType::kIdr; in AddIdr()
Drtp_video_stream_receiver_unittest.cc200 info.type = H264::NaluType::kSps; in AddSps()
203 data->AppendData({H264::NaluType::kSps, sps_id}); in AddSps()
213 info.type = H264::NaluType::kPps; in AddPps()
216 data->AppendData({H264::NaluType::kPps, pps_id}); in AddPps()
223 info.type = H264::NaluType::kIdr; in AddIdr()
Dframe_encode_metadata_writer_unittest.cc510 uint8_t original_sps[] = {0, 0, 0, 1, H264::NaluType::kSps, in TEST()
513 const uint8_t kRewrittenSps[] = {0, 0, 0, 1, H264::NaluType::kSps, in TEST()
Dvideo_stream_encoder_unittest.cc91 uint8_t optimal_sps[] = {0, 0, 0, 1, H264::NaluType::kSps,
5460 uint8_t original_sps[] = {0, 0, 0, 1, H264::NaluType::kSps, in TEST_F()