Lines Matching refs:trk
316 int size, MOVTrack *trk, int64_t *dts) in write_hint_packets() argument
344 if (packet_len > trk->max_packet_size) in write_hint_packets()
345 trk->max_packet_size = packet_len; in write_hint_packets()
350 if (trk->prev_rtp_ts == 0) in write_hint_packets()
351 trk->prev_rtp_ts = ts; in write_hint_packets()
354 ts_diff = ts - trk->prev_rtp_ts; in write_hint_packets()
356 trk->cur_rtp_ts_unwrapped += ts_diff; in write_hint_packets()
357 trk->prev_rtp_ts = ts; in write_hint_packets()
361 *dts = trk->cur_rtp_ts_unwrapped; in write_hint_packets()
384 describe_payload(data, packet_len, out, &entries, &trk->sample_queue); in write_hint_packets()
406 MOVTrack *trk = &mov->tracks[track_index]; in ff_mov_add_hinted_packet() local
407 AVFormatContext *rtp_ctx = trk->rtp_ctx; in ff_mov_add_hinted_packet()
420 sample_queue_push(&trk->sample_queue, sample_data, sample_size, sample); in ff_mov_add_hinted_packet()
422 sample_queue_push(&trk->sample_queue, pkt->data, pkt->size, sample); in ff_mov_add_hinted_packet()
441 count = write_hint_packets(hintbuf, buf, size, trk, &hint_pkt->dts); in ff_mov_add_hinted_packet()
456 sample_queue_retain(&trk->sample_queue); in ff_mov_add_hinted_packet()