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() 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()
|
D | libaribb24.c | 325 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()
|
D | cuviddec.c | 415 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()
|
D | decode.c | 398 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()
|
D | v4l2_buffers.c | 56 if (s->avctx->pkt_timebase.num) in v4l2_get_timebase() 57 return s->avctx->pkt_timebase; in v4l2_get_timebase()
|
D | h264_parser.c | 623 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()
|
D | mfenc.c | 103 if (avctx->pkt_timebase.num > 0 && avctx->pkt_timebase.den > 0) in mf_get_tb() 104 return avctx->pkt_timebase; in mf_get_tb()
|
D | options.c | 130 s->pkt_timebase = (AVRational){ 0, 1 }; in init_context_defaults()
|
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 | ffv1dec.c | 907 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()
|
D | avcodec.h | 2085 AVRational pkt_timebase; member
|
D | utils.c | 450 MAKE_ACCESSORS(AVCodecContext, codec, AVRational, pkt_timebase) in MAKE_ACCESSORS() argument
|
D | options_table.h | 428 {"pkt_timebase", NULL, OFFSET(pkt_timebase), AV_OPT_TYPE_RATIONAL, {.dbl = 0 }, 0, INT_MAX, 0},
|
/third_party/ffmpeg/libavfilter/ |
D | vf_subtitles.c | 419 dec_ctx->pkt_timebase = st->time_base; in init_subtitles()
|
/third_party/ffmpeg/fftools/ |
D | ffplay.c | 616 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()
|
D | ffprobe.c | 3030 ist->dec_ctx->pkt_timebase = stream->time_base; in open_input_file()
|
D | ffmpeg.c | 2980 ist->dec_ctx->pkt_timebase = ist->st->time_base; in init_input_stream()
|
/third_party/ffmpeg/doc/ |
D | codecs.texi | 1093 @item pkt_timebase @var{rational number}
|
/third_party/ffmpeg/libavformat/ |
D | utils.c | 5002 s->codec->pkt_timebase = new_tb; 5005 s->internal->avctx->pkt_timebase = new_tb;
|