Lines Matching refs:TS_PACKET_SIZE
538 score = analyze(buf, size, TS_PACKET_SIZE, NULL);
545 return TS_PACKET_SIZE;
2087 p_end = packet + TS_PACKET_SIZE;
2093 av_assert0(pos >= TS_PACKET_SIZE);
2094 ts->pos47_full = pos - TS_PACKET_SIZE;
2162 if (pos == TS_PACKET_SIZE) {
2174 newsize = TS_PACKET_SIZE;
2220 len = ffio_read_indirect(pb, buf, TS_PACKET_SIZE, data);
2221 if (len != TS_PACKET_SIZE)
2243 int skip = raw_packet_size - TS_PACKET_SIZE;
2251 uint8_t packet[TS_PACKET_SIZE + FF_INPUT_BUFFER_PADDING_SIZE];
2275 memset(packet + TS_PACKET_SIZE, 0, FF_INPUT_BUFFER_PADDING_SIZE);
2313 int score = analyze(p->buf + TS_PACKET_SIZE *i, TS_PACKET_SIZE *left, TS_PACKET_SIZE , NULL);
2385 ts->raw_packet_size = TS_PACKET_SIZE;
2413 uint8_t packet[TS_PACKET_SIZE];
2453 s->bit_rate = TS_PACKET_SIZE * 8 * 27e6 / ts->pcr_incr;
2475 if (av_new_packet(pkt, TS_PACKET_SIZE) < 0)
2565 uint8_t buf[TS_PACKET_SIZE];
2575 if (avio_read(s->pb, buf, TS_PACKET_SIZE) != TS_PACKET_SIZE)
2578 avio_seek(s->pb, -TS_PACKET_SIZE, SEEK_CUR);
2638 ts->raw_packet_size = TS_PACKET_SIZE;
2658 if (len < TS_PACKET_SIZE)
2665 buf += TS_PACKET_SIZE;
2666 len -= TS_PACKET_SIZE;