Home
last modified time | relevance | path

Searched refs:av_rescale_q_rnd (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavutil/
Dmathematics.c134 int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq, in av_rescale_q_rnd() function
144 return av_rescale_q_rnd(a, bq, cq, AV_ROUND_NEAR_INF); in av_rescale_q()
180 a = av_rescale_q_rnd(2*in_ts-1, in_tb, fs_tb, AV_ROUND_DOWN) >>1; in av_rescale_delta()
181 b = (av_rescale_q_rnd(2*in_ts+1, in_tb, fs_tb, AV_ROUND_UP )+1)>>1; in av_rescale_delta()
Dmathematics.h161 int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq,
/third_party/ffmpeg/libavfilter/
Dvf_fps.c167 s->in_pts_off = av_rescale_q_rnd(first_pts, AV_TIME_BASE_Q, inlink->time_base, in config_props()
169 s->out_pts_off = av_rescale_q_rnd(first_pts, AV_TIME_BASE_Q, outlink->time_base, in config_props()
199 frame->pts = s->out_pts_off + av_rescale_q_rnd(in_pts - s->in_pts_off, in read_frame()
268 s->status_pts = av_rescale_q_rnd(status_pts, inlink->time_base, outlink->time_base, in update_eof_pts()
Dsrc_movie.c517 … frame->pts += av_rescale_q_rnd(movie->ts_offset, AV_TIME_BASE_Q, outlink->time_base, AV_ROUND_UP); in movie_push_frame()
523 … movie->ts_offset += av_rescale_q_rnd(-diff, outlink->time_base, AV_TIME_BASE_Q, AV_ROUND_UP); in movie_push_frame()
/third_party/ffmpeg/doc/examples/
Dremuxing.c159 …pkt.pts = av_rescale_q_rnd(pkt.pts, in_stream->time_base, out_stream->time_base, AV_ROUND_NEAR_INF… in main()
160 …pkt.dts = av_rescale_q_rnd(pkt.dts, in_stream->time_base, out_stream->time_base, AV_ROUND_NEAR_INF… in main()
/third_party/ffmpeg/libavformat/
Drmenc.c103 …v = av_rescale_q_rnd(stream->total_frames, (AVRational){1000, 1}, stream->frame_rate, AV_ROUND_ZER… in rv10_write_header()
179 …avio_wb32(s, av_rescale_q_rnd(stream->total_frames, (AVRational){1000, 1}, stream->frame_rate, AV… in rv10_write_header()
307 …timestamp = av_rescale_q_rnd(stream->nb_frames, (AVRational){1000, 1}, stream->frame_rate, AV_ROUN… in write_packet_header()
Dconcatdec.c656 *min_ts = av_rescale_q_rnd(*min_ts, tb_in, tb_out, in rescale_interval()
658 *max_ts = av_rescale_q_rnd(*max_ts, tb_in, tb_out, in rescale_interval()
Dmux.c710 av_rescale_q_rnd(s->internal->offset,
859 … uint64_t max= av_rescale_q_rnd(s->max_chunk_duration, AV_TIME_BASE_Q, st->time_base, AV_ROUND_UP);
Dutils.c1488 av_rescale_q_rnd(st->parser->duration, in parse_packet()
2661 end_time1 = av_rescale_q_rnd(st->duration, st->time_base,
/third_party/ffmpeg/libavcodec/
Dpcm_rechunk_bsf.c52 min_samples = av_rescale_q_rnd(1, sr, s->frame_rate, AV_ROUND_DOWN); in init()
/third_party/ffmpeg/libavdevice/
Dlavfi.c414 … d = av_rescale_q_rnd(frame->pts, tb, AV_TIME_BASE_Q, AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX); in lavfi_read_packet()
/third_party/ffmpeg/fftools/
Dffmpeg.c2606 int64_t pts = av_rescale_q_rnd(ist->pts, AV_TIME_BASE_Q, ist->st->time_base, in send_filter_eof()
4520 …pkt_dts = av_rescale_q_rnd(pkt->dts, ist->st->time_base, AV_TIME_BASE_Q, AV_ROUND_NEAR_INF|AV_ROUN… in process_input()
4548 …pkt_dts = av_rescale_q_rnd(pkt->dts, ist->st->time_base, AV_TIME_BASE_Q, AV_ROUND_NEAR_INF|AV_ROUN… in process_input()
4552 int64_t wrap_dts = av_rescale_q_rnd(pkt->dts + (1LL<<ist->st->pts_wrap_bits), in process_input()
/third_party/ffmpeg/doc/
DAPIchanges2197 Add av_rescale_q_rnd()