Lines Matching refs:TS_PACKET_SIZE
413 score = analyze(buf, size, TS_PACKET_SIZE, NULL);
418 if (score > fec_score && score > dvhs_score) return TS_PACKET_SIZE;
1680 p_end = packet + TS_PACKET_SIZE;
1751 len = avio_read(pb, buf, TS_PACKET_SIZE);
1752 if (len != TS_PACKET_SIZE)
1757 avio_seek(pb, -TS_PACKET_SIZE, SEEK_CUR);
1763 skip = raw_packet_size - TS_PACKET_SIZE;
1775 uint8_t packet[TS_PACKET_SIZE+FF_INPUT_BUFFER_PADDING_SIZE];
1797 memset(packet + TS_PACKET_SIZE, 0, FF_INPUT_BUFFER_PADDING_SIZE);
1826 score = analyze(p->buf, TS_PACKET_SIZE *check_count, TS_PACKET_SIZE , NULL)*CHECK_COUNT/check_count;
1918 uint8_t packet[TS_PACKET_SIZE];
1954 s->bit_rate = (TS_PACKET_SIZE * 8) * 27e6 / ts->pcr_incr;
1978 if (av_new_packet(pkt, TS_PACKET_SIZE) < 0)
2057 uint8_t buf[TS_PACKET_SIZE];
2064 if (avio_read(s->pb, buf, TS_PACKET_SIZE) != TS_PACKET_SIZE)
2078 if (avio_read(s->pb, buf, TS_PACKET_SIZE) != TS_PACKET_SIZE)
2179 uint8_t buf[TS_PACKET_SIZE];
2189 if (avio_read(s->pb, buf, TS_PACKET_SIZE) != TS_PACKET_SIZE)
2213 ts->raw_packet_size = TS_PACKET_SIZE;
2232 if (len < TS_PACKET_SIZE)
2239 buf += TS_PACKET_SIZE;
2240 len -= TS_PACKET_SIZE;