Searched refs:av_gcd (Results 1 – 17 of 17) sorted by relevance
/third_party/ffmpeg/libavutil/ |
D | rational.c | 40 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()
|
D | mathematics.h | 118 int64_t av_const av_gcd(int64_t a, int64_t b);
|
D | mathematics.c | 37 int64_t av_gcd(int64_t a, int64_t b) { in av_gcd() function
|
D | eval.c | 310 case e_gcd: return e->value * av_gcd(d,d2); in eval_expr()
|
/third_party/ffmpeg/libavformat/ |
D | mpsubdec.c | 138 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()
|
D | riffenc.c | 127 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()
|
D | rtpenc.c | 361 int aligned_samples_size = sample_size_bits/av_gcd(sample_size_bits, 8); in rtp_send_samples()
|
D | nutdec.c | 230 if (av_gcd(nut->time_base[i].num, nut->time_base[i].den) != 1) { in decode_main_header()
|
D | utils.c | 3436 st->internal->info->duration_gcd = av_gcd(st->internal->info->duration_gcd, duration);
|
/third_party/ffmpeg/libavutil/tests/ |
D | rational.c | 92 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/ |
D | snowenc.c | 103 if(g) g=av_gcd(g, error); in main()
|
/third_party/ffmpeg/libavcodec/ |
D | libxvid.c | 333 gcd = av_gcd(frate, fbase); in xvid_correct_framerate() 355 gcd = av_gcd(est_frate, est_fbase); in xvid_correct_framerate()
|
D | avcodec.c | 769 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()
|
D | mpeg12enc.c | 122 if (av_gcd(ext.den, ext.num) != 1) in find_frame_rate_index()
|
D | ituh263dec.c | 1181 gcd= av_gcd(s->avctx->framerate.den, s->avctx->framerate.num); in ff_h263_decode_picture_header()
|
D | mpegvideo_enc.c | 748 i = av_gcd(avctx->time_base.den, avctx->time_base.num); in ff_mpv_encode_init()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_framerate.c | 397 av_gcd((int64_t)s->srce_time_base.num * s->dest_frame_rate.num, in config_output()
|