Home
last modified time | relevance | path

Searched refs:padding_bytes_in_packet (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc103 size_t padding_bytes_in_packet = max_length; in PaddingPacket() local
105 padding_bytes_in_packet = (bytes + 16) & 0xffe0; // Keep our modulus 32. in PaddingPacket()
114 for (size_t j = 0; j < (padding_bytes_in_packet >> 2); j++) { in PaddingPacket()
118 buffer[header_length + padding_bytes_in_packet - 1] = in PaddingPacket()
119 padding_bytes_in_packet; in PaddingPacket()
120 return padding_bytes_in_packet + header_length; in PaddingPacket()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_sender.cc611 size_t padding_bytes_in_packet = in SendPadData() local
617 for (; bytes > 0; bytes -= padding_bytes_in_packet) { in SendPadData()
618 if (bytes < padding_bytes_in_packet) in SendPadData()
619 bytes = padding_bytes_in_packet; in SendPadData()
667 BuildPaddingPacket(padding_packet, header_length, padding_bytes_in_packet); in SendPadData()
668 size_t length = padding_bytes_in_packet + header_length; in SendPadData()
695 bytes_sent += padding_bytes_in_packet; in SendPadData()