Home
last modified time | relevance | path

Searched refs:av_gcd (Results 1 – 18 of 18) 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
Dtx.c51 if (av_gcd(n, m) != 1) in ff_tx_gen_compound_mapping()
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.c128 blkalign = bps * par->ch_layout.nb_channels / av_gcd(8, bps); in ff_put_wav_header()
298 gcd = av_gcd(*au_scale, *au_rate); in ff_parse_specific_params()
Drtpenc.c363 int aligned_samples_size = sample_size_bits/av_gcd(sample_size_bits, 8); in rtp_send_samples()
Dnutdec.c233 if (av_gcd(nut->time_base[i].num, nut->time_base[i].den) != 1) { in decode_main_header()
Ddemux.c2224 info->duration_gcd = av_gcd(info->duration_gcd, duration); in ff_rfps_add_frame()
/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.c115 if(g) g=av_gcd(g, error); in main()
/third_party/ffmpeg/libavcodec/
Davcodec.c644 int g = av_gcd(enc->time_base.num, enc->time_base.den); in avcodec_string()
688 int g = av_gcd(enc->time_base.num, enc->time_base.den); in avcodec_string()
Dlibxvid.c333 gcd = av_gcd(frate, fbase); in xvid_correct_framerate()
355 gcd = av_gcd(est_frate, est_fbase); in xvid_correct_framerate()
Dmpeg12enc.c144 if (av_gcd(ext.den, ext.num) != 1) in find_frame_rate_index()
Dituh263dec.c1269 gcd= av_gcd(s->avctx->framerate.den, s->avctx->framerate.num); in ff_h263_decode_picture_header()
Dmpegvideo_enc.c612 i = av_gcd(avctx->time_base.den, avctx->time_base.num); in ff_mpv_encode_init()
/third_party/ffmpeg/libavfilter/
Dvf_framerate.c391 av_gcd((int64_t)s->srce_time_base.num * s->dest_frame_rate.num, in config_output()