Home
last modified time | relevance | path

Searched refs:lastpts (Results 1 - 9 of 9) sorted by relevance

/third_party/ffmpeg/libavformat/
H A Doggparseopus.c127 if ((!os->lastpts || os->lastpts == AV_NOPTS_VALUE) && !(os->flags & OGG_FLAG_EOS)) { in opus_packet()
151 os->lastpts = in opus_packet()
159 if (os->lastpts != AV_NOPTS_VALUE) { in opus_packet()
161 st->start_time = os->lastpts; in opus_packet()
162 priv->cur_dts = os->lastdts = os->lastpts -= priv->pre_skip; in opus_packet()
H A Doggparsespeex.c120 if (os->flags & OGG_FLAG_EOS && os->lastpts != AV_NOPTS_VALUE && in speex_packet()
125 spxp->final_packet_duration = os->granule - os->lastpts - in speex_packet()
129 if (!os->lastpts && os->granule > 0) in speex_packet()
131 os->lastpts = os->lastdts = os->granule - packet_size * in speex_packet()
H A Doggparsetheora.c182 if ((!os->lastpts || os->lastpts == AV_NOPTS_VALUE) && !(os->flags & OGG_FLAG_EOS)) { in theora_packet()
195 os->lastpts = os->lastdts = pts; in theora_packet()
196 if(s->streams[idx]->start_time == AV_NOPTS_VALUE && os->lastpts != AV_NOPTS_VALUE) { in theora_packet()
197 s->streams[idx]->start_time = os->lastpts; in theora_packet()
H A Doggparsevp8.c107 if ((!os->lastpts || os->lastpts == AV_NOPTS_VALUE) && in vp8_packet()
124 os->lastpts = in vp8_packet()
127 s->streams[idx]->start_time = os->lastpts; in vp8_packet()
H A Doggparsevorbis.c423 if ((!os->lastpts || os->lastpts == AV_NOPTS_VALUE) && !(os->flags & OGG_FLAG_EOS) && (int64_t)os->granule>=0) { in vorbis_packet()
456 os->lastpts = in vorbis_packet()
460 os->lastpts = os->lastdts = AV_NOPTS_VALUE; in vorbis_packet()
463 s->streams[idx]->start_time = FFMAX(os->lastpts, 0); in vorbis_packet()
489 if (os->lastpts != AV_NOPTS_VALUE) { in vorbis_packet()
490 priv->final_pts = os->lastpts; in vorbis_packet()
H A Doggdec.c169 os->lastpts = AV_NOPTS_VALUE; in ogg_reset()
178 os->lastpts = 0; in ogg_reset()
236 os->lastpts = 0; in ogg_replace_stream()
756 os->lastpts = s->streams[i]->start_time = in ogg_read_header()
777 if (os->lastpts != AV_NOPTS_VALUE) { in ogg_calc_pts()
778 pts = os->lastpts; in ogg_calc_pts()
779 os->lastpts = AV_NOPTS_VALUE; in ogg_calc_pts()
791 os->lastpts = ogg_gptopts(s, idx, os->granule, &os->lastdts); in ogg_calc_pts()
H A Damvenc.c72 int64_t lastpts[AMV_STREAM_COUNT]; member
317 amv->lastpts[pkt->stream_index] += pkt->duration; in amv_write_packet_internal()
388 av_rescale_q(amv->lastpts[AMV_STREAM_VIDEO], vst->time_base, AV_TIME_BASE_Q), in amv_write_trailer()
389 av_rescale_q(amv->lastpts[AMV_STREAM_AUDIO], ast->time_base, AV_TIME_BASE_Q) in amv_write_trailer()
H A Doggparseskeleton.c70 os->lastpts = in skeleton_header()
H A Doggdec.h71 int64_t lastpts; member

Completed in 5 milliseconds