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.cc102 int padding_bytes_in_packet = max_length; in PaddingPacket() local
104 padding_bytes_in_packet = (bytes + 16) & 0xffe0; // Keep our modulus 32. in PaddingPacket()
114 for (int 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/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_sender.cc508 int padding_bytes_in_packet = kMaxPaddingLength; in BuildPaddingPacket() local
510 padding_bytes_in_packet = bytes; in BuildPaddingPacket()
517 for (int j = 0; j < (padding_bytes_in_packet >> 2); ++j) { in BuildPaddingPacket()
521 packet[header_length + padding_bytes_in_packet - 1] = padding_bytes_in_packet; in BuildPaddingPacket()
522 return padding_bytes_in_packet; in BuildPaddingPacket()
533 int padding_bytes_in_packet = 0; in SendPadData() local
535 for (; bytes > 0; bytes -= padding_bytes_in_packet) { in SendPadData()
573 padding_bytes_in_packet = BuildPaddingPacket(padding_packet, header_length, in SendPadData()
575 if (0 > SendToNetwork(padding_packet, padding_bytes_in_packet, in SendPadData()
581 bytes_sent += padding_bytes_in_packet; in SendPadData()