/external/webrtc/modules/rtp_rtcp/source/ |
D | video_rtp_depacketizer_h264.cc | 87 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 …]
|
D | rtp_format_h264.cc | 270 buffer[0] = (packet->header & (kFBit | kNriMask)) | H264::NaluType::kStapA; in NextAggregatePacket() 299 (packet->header & (kFBit | kNriMask)) | H264::NaluType::kFuA; in NextFragmentPacket()
|
D | video_rtp_depacketizer_h264_unittest.cc | 337 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/ |
D | h264_sps_pps_tracker_unittest.cc | 45 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()
|
D | h264_sps_pps_tracker.cc | 64 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()
|
D | packet_buffer_unittest.cc | 416 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 …]
|
D | decoding_state.cc | 82 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()
|
D | packet_buffer.cc | 293 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()
|
D | jitter_buffer_unittest.cc | 908 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/ |
D | h264_bitstream_parser.cc | 59 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()
|
D | h264_common.h | 35 enum NaluType : uint8_t { enum 65 NaluType ParseNaluType(uint8_t data);
|
D | h264_common.cc | 65 NaluType ParseNaluType(uint8_t data) { in ParseNaluType() 66 return static_cast<NaluType>(data & kNaluTypeMask); in ParseNaluType()
|
D | sps_vui_rewriter_unittest.cc | 39 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};
|
D | sps_vui_rewriter.cc | 240 if (H264::ParseNaluType(nalu_ptr[0]) == H264::NaluType::kSps) { in ParseOutgoingBitstreamAndRewriteSps()
|
/external/webrtc/sdk/objc/components/video_codec/ |
D | nalu_rewriter.h | 80 bool SeekToNextNaluOfType(H264::NaluType type);
|
D | nalu_rewriter.cc | 26 using H264::NaluType; 318 bool AnnexBBufferReader::SeekToNextNaluOfType(NaluType type) { in SeekToNextNaluOfType()
|
/external/webrtc/modules/video_coding/codecs/test/ |
D | videocodec_test_fixture_impl.cc | 326 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/ |
D | rtp_video_stream_receiver2_unittest.cc | 202 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()
|
D | rtp_video_stream_receiver_unittest.cc | 200 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()
|
D | frame_encode_metadata_writer_unittest.cc | 510 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()
|
D | video_stream_encoder_unittest.cc | 91 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()
|