Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dbye.cc41 if (header.payload_size_bytes < 4u * src_count) { in Parse()
46 bool has_reason = (header.payload_size_bytes > 4u * src_count); in Parse()
50 if (header.payload_size_bytes - 4u * src_count < 1u + reason_length) { in Parse()
Dnack.cc52 if (header.payload_size_bytes < kCommonFeedbackLength + kNackItemLength) { in Parse()
53 LOG(LS_WARNING) << "Payload length " << header.payload_size_bytes in Parse()
58 (header.payload_size_bytes - kCommonFeedbackLength) / kNackItemLength; in Parse()
Dreceiver_report.cc40 if (header.payload_size_bytes < in Parse()
56 RTC_DCHECK_LE(next_report_block, payload + header.payload_size_bytes); in Parse()
Dsli.cc65 if (header.payload_size_bytes < in Parse()
72 (header.payload_size_bytes - kCommonFeedbackLength) / in Parse()
Dbye_unittest.cc136 header.payload_size_bytes = 0; in TEST_F()
166 header.payload_size_bytes -= 4; // Payload is usually 32bit aligned. in TEST_F()
Dpli.cc44 if (header.payload_size_bytes < kCommonFeedbackLength) { in Parse()
Dpli_unittest.cc58 header.payload_size_bytes--; in TEST()
Dextended_jitter_report.cc49 if (header.payload_size_bytes < jitters_count * kJitterSizeBytes) { in Parse()
Dapp.cc41 data_.SetData(&payload[8], header.payload_size_bytes - 8); in Parse()
Dnack_unittest.cc183 header.payload_size_bytes--; // Damage the packet in TEST()
Dtransport_feedback.cc690 const size_t end_index = kHeaderLength + header.payload_size_bytes; in ParseFrom()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_utility.h322 payload_size_bytes(0), in RtcpCommonHeader()
326 return kHeaderSizeBytes + payload_size_bytes + padding_bytes; in BlockSize()
332 uint32_t payload_size_bytes; member
Drtcp_utility_unittest.cc136 EXPECT_EQ(0u, header.payload_size_bytes); in TEST_F()
142 EXPECT_EQ(1u, header.payload_size_bytes); in TEST_F()
Drtcp_utility.cc526 parsed_header->payload_size_bytes = payload_size; in RtcpParseCommonHeader()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpacket_buffer_unittest.cc31 Packet* NextPacket(int payload_size_bytes);
52 Packet* PacketGenerator::NextPacket(int payload_size_bytes) { in NextPacket() argument
61 packet->payload_length = payload_size_bytes; in NextPacket()
63 packet->payload = new uint8_t[payload_size_bytes]; in NextPacket()
Dpayload_splitter_unittest.cc528 size_t payload_size_bytes = payload_size_ms * bytes_per_ms_; in TEST_P() local
529 packet_list.push_back(CreatePacket(kPayloadType, payload_size_bytes, in TEST_P()