Home
last modified time | relevance | path

Searched refs:parsed_payload (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_h264.cc60 bool ParseSingleNalu(RtpDepacketizer::ParsedPayload* parsed_payload, in ParseSingleNalu() argument
63 parsed_payload->type.Video.width = 0; in ParseSingleNalu()
64 parsed_payload->type.Video.height = 0; in ParseSingleNalu()
65 parsed_payload->type.Video.codec = kRtpVideoH264; in ParseSingleNalu()
66 parsed_payload->type.Video.isFirstPacket = true; in ParseSingleNalu()
68 &parsed_payload->type.Video.codecHeader.H264; in ParseSingleNalu()
97 parsed_payload->type.Video.width = parser.width(); in ParseSingleNalu()
98 parsed_payload->type.Video.height = parser.height(); in ParseSingleNalu()
105 parsed_payload->frame_type = kVideoFrameKey; in ParseSingleNalu()
108 parsed_payload->frame_type = kVideoFrameDelta; in ParseSingleNalu()
[all …]
Drtp_format_video_generic.cc90 bool RtpDepacketizerGeneric::Parse(ParsedPayload* parsed_payload, in Parse() argument
93 assert(parsed_payload != NULL); in Parse()
102 parsed_payload->frame_type = in Parse()
106 parsed_payload->type.Video.isFirstPacket = in Parse()
108 parsed_payload->type.Video.codec = kRtpVideoGeneric; in Parse()
109 parsed_payload->type.Video.width = 0; in Parse()
110 parsed_payload->type.Video.height = 0; in Parse()
112 parsed_payload->payload = payload_data; in Parse()
113 parsed_payload->payload_length = payload_data_length; in Parse()
Drtp_format_vp8.cc123 int ParseVP8FrameSize(RtpDepacketizer::ParsedPayload* parsed_payload, in ParseVP8FrameSize() argument
126 assert(parsed_payload != NULL); in ParseVP8FrameSize()
127 if (parsed_payload->frame_type != kVideoFrameKey) { in ParseVP8FrameSize()
136 parsed_payload->type.Video.width = ((data[7] << 8) + data[6]) & 0x3FFF; in ParseVP8FrameSize()
137 parsed_payload->type.Video.height = ((data[9] << 8) + data[8]) & 0x3FFF; in ParseVP8FrameSize()
667 bool RtpDepacketizerVp8::Parse(ParsedPayload* parsed_payload, in Parse() argument
670 assert(parsed_payload != NULL); in Parse()
681 parsed_payload->type.Video.width = 0; in Parse()
682 parsed_payload->type.Video.height = 0; in Parse()
683 parsed_payload->type.Video.isFirstPacket = in Parse()
[all …]
Drtp_receiver_video.cc82 RtpDepacketizer::ParsedPayload parsed_payload; in ParseRtpPacket() local
83 if (!depacketizer->Parse(&parsed_payload, payload, payload_data_length)) in ParseRtpPacket()
86 rtp_header->frameType = parsed_payload.frame_type; in ParseRtpPacket()
87 rtp_header->type = parsed_payload.type; in ParseRtpPacket()
96 return data_callback_->OnReceivedPayloadData(parsed_payload.payload, in ParseRtpPacket()
97 parsed_payload.payload_length, in ParseRtpPacket()
Drtp_format_vp9.cc666 bool RtpDepacketizerVp9::Parse(ParsedPayload* parsed_payload, in Parse() argument
669 assert(parsed_payload != nullptr); in Parse()
688 parsed_payload->type.Video.width = 0; in Parse()
689 parsed_payload->type.Video.height = 0; in Parse()
690 parsed_payload->type.Video.simulcastIdx = 0; in Parse()
691 parsed_payload->type.Video.codec = kRtpVideoVp9; in Parse()
693 parsed_payload->frame_type = p_bit ? kVideoFrameDelta : kVideoFrameKey; in Parse()
695 RTPVideoHeaderVP9* vp9 = &parsed_payload->type.Video.codecHeader.VP9; in Parse()
724 parsed_payload->type.Video.width = vp9->width[0]; in Parse()
725 parsed_payload->type.Video.height = vp9->height[0]; in Parse()
[all …]
Drtp_format_vp8_unittest.cc414 void ExpectPacket(RtpDepacketizer::ParsedPayload* parsed_payload, in ExpectPacket() argument
417 ASSERT_TRUE(parsed_payload != NULL); in ExpectPacket()
419 parsed_payload->payload, in ExpectPacket()
420 parsed_payload->payload + parsed_payload->payload_length), in ExpectPacket()
Drtp_format_h264_unittest.cc387 void ExpectPacket(RtpDepacketizer::ParsedPayload* parsed_payload, in ExpectPacket() argument
390 ASSERT_TRUE(parsed_payload != NULL); in ExpectPacket()
392 parsed_payload->payload, in ExpectPacket()
393 parsed_payload->payload + parsed_payload->payload_length), in ExpectPacket()
Drtp_format.h67 virtual bool Parse(ParsedPayload* parsed_payload,
Drtp_format_video_generic.h70 bool Parse(ParsedPayload* parsed_payload,
Drtp_format_vp9.h102 bool Parse(ParsedPayload* parsed_payload,
Drtp_format_h264.h96 bool Parse(ParsedPayload* parsed_payload,
Drtp_format_vp8.h223 bool Parse(ParsedPayload* parsed_payload,
/external/webrtc/webrtc/test/
Dlayer_filtering_transport.cc67 RtpDepacketizer::ParsedPayload parsed_payload; in SendRtp() local
68 if (depacketizer->Parse(&parsed_payload, payload, payload_data_length)) { in SendRtp()
70 is_vp8 ? parsed_payload.type.Video.codecHeader.VP8.temporalIdx in SendRtp()
71 : parsed_payload.type.Video.codecHeader.VP9.temporal_idx); in SendRtp()
74 : parsed_payload.type.Video.codecHeader.VP9.spatial_idx); in SendRtp()
76 parsed_payload.type.Video.codecHeader.VP9.end_of_frame) { in SendRtp()
/external/webrtc/webrtc/test/fuzzers/
Dh264_depacketizer_fuzzer.cc15 RtpDepacketizer::ParsedPayload parsed_payload; in FuzzOneInput() local
16 depacketizer.Parse(&parsed_payload, data, size); in FuzzOneInput()
Dvp8_depacketizer_fuzzer.cc15 RtpDepacketizer::ParsedPayload parsed_payload; in FuzzOneInput() local
16 depacketizer.Parse(&parsed_payload, data, size); in FuzzOneInput()
Dvp9_depacketizer_fuzzer.cc15 RtpDepacketizer::ParsedPayload parsed_payload; in FuzzOneInput() local
16 depacketizer.Parse(&parsed_payload, data, size); in FuzzOneInput()