Lines Matching refs:TS_PACKET_SIZE
389 score = analyze(buf, size, TS_PACKET_SIZE, NULL);
394 if (score > fec_score && score > dvhs_score) return TS_PACKET_SIZE;
1176 p_end = packet + TS_PACKET_SIZE;
1247 len = get_buffer(pb, buf, TS_PACKET_SIZE);
1248 if (len != TS_PACKET_SIZE)
1253 url_fseek(pb, -TS_PACKET_SIZE, SEEK_CUR);
1259 skip = raw_packet_size - TS_PACKET_SIZE;
1271 uint8_t packet[TS_PACKET_SIZE];
1303 score = analyze(p->buf, TS_PACKET_SIZE *check_count, TS_PACKET_SIZE , NULL)*CHECK_COUNT/check_count;
1402 uint8_t packet[TS_PACKET_SIZE];
1438 s->bit_rate = (TS_PACKET_SIZE * 8) * 27e6 / ts->pcr_incr;
1464 if (av_new_packet(pkt, TS_PACKET_SIZE) < 0)
1557 uint8_t buf[TS_PACKET_SIZE];
1564 if (get_buffer(s->pb, buf, TS_PACKET_SIZE) != TS_PACKET_SIZE)
1578 if (get_buffer(s->pb, buf, TS_PACKET_SIZE) != TS_PACKET_SIZE)
1679 uint8_t buf[TS_PACKET_SIZE];
1689 if (get_buffer(s->pb, buf, TS_PACKET_SIZE) != TS_PACKET_SIZE)
1713 ts->raw_packet_size = TS_PACKET_SIZE;
1732 if (len < TS_PACKET_SIZE)
1739 buf += TS_PACKET_SIZE;
1740 len -= TS_PACKET_SIZE;