Home
last modified time | relevance | path

Searched refs:AV_ROUND_UP (Results 1 – 25 of 27) sorted by relevance

12

/third_party/ffmpeg/libavformat/
Dargo_brp.c340 st->start_time = av_rescale_rnd(blk.start_ms, st->codecpar->sample_rate, 1000, AV_ROUND_UP); in argo_brp_read_header()
341 … st->duration = av_rescale_rnd(hdr->duration_ms, st->codecpar->sample_rate, 1000, AV_ROUND_UP); in argo_brp_read_header()
404 pkt->pts = av_rescale_rnd(blk.start_ms, ckhdr.sample_rate, 1000, AV_ROUND_UP); in argo_brp_read_packet()
406 … pkt->duration = av_rescale_rnd(1, st->duration, shdr->extradata.bvid.num_frames, AV_ROUND_UP); in argo_brp_read_packet()
Dpcm.c78 (flags & AVSEEK_FLAG_BACKWARD) ? AV_ROUND_DOWN : AV_ROUND_UP); in ff_pcm_read_seek()
Dvqf.c277 AV_ROUND_DOWN : AV_ROUND_UP); in vqf_read_seek()
Dlibrtmp.c303 flags & AVSEEK_FLAG_BACKWARD ? AV_ROUND_DOWN : AV_ROUND_UP); in rtmp_read_seek()
Daadec.c351 (flags & AVSEEK_FLAG_BACKWARD) ? AV_ROUND_DOWN : AV_ROUND_UP) in aa_read_seek()
Dgxfenc.c908 (int64_t)48000*gxf->time_base.num, AV_ROUND_UP); in gxf_write_media_preamble()
1001 (int64_t)48000*gxf->time_base.num, AV_ROUND_UP); in gxf_compare_field_nb()
Dmux.c713 AV_ROUND_UP);
859 … uint64_t max= av_rescale_q_rnd(s->max_chunk_duration, AV_TIME_BASE_Q, st->time_base, AV_ROUND_UP);
Dmpegtsenc.c924 …ame_period = av_rescale_rnd(frame_size, PCR_TIME_BASE, pcr_st->codecpar->sample_rate, AV_ROUND_UP); in enable_pcr_generation_for_stream()
926 …av_rescale_rnd(pcr_st->avg_frame_rate.den, PCR_TIME_BASE, pcr_st->avg_frame_rate.num, AV_ROUND_UP); in enable_pcr_generation_for_stream()
Dconcatdec.c657 AV_ROUND_UP | AV_ROUND_PASS_MINMAX); in rescale_interval()
Dmpeg.c1012 AV_ROUND_UP | AV_ROUND_PASS_MINMAX); in vobsub_read_seek()
Dmxfenc.c2628 …av_rescale_rnd(st->codecpar->sample_rate, mxf->time_base.num, mxf->time_base.den, AV_ROUND_UP) * 4; in mxf_write_header()
2651 … av_rescale_rnd(st->codecpar->sample_rate, mxf->time_base.num, mxf->time_base.den, AV_ROUND_UP) * in mxf_write_header()
Dhls.c2306 AV_ROUND_DOWN : AV_ROUND_UP); in hls_read_seek()
Ddashdec.c2343 AV_ROUND_DOWN : AV_ROUND_UP); in dash_read_seek()
/third_party/ffmpeg/doc/examples/
Dresampling_audio.c151 av_rescale_rnd(src_nb_samples, dst_rate, src_rate, AV_ROUND_UP); in main()
169 src_nb_samples, dst_rate, src_rate, AV_ROUND_UP); in main()
Dmuxing.c354 c->sample_rate, c->sample_rate, AV_ROUND_UP); in write_audio_frame()
/third_party/ffmpeg/libavutil/
Dmathematics.h83 AV_ROUND_UP = 3, ///< Round toward +infinity. enumerator
Drational.c134 int64_t x_up = av_rescale_rnd(a, q.den, b, AV_ROUND_UP); in av_nearer_q()
Dmathematics.c181 b = (av_rescale_q_rnd(2*in_ts+1, in_tb, fs_tb, AV_ROUND_UP )+1)>>1; in av_rescale_delta()
/third_party/ffmpeg/libavfilter/
Dvf_fps.c85 …{ "up", "round towards +infty", 0, AV_OPT_TYPE_CONST, { .i64 = AV_ROUND_UP }, 0…
267 int eof_rounding = (s->eof_action == EOF_ACTION_PASS) ? AV_ROUND_UP : s->rounding; 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/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DFFMpegExtractor.cpp270 AV_ROUND_UP); in decode()
/third_party/ffmpeg/tools/
Dsidxindex.c191 track->timescale, AV_ROUND_UP)); in handle_file()
Dismindex.c571 track->timescale, AV_ROUND_UP)); in handle_file()
/third_party/ffmpeg/libswresample/
Dresample.c535 …scale_rnd(num, s->out_sample_rate, ((int64_t)s->in_sample_rate) * c->phase_count, AV_ROUND_UP) + 2; in get_out_samples()
/third_party/ffmpeg/libavresample/
Dutils.c761 AV_ROUND_UP); in avresample_get_out_samples()

12