Searched refs:pkt_timebase (Results 1 – 19 of 19) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | mediacodecdec_common.c | 289 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()
|
D | libaribb24.c | 326 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()
|
D | cuviddec.c | 424 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()
|
D | decode.c | 389 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()
|
D | qsvdec.c | 369 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()
|
D | v4l2_buffers.c | 55 if (s->avctx->pkt_timebase.num) in v4l2_get_timebase() 56 return s->avctx->pkt_timebase; in v4l2_get_timebase()
|
D | options.c | 115 s->pkt_timebase = (AVRational){ 0, 1 }; in init_context_defaults()
|
D | h264_parser.c | 643 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()
|
D | libzvbi-teletextdec.c | 660 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()
|
D | avcodec.h | 1746 AVRational pkt_timebase; member
|
D | ffv1dec.c | 948 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()
|
D | options_table.h | 371 {"pkt_timebase", NULL, OFFSET(pkt_timebase), AV_OPT_TYPE_RATIONAL, {.dbl = 0 }, 0, INT_MAX, 0},
|
/third_party/ffmpeg/doc/examples/ |
D | transcode_aac.c | 128 avctx->pkt_timebase = stream->time_base; in open_input_file()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_subtitles.c | 429 dec_ctx->pkt_timebase = st->time_base; in init_subtitles()
|
/third_party/ffmpeg/libavformat/ |
D | avformat.c | 719 sti->avctx->pkt_timebase = new_tb; in avpriv_set_pts_info()
|
/third_party/ffmpeg/fftools/ |
D | ffplay.c | 602 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()
|
D | ffprobe.c | 3376 ist->dec_ctx->pkt_timebase = stream->time_base; in open_input_file()
|
D | ffmpeg.c | 2631 ist->dec_ctx->pkt_timebase = ist->st->time_base; in init_input_stream()
|
/third_party/ffmpeg/doc/ |
D | codecs.texi | 970 @item pkt_timebase @var{rational number}
|