Lines Matching refs:pts
507 static void write_pts(uint8_t *q, int fourbits, int64_t pts)
511 val = fourbits << 4 | (((pts >> 30) & 0x07) << 1) | 1;
513 val = (((pts >> 15) & 0x7fff) << 1) | 1;
516 val = (((pts) & 0x7fff) << 1) | 1;
524 int64_t pts, int64_t dts)
596 if (pts != AV_NOPTS_VALUE) {
600 if (dts != AV_NOPTS_VALUE && dts != pts) {
629 if (pts != AV_NOPTS_VALUE) {
630 write_pts(q, flags >> 6, pts);
633 if (dts != AV_NOPTS_VALUE && dts != pts) {
698 int64_t dts = AV_NOPTS_VALUE, pts = AV_NOPTS_VALUE;
700 if (pkt->pts != AV_NOPTS_VALUE)
701 pts = pkt->pts + delay;
707 mpegts_write_pes(s, st, buf, size, pts, AV_NOPTS_VALUE);
713 mpegts_write_pes(s, st, buf, size, pts, dts);
767 ts_st->payload_pts = pts;
775 access_unit_index = NULL; // unset access unit to avoid setting pts/dts again