Home
last modified time | relevance | path

Searched refs:av_gcd (Results 1 – 17 of 17) sorted by relevance

/third_party/ffmpeg/libavutil/
Drational.c40 int64_t gcd = av_gcd(FFABS(num), FFABS(den)); in av_reduce()
71 av_assert2(av_gcd(a1.num, a1.den) <= 1U); in av_reduce()
190 gcd = av_gcd(a.den, b.den); in av_gcd_q()
192 return lcm < max_den ? av_make_q(av_gcd(a.num, b.num), lcm) : def; in av_gcd_q()
Dmathematics.h118 int64_t av_const av_gcd(int64_t a, int64_t b);
Dmathematics.c37 int64_t av_gcd(int64_t a, int64_t b) { in av_gcd() function
Deval.c310 case e_gcd: return e->value * av_gcd(d,d2); in eval_expr()
/third_party/ffmpeg/libavformat/
Dmpsubdec.c138 common_factor = av_gcd(duration, common_factor); in mpsub_read_header()
139 common_factor = av_gcd(sub->pts, common_factor); in mpsub_read_header()
148 common_factor = av_gcd(pts_info.num, common_factor); in mpsub_read_header()
Driffenc.c127 blkalign = bps * par->channels / av_gcd(8, bps); in ff_put_wav_header()
297 gcd = av_gcd(*au_scale, *au_rate); in ff_parse_specific_params()
Drtpenc.c361 int aligned_samples_size = sample_size_bits/av_gcd(sample_size_bits, 8); in rtp_send_samples()
Dnutdec.c230 if (av_gcd(nut->time_base[i].num, nut->time_base[i].den) != 1) { in decode_main_header()
Dutils.c3436 st->internal->info->duration_gcd = av_gcd(st->internal->info->duration_gcd, duration);
/third_party/ffmpeg/libavutil/tests/
Drational.c92 if (av_gcd(a.num, a.den) > 1) in main()
97 if (av_gcd(b.num, b.den) > 1) in main()
/third_party/ffmpeg/libavcodec/tests/
Dsnowenc.c103 if(g) g=av_gcd(g, error); in main()
/third_party/ffmpeg/libavcodec/
Dlibxvid.c333 gcd = av_gcd(frate, fbase); in xvid_correct_framerate()
355 gcd = av_gcd(est_frate, est_fbase); in xvid_correct_framerate()
Davcodec.c769 int g = av_gcd(enc->time_base.num, enc->time_base.den); in avcodec_string()
815 int g = av_gcd(enc->time_base.num, enc->time_base.den); in avcodec_string()
Dmpeg12enc.c122 if (av_gcd(ext.den, ext.num) != 1) in find_frame_rate_index()
Dituh263dec.c1181 gcd= av_gcd(s->avctx->framerate.den, s->avctx->framerate.num); in ff_h263_decode_picture_header()
Dmpegvideo_enc.c748 i = av_gcd(avctx->time_base.den, avctx->time_base.num); in ff_mpv_encode_init()
/third_party/ffmpeg/libavfilter/
Dvf_framerate.c397 av_gcd((int64_t)s->srce_time_base.num * s->dest_frame_rate.num, in config_output()