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()
377 if (avctx->pkt_timebase.num && avctx->pkt_timebase.den) { in mediacodec_wrap_sw_buffer()
380 avctx->pkt_timebase); in mediacodec_wrap_sw_buffer()
709 if (pts && avctx->pkt_timebase.num && avctx->pkt_timebase.den) { in ff_mediacodec_dec_send()
710 pts = av_rescale_q(pts, avctx->pkt_timebase, AV_TIME_BASE_Q); in ff_mediacodec_dec_send()
Dlibaribb24.c326 if (avctx->pkt_timebase.num && pkt->pts != AV_NOPTS_VALUE) in libaribb24_decode()
328 avctx->pkt_timebase, AV_TIME_BASE_Q); in libaribb24_decode()
343 avctx->pkt_timebase.num, avctx->pkt_timebase.den, in libaribb24_decode()
Dcuviddec.c424 if (avctx->pkt_timebase.num && avctx->pkt_timebase.den) in cuvid_decode_packet()
425 … cupkt.timestamp = av_rescale_q(avpkt->pts, avctx->pkt_timebase, (AVRational){1, 10000000}); in cuvid_decode_packet()
607 if (avctx->pkt_timebase.num && avctx->pkt_timebase.den) in cuvid_output_frame()
608 …ts = av_rescale_q(parsed_frame.dispinfo.timestamp, (AVRational){1, 10000000}, avctx->pkt_timebase); in cuvid_output_frame()
615 …frame->pts += (avctx->pkt_timebase.den * avctx->framerate.den) / (avctx->pkt_timebase.num * avctx-… in cuvid_output_frame()
1024 if (!avctx->pkt_timebase.num || !avctx->pkt_timebase.den) in cuvid_decode_init()
Ddecode.c389 if(avctx->pkt_timebase.num && avctx->sample_rate) { in decode_simple_internal()
392 avctx->pkt_timebase); in decode_simple_internal()
416 if(avctx->pkt_timebase.num && avctx->sample_rate) { in decode_simple_internal()
419 avctx->pkt_timebase); in decode_simple_internal()
844 if (avctx->pkt_timebase.num && avpkt->pts != AV_NOPTS_VALUE) in avcodec_decode_subtitle2()
846 avctx->pkt_timebase, AV_TIME_BASE_Q); in avcodec_decode_subtitle2()
858 avctx->pkt_timebase.num) { in avcodec_decode_subtitle2()
861 avctx->pkt_timebase, ms); in avcodec_decode_subtitle2()
Dqsvdec.c369 bs.TimeStamp = PTS_TO_MFX_PTS(avpkt->pts, avctx->pkt_timebase); in qsv_decode_header()
617 bs.TimeStamp = PTS_TO_MFX_PTS(avpkt->pts, avctx->pkt_timebase); in qsv_decode()
712 frame->pts = MFX_PTS_TO_PTS(outsurf->Data.TimeStamp, avctx->pkt_timebase); in qsv_decode()
931 if (!avctx->pkt_timebase.num) in qsv_decode_init()
Dv4l2_buffers.c55 if (s->avctx->pkt_timebase.num) in v4l2_get_timebase()
56 return s->avctx->pkt_timebase; in v4l2_get_timebase()
Doptions.c115 s->pkt_timebase = (AVRational){ 0, 1 }; in init_context_defaults()
Dh264_parser.c643 int64_t den = avctx->time_base.den * (int64_t)avctx->pkt_timebase.num; in h264_parse()
645 int64_t num = avctx->time_base.num * (int64_t)avctx->pkt_timebase.den; in h264_parse()
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()
Davcodec.h1746 AVRational pkt_timebase; member
Dffv1dec.c948 if (ts != AV_NOPTS_VALUE && avctx->pkt_timebase.num) { in decode_frame()
949 … av_log(f->avctx, AV_LOG_ERROR, "at %f seconds\n", ts*av_q2d(avctx->pkt_timebase)); in decode_frame()
Doptions_table.h371 {"pkt_timebase", NULL, OFFSET(pkt_timebase), AV_OPT_TYPE_RATIONAL, {.dbl = 0 }, 0, INT_MAX, 0},
/third_party/ffmpeg/doc/examples/
Dtranscode_aac.c128 avctx->pkt_timebase = stream->time_base; in open_input_file()
/third_party/ffmpeg/libavfilter/
Dvf_subtitles.c429 dec_ctx->pkt_timebase = st->time_base; in init_subtitles()
/third_party/ffmpeg/libavformat/
Davformat.c719 sti->avctx->pkt_timebase = new_tb; in avpriv_set_pts_info()
/third_party/ffmpeg/fftools/
Dffplay.c602 frame->pts = av_rescale_q(frame->pts, d->avctx->pkt_timebase, tb); in decoder_decode_frame()
2578 avctx->pkt_timebase = ic->streams[stream_index]->time_base; in stream_component_open()
Dffprobe.c3376 ist->dec_ctx->pkt_timebase = stream->time_base; in open_input_file()
Dffmpeg.c2631 ist->dec_ctx->pkt_timebase = ist->st->time_base; in init_input_stream()
/third_party/ffmpeg/doc/
Dcodecs.texi970 @item pkt_timebase @var{rational number}