Home
last modified time | relevance | path

Searched refs:pkt_timebase (Results 1 – 19 of 19) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmediacodecdec_common.c289 if (avctx->pkt_timebase.num && avctx->pkt_timebase.den) { in mediacodec_wrap_hw_buffer()
292 avctx->pkt_timebase); in mediacodec_wrap_hw_buffer()
382 if (avctx->pkt_timebase.num && avctx->pkt_timebase.den) { in mediacodec_wrap_sw_buffer()
385 avctx->pkt_timebase); in mediacodec_wrap_sw_buffer()
719 if (pts && avctx->pkt_timebase.num && avctx->pkt_timebase.den) { in ff_mediacodec_dec_send()
720 pts = av_rescale_q(pts, avctx->pkt_timebase, AV_TIME_BASE_Q); in ff_mediacodec_dec_send()
Dlibaribb24.c325 if (avctx->pkt_timebase.num && pkt->pts != AV_NOPTS_VALUE) in libaribb24_decode()
327 avctx->pkt_timebase, AV_TIME_BASE_Q); in libaribb24_decode()
342 avctx->pkt_timebase.num, avctx->pkt_timebase.den, in libaribb24_decode()
Dcuviddec.c415 if (avctx->pkt_timebase.num && avctx->pkt_timebase.den) in cuvid_decode_packet()
416 … cupkt.timestamp = av_rescale_q(avpkt->pts, avctx->pkt_timebase, (AVRational){1, 10000000}); in cuvid_decode_packet()
598 if (avctx->pkt_timebase.num && avctx->pkt_timebase.den) in cuvid_output_frame()
599 …ts = av_rescale_q(parsed_frame.dispinfo.timestamp, (AVRational){1, 10000000}, avctx->pkt_timebase); in cuvid_output_frame()
606 …frame->pts += (avctx->pkt_timebase.den * avctx->framerate.den) / (avctx->pkt_timebase.num * avctx-… in cuvid_output_frame()
1038 if (!avctx->pkt_timebase.num || !avctx->pkt_timebase.den) in cuvid_decode_init()
Ddecode.c398 if(avctx->pkt_timebase.num && avctx->sample_rate) { in decode_simple_internal()
401 avctx->pkt_timebase); in decode_simple_internal()
431 if(avctx->pkt_timebase.num && avctx->sample_rate) { in decode_simple_internal()
434 avctx->pkt_timebase); in decode_simple_internal()
1062 if (avctx->pkt_timebase.num && avpkt->pts != AV_NOPTS_VALUE) in avcodec_decode_subtitle2()
1064 avctx->pkt_timebase, AV_TIME_BASE_Q); in avcodec_decode_subtitle2()
1072 const AVRational tb = avctx->pkt_timebase.num ? avctx->pkt_timebase in avcodec_decode_subtitle2()
1081 avctx->pkt_timebase.num) { in avcodec_decode_subtitle2()
1084 avctx->pkt_timebase, ms); in avcodec_decode_subtitle2()
Dv4l2_buffers.c56 if (s->avctx->pkt_timebase.num) in v4l2_get_timebase()
57 return s->avctx->pkt_timebase; in v4l2_get_timebase()
Dh264_parser.c623 int64_t den = avctx->time_base.den * (int64_t)avctx->pkt_timebase.num; in h264_parse()
625 int64_t num = avctx->time_base.num * (int64_t)avctx->pkt_timebase.den; in h264_parse()
Dmfenc.c103 if (avctx->pkt_timebase.num > 0 && avctx->pkt_timebase.den > 0) in mf_get_tb()
104 return avctx->pkt_timebase; in mf_get_tb()
Doptions.c130 s->pkt_timebase = (AVRational){ 0, 1 }; in init_context_defaults()
Dlibzvbi-teletextdec.c660 if (avctx->pkt_timebase.num && pkt->pts != AV_NOPTS_VALUE) in teletext_decode_frame()
661 ctx->pts = av_rescale_q(pkt->pts, avctx->pkt_timebase, AV_TIME_BASE_Q); in teletext_decode_frame()
Dffv1dec.c907 if (ts != AV_NOPTS_VALUE && avctx->pkt_timebase.num) { in decode_frame()
908 … av_log(f->avctx, AV_LOG_ERROR, "at %f seconds\n", ts*av_q2d(avctx->pkt_timebase)); in decode_frame()
Davcodec.h2085 AVRational pkt_timebase; member
Dutils.c450 MAKE_ACCESSORS(AVCodecContext, codec, AVRational, pkt_timebase) in MAKE_ACCESSORS() argument
Doptions_table.h428 {"pkt_timebase", NULL, OFFSET(pkt_timebase), AV_OPT_TYPE_RATIONAL, {.dbl = 0 }, 0, INT_MAX, 0},
/third_party/ffmpeg/libavfilter/
Dvf_subtitles.c419 dec_ctx->pkt_timebase = st->time_base; in init_subtitles()
/third_party/ffmpeg/fftools/
Dffplay.c616 frame->pts = av_rescale_q(frame->pts, d->avctx->pkt_timebase, tb); in decoder_decode_frame()
2595 avctx->pkt_timebase = ic->streams[stream_index]->time_base; in stream_component_open()
Dffprobe.c3030 ist->dec_ctx->pkt_timebase = stream->time_base; in open_input_file()
Dffmpeg.c2980 ist->dec_ctx->pkt_timebase = ist->st->time_base; in init_input_stream()
/third_party/ffmpeg/doc/
Dcodecs.texi1093 @item pkt_timebase @var{rational number}
/third_party/ffmpeg/libavformat/
Dutils.c5002 s->codec->pkt_timebase = new_tb;
5005 s->internal->avctx->pkt_timebase = new_tb;