av_cmp_q 873 fftools/ffplay.c if (av_cmp_q(aspect_ratio, av_make_q(0, 1)) <= 0) av_cmp_q 1047 libavcodec/h264_slice.c if (first_slice && av_cmp_q(sps->sar, h->avctx->sample_aspect_ratio)) av_cmp_q 1310 libavcodec/h264_slice.c if (av_cmp_q(h->avctx->framerate, (AVRational) {30, 1}) == 1) { av_cmp_q 1313 libavcodec/h264_slice.c if (av_cmp_q(h->avctx->framerate, (AVRational) {50, 1}) == 0) av_cmp_q 95 libavcodec/ituh263enc.c if(av_cmp_q(ff_h263_pixel_aspect[i], aspect) == 0){ av_cmp_q 1235 libavcodec/mpeg12dec.c (av_cmp_q(dar, (AVRational) { 4, 3 }) && av_cmp_q 1236 libavcodec/mpeg12dec.c av_cmp_q(dar, (AVRational) { 16, 9 }))) { av_cmp_q 1273 libavcodec/mpeg12dec.c av_cmp_q(s1->save_aspect, s->avctx->sample_aspect_ratio) || av_cmp_q 135 libavcodec/mpeg12enc.c if (av_cmp_q(target, bestq)) av_cmp_q 58 libavcodec/mpeg12framerate.c if (av_cmp_q(frame_rate, ff_mpeg12_frame_rate_tab[c]) == 0) { av_cmp_q 73 libavcodec/mpeg12framerate.c cmp = av_cmp_q(test, frame_rate); av_cmp_q 86 libavcodec/mpeg12framerate.c cmp = av_cmp_q(error, best_error); av_cmp_q 41 libavcodec/tests/mpeg12framerate.c if (av_cmp_q(fr, av_mul_q(ff_mpeg12_frame_rate_tab[c], \ av_cmp_q 232 libavcodec/vaapi_encode_mpeg2.c if (av_cmp_q(avctx->sample_aspect_ratio, (AVRational) { 1, 1 }) == 0) { av_cmp_q 234 libavcodec/vaapi_encode_mpeg2.c } else if (av_cmp_q(dar, (AVRational) { 3, 4 }) == 0) { av_cmp_q 236 libavcodec/vaapi_encode_mpeg2.c } else if (av_cmp_q(dar, (AVRational) { 9, 16 }) == 0) { av_cmp_q 238 libavcodec/vaapi_encode_mpeg2.c } else if (av_cmp_q(dar, (AVRational) { 100, 221 }) == 0) { av_cmp_q 249 libavdevice/decklink_common.cpp !av_cmp_q(mode_tb, target_tb) && av_cmp_q 710 libavdevice/decklink_dec.cpp if (av_cmp_q(remainder, frame_duration) > 0) { av_cmp_q 681 libavdevice/opengl_enc.c if (av_cmp_q(dar, (AVRational){ opengl->window_width, opengl->window_height }) > 0) { av_cmp_q 112 libavdevice/sdl2.c if (av_cmp_q(dar, (AVRational){ sdl->window_width, sdl->window_height }) > 0) { av_cmp_q 239 libavdevice/xv.c if (av_cmp_q(dar, (AVRational){ xv->dest_w, xv->dest_h }) > 0) { av_cmp_q 113 libavfilter/settb.c if (av_cmp_q(inlink->time_base, outlink->time_base)) { av_cmp_q 165 libavfilter/vaf_spectrumsynth.c } else if (av_cmp_q(time_base, ctx->inputs[1]->time_base) != 0) { av_cmp_q 172 libavfilter/vaf_spectrumsynth.c } else if (av_cmp_q(frame_rate, ctx->inputs[1]->frame_rate) != 0) { av_cmp_q 97 libavfilter/vf_framepack.c } else if (av_cmp_q(time_base, ctx->inputs[RIGHT]->time_base) != 0) { av_cmp_q 104 libavfilter/vf_framepack.c } else if (av_cmp_q(frame_rate, ctx->inputs[RIGHT]->frame_rate) != 0) { av_cmp_q 355 libavfilter/vf_psnr.c if (av_cmp_q(mainlink->time_base, outlink->time_base) || av_cmp_q 356 libavfilter/vf_psnr.c av_cmp_q(ctx->inputs[1]->time_base, outlink->time_base)) av_cmp_q 78 libavfilter/vf_repeatfields.c if (av_cmp_q(link->frame_rate, (AVRational){30000, 1001}) == 0 && av_cmp_q 79 libavfilter/vf_repeatfields.c av_cmp_q(link->time_base, (AVRational){1001, 60000}) <= 0 av_cmp_q 448 libavfilter/vf_ssim.c if (av_cmp_q(mainlink->time_base, outlink->time_base) || av_cmp_q 449 libavfilter/vf_ssim.c av_cmp_q(ctx->inputs[1]->time_base, outlink->time_base)) av_cmp_q 267 libavfilter/vf_tinterlace.c if (!av_cmp_q(standard_tbs[i], outlink->time_base)) av_cmp_q 261 libavfilter/vf_vpp_qsv.c if (av_cmp_q(vpp->framerate, inlink->frame_rate)) av_cmp_q 811 libavformat/dashenc.c if (as->media_type == AVMEDIA_TYPE_VIDEO && as->max_frame_rate.num && !as->ambiguous_frame_rate && av_cmp_q(as->min_frame_rate, as->max_frame_rate) < 0) av_cmp_q 813 libavformat/dashenc.c else if (as->media_type == AVMEDIA_TYPE_VIDEO && as->max_frame_rate.num && !as->ambiguous_frame_rate && !av_cmp_q(as->min_frame_rate, as->max_frame_rate)) av_cmp_q 853 libavformat/dashenc.c if (st->avg_frame_rate.num && av_cmp_q(as->min_frame_rate, as->max_frame_rate) < 0) av_cmp_q 1216 libavformat/dashenc.c if (av_cmp_q(c->min_playback_rate, (AVRational) {1, 1}) || av_cmp_q 1217 libavformat/dashenc.c av_cmp_q(c->max_playback_rate, (AVRational) {1, 1})) av_cmp_q 1433 libavformat/dashenc.c if (av_cmp_q(c->max_playback_rate, c->min_playback_rate) < 0) { av_cmp_q 1651 libavformat/dashenc.c if (av_cmp_q(avg_frame_rate, as->min_frame_rate) < 0) av_cmp_q 1653 libavformat/dashenc.c if (av_cmp_q(as->max_frame_rate, avg_frame_rate) < 0) av_cmp_q 1673 libavformat/dashenc.c if (as->par.num && av_cmp_q(par, as->par)) { av_cmp_q 529 libavformat/dump.c av_cmp_q(st->sample_aspect_ratio, st->codecpar->sample_aspect_ratio)) { av_cmp_q 1219 libavformat/matroskaenc.c && av_cmp_q(av_inv_q(st->avg_frame_rate), st->time_base) > 0) av_cmp_q 1222 libavformat/matroskaenc.c && av_cmp_q(av_inv_q(st->r_frame_rate), st->time_base) > 0) av_cmp_q 324 libavformat/mux.c if (av_cmp_q(st->sample_aspect_ratio, par->sample_aspect_ratio) av_cmp_q 165 libavformat/mxf.c if (!av_cmp_q(time_base, mxf_content_package_rates[i].tb)) av_cmp_q 1983 libavutil/opt.c return !av_cmp_q(*(AVRational*)dst, q); av_cmp_q 2032 libavutil/opt.c return !av_cmp_q(*(AVRational*)dst, q); av_cmp_q 139 libavutil/rational.c return ((x_up > q.num) - (x_down < q.num)) * av_cmp_q(q2, q1); av_cmp_q 38 libavutil/tests/rational.c int c = av_cmp_q(a,b); av_cmp_q 99 libavutil/tests/rational.c if (av_cmp_q(b, a) < 0)