Lines Matching refs:TS_PACKET_SIZE
382 score = analyze(buf, size, TS_PACKET_SIZE, NULL);
387 if (score > fec_score && score > dvhs_score) return TS_PACKET_SIZE;
1084 p_end = packet + TS_PACKET_SIZE;
1148 len = get_buffer(pb, buf, TS_PACKET_SIZE);
1149 if (len != TS_PACKET_SIZE)
1154 url_fseek(pb, -TS_PACKET_SIZE, SEEK_CUR);
1160 skip = raw_packet_size - TS_PACKET_SIZE;
1173 uint8_t packet[TS_PACKET_SIZE];
1203 score = analyze(p->buf, TS_PACKET_SIZE *check_count, TS_PACKET_SIZE , NULL)*CHECK_COUNT/check_count;
1302 uint8_t packet[TS_PACKET_SIZE];
1338 s->bit_rate = (TS_PACKET_SIZE * 8) * 27e6 / ts->pcr_incr;
1364 if (av_new_packet(pkt, TS_PACKET_SIZE) < 0)
1426 uint8_t buf[TS_PACKET_SIZE];
1433 if (get_buffer(s->pb, buf, TS_PACKET_SIZE) != TS_PACKET_SIZE)
1447 if (get_buffer(s->pb, buf, TS_PACKET_SIZE) != TS_PACKET_SIZE)
1462 uint8_t buf[TS_PACKET_SIZE];
1472 if (get_buffer(s->pb, buf, TS_PACKET_SIZE) != TS_PACKET_SIZE)
1494 ts->raw_packet_size = TS_PACKET_SIZE;
1513 if (len < TS_PACKET_SIZE)
1520 buf += TS_PACKET_SIZE;
1521 len -= TS_PACKET_SIZE;