Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc100 int padding_bytes_in_packet = max_length; in PaddingPacket() local
102 padding_bytes_in_packet = (bytes + 16) & 0xffe0; // Keep our modulus 32. in PaddingPacket()
112 for (int j = 0; j < (padding_bytes_in_packet >> 2); j++) { in PaddingPacket()
116 buffer[header_length + padding_bytes_in_packet - 1] = in PaddingPacket()
117 padding_bytes_in_packet; in PaddingPacket()
118 return padding_bytes_in_packet + header_length; in PaddingPacket()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_sender.cc487 int padding_bytes_in_packet = kMaxPaddingLength; in BuildPaddingPacket() local
489 padding_bytes_in_packet = bytes; in BuildPaddingPacket()
496 for (int j = 0; j < (padding_bytes_in_packet >> 2); ++j) { in BuildPaddingPacket()
500 packet[header_length + padding_bytes_in_packet - 1] = padding_bytes_in_packet; in BuildPaddingPacket()
501 return padding_bytes_in_packet; in BuildPaddingPacket()
524 int padding_bytes_in_packet = 0; in SendPadData() local
526 for (; bytes > 0; bytes -= padding_bytes_in_packet) { in SendPadData()
572 padding_bytes_in_packet = in SendPadData()
574 int length = padding_bytes_in_packet + header_length; in SendPadData()
589 bytes_sent += padding_bytes_in_packet; in SendPadData()