Home
last modified time | relevance | path

Searched refs:payload_data (Results 1 – 25 of 37) sorted by relevance

12

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_h264.cc61 const uint8_t* payload_data, in ParseSingleNalu() argument
70 const uint8_t* nalu_start = payload_data + kNalHeaderSize; in ParseSingleNalu()
72 uint8_t nal_type = payload_data[0] & kTypeMask; in ParseSingleNalu()
84 nal_type = payload_data[kStapAHeaderSize] & kTypeMask; in ParseSingleNalu()
115 const uint8_t* payload_data, in ParseFuaNalu() argument
122 uint8_t fnri = payload_data[0] & (kFBit | kNriMask); in ParseFuaNalu()
123 uint8_t original_nal_type = payload_data[1] & kTypeMask; in ParseFuaNalu()
124 bool first_fragment = (payload_data[1] & kSBit) > 0; in ParseFuaNalu()
129 uint8_t* payload = const_cast<uint8_t*>(payload_data + *offset); in ParseFuaNalu()
163 const uint8_t* payload_data, in SetPayloadData() argument
[all …]
Drtp_receiver_audio.cc281 const uint8_t* payload_data, in ParseAudioCodecSpecific() argument
312 bool end = (payload_data[(4 * n) + 1] & 0x80) ? true : false; in ParseAudioCodecSpecific()
315 telephone_event_reported_.find(payload_data[4 * n]); in ParseAudioCodecSpecific()
320 telephone_event_reported_.erase(payload_data[4 * n]); in ParseAudioCodecSpecific()
326 telephone_event_reported_.insert(payload_data[4 * n]); in ParseAudioCodecSpecific()
372 if (is_red && !(payload_data[0] & 0x80)) { in ParseAudioCodecSpecific()
374 rtp_header->header.payloadType = payload_data[0]; in ParseAudioCodecSpecific()
378 payload_data + 1, payload_length - 1, rtp_header); in ParseAudioCodecSpecific()
383 payload_data, payload_length, rtp_header); in ParseAudioCodecSpecific()
Drtp_format_video_generic.cc33 const uint8_t* payload_data, in SetPayloadData() argument
36 payload_data_ = payload_data; in SetPayloadData()
91 const uint8_t* payload_data, in Parse() argument
99 uint8_t generic_header = *payload_data++; in Parse()
112 parsed_payload->payload = payload_data; in Parse()
Drtp_format_vp8.cc184 const uint8_t* payload_data, in SetPayloadData() argument
187 payload_data_ = payload_data; in SetPayloadData()
668 const uint8_t* payload_data, in Parse() argument
677 bool extension = (*payload_data & 0x80) ? true : false; // X bit in Parse()
678 bool beginning_of_partition = (*payload_data & 0x10) ? true : false; // S bit in Parse()
679 int partition_id = (*payload_data & 0x0F); // PartID field in Parse()
688 (*payload_data & 0x20) ? true : false; // N bit in Parse()
704 payload_data++; in Parse()
714 payload_data, in Parse()
718 payload_data += parsed_bytes; in Parse()
[all …]
Drtp_format_vp8_unittest.cc107 packetizer.SetPayloadData(helper_->payload_data(), in TEST_F()
138 packetizer.SetPayloadData(helper_->payload_data(), helper_->payload_size(), in TEST_F()
161 packetizer.SetPayloadData(helper_->payload_data(), in TEST_F()
188 packetizer.SetPayloadData(helper_->payload_data(), in TEST_F()
215 packetizer.SetPayloadData(helper_->payload_data(), in TEST_F()
242 packetizer.SetPayloadData(helper_->payload_data(), in TEST_F()
271 helper_->payload_data(), helper_->payload_size(), NULL); in TEST_F()
300 helper_->payload_data(), helper_->payload_size(), NULL); in TEST_F()
331 packetizer.SetPayloadData(helper_->payload_data(), in TEST_F()
360 packetizer.SetPayloadData(helper_->payload_data(), in TEST_F()
[all …]
Drtp_format.h31 virtual void SetPayloadData(const uint8_t* payload_data,
68 const uint8_t* payload_data,
Drtp_format_video_generic.h33 void SetPayloadData(const uint8_t* payload_data,
71 const uint8_t* payload_data,
Dnack_rtx_unittest.cc174 payload_data_length(sizeof(payload_data)), in RtpRtcpRtxNackTest()
216 payload_data[n] = n % 10; in SetUp()
266 timestamp / 90, payload_data, payload_data_length)); in RunRtxTest()
289 uint8_t payload_data[65000]; member in webrtc::RtpRtcpRtxNackTest
311 timestamp / 90, payload_data, payload_data_length)); in TEST_F()
Drtp_format_h264.h29 void SetPayloadData(const uint8_t* payload_data,
97 const uint8_t* payload_data,
Drtp_format_vp8.h63 void SetPayloadData(const uint8_t* payload_data,
224 const uint8_t* payload_data,
Drtp_sender_unittest.cc939 const uint8_t* payload_data = in TEST_F() local
941 uint8_t generic_header = *payload_data++; in TEST_F()
949 EXPECT_EQ(0, memcmp(payload, payload_data, sizeof(payload))); in TEST_F()
964 payload_data = GetPayloadData(rtp_header, transport_.last_sent_packet_); in TEST_F()
965 generic_header = *payload_data++; in TEST_F()
973 EXPECT_EQ(0, memcmp(payload, payload_data, sizeof(payload))); in TEST_F()
1222 const uint8_t* payload_data = in TEST_F() local
1228 EXPECT_EQ(0, memcmp(payload, payload_data, sizeof(payload))); in TEST_F()
1251 const uint8_t* payload_data = in TEST_F() local
1257 EXPECT_EQ(0, memcmp(payload, payload_data, sizeof(payload))); in TEST_F()
[all …]
Drtp_format_vp8_test_helper.h41 uint8_t* payload_data() const { return payload_data_; } in payload_data() function
Drtp_receiver_audio.h98 const uint8_t* payload_data,
/external/webrtc/webrtc/modules/video_coding/test/
Dreceiver_tests.h31 const uint8_t* payload_data, in OnReceivedPayloadData() argument
34 return vcm_->IncomingPacket(payload_data, payload_size, *rtp_header); in OnReceivedPayloadData()
Dvcm_payload_sink_factory.cc48 int32_t OnReceivedPayloadData(const uint8_t* payload_data, in OnReceivedPayloadData() argument
51 return vcm_->IncomingPacket(payload_data, payload_size, *rtp_header); in OnReceivedPayloadData()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_send_test_oldapi.cc112 const uint8_t* payload_data, in SendData() argument
119 last_payload_vec_.assign(payload_data, payload_data + payload_len_bytes); in SendData()
Dacm_send_test_oldapi.h56 const uint8_t* payload_data,
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api.h58 const uint8_t* payload_data,
62 const uint8_t* payload_data() const { return payload_data_; } in payload_data() function
Dtest_api.cc70 const uint8_t* payload_data, in OnReceivedPayloadData() argument
74 memcpy(payload_data_, payload_data, payload_size); in OnReceivedPayloadData()
/external/webrtc/webrtc/video/
Dpayload_router.cc55 const uint8_t* payload_data, in RoutePayload() argument
73 frame_type, payload_type, time_stamp, capture_time_ms, payload_data, in RoutePayload()
Dpayload_router.h53 const uint8_t* payload_data,
/external/libnl/lib/netfilter/
Dqueue_msg.c226 const void *payload_data, unsigned payload_len) in nfnl_queue_msg_send_verdict_payload() argument
249 iov[2].iov_base = (void *) payload_data; in nfnl_queue_msg_send_verdict_payload()
/external/webrtc/webrtc/modules/audio_coding/test/
DTestAllCodecs.h34 const uint8_t* payload_data,
DTestStereo.h41 const uint8_t* payload_data,
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPencode.cc120 size_t makeDTMFpayload(unsigned char* payload_data,
1804 size_t makeDTMFpayload(unsigned char* payload_data, in makeDTMFpayload() argument
1817 payload_data[0] = (unsigned char)Event; in makeDTMFpayload()
1818 payload_data[1] = (unsigned char)(E | R | V); in makeDTMFpayload()
1820 payload_data[2] = (unsigned char)((Duration >> 8) & 0xFF); in makeDTMFpayload()
1821 payload_data[3] = (unsigned char)(Duration & 0xFF); in makeDTMFpayload()

12