Lines Matching refs:pad_packet_bytes
593 int pad_packet_bytes = 0;
658 pad_packet_bytes = PES_bytes_to_fill - stream->bytes_to_iframe;
688 pad_packet_bytes = packet_size - zero_trail_bytes;
691 packet_size -= pad_packet_bytes + zero_trail_bytes;
742 pad_packet_bytes += timestamp_len;
752 if (pad_packet_bytes > 0 && pad_packet_bytes <= 7) { // can't use padding, so use stuffing
753 packet_size += pad_packet_bytes;
754 payload_size += pad_packet_bytes; // undo the previous adjustment
756 stuffing_size = pad_packet_bytes;
758 stuffing_size += pad_packet_bytes;
760 pad_packet_bytes = 0;
772 pad_packet_bytes += stuffing_size;
871 if (pad_packet_bytes > 0)
872 put_padding_packet(ctx,ctx->pb, pad_packet_bytes);