Lines Matching refs:pad_packet_bytes
666 int pad_packet_bytes = 0;
731 pad_packet_bytes = PES_bytes_to_fill - stream->bytes_to_iframe;
761 pad_packet_bytes = packet_size - zero_trail_bytes;
764 packet_size -= pad_packet_bytes + zero_trail_bytes;
815 pad_packet_bytes += timestamp_len;
825 if (pad_packet_bytes > 0 && pad_packet_bytes <= 7) { // can't use padding, so use stuffing
826 packet_size += pad_packet_bytes;
827 payload_size += pad_packet_bytes; // undo the previous adjustment
829 stuffing_size = pad_packet_bytes;
831 stuffing_size += pad_packet_bytes;
833 pad_packet_bytes = 0;
839 pad_packet_bytes += stuffing_size;
938 if (pad_packet_bytes > 0)
939 put_padding_packet(ctx,ctx->pb, pad_packet_bytes);