av_d2q 164 libavcodec/dpx.c AVRational q = av_d2q(av_int2float(i), 4096); av_d2q 1194 libavcodec/exr.c av_d2q(av_int2float(bytestream2_get_le32(&s->gb)), 255)); av_d2q 1278 libavcodec/mpeg12dec.c avctx->sample_aspect_ratio = av_d2q(1.0 / ff_mpeg1_aspect[s->aspect_ratio_info], 255); av_d2q 91 libavfilter/settb.c time_base = av_d2q(res, INT_MAX); av_d2q 86 libavfilter/vf_aspect.c s->sar = s->dar = av_d2q(num / s->aspect_den, s->max); av_d2q 137 libavfilter/vf_aspect.c *aspect_ratio = av_d2q(res, s->max); av_d2q 57 libavformat/mgsts.c fps = av_d2q(av_int2float(avio_rb32(pb)), INT_MAX); av_d2q 113 libavformat/microdvddec.c pts_info = av_d2q(fps, 100000); av_d2q 2712 libavformat/mov.c st->sample_aspect_ratio = av_d2q(((double)st->codec->height * sc->width) / av_d2q 2977 libavformat/mov.c st->sample_aspect_ratio = av_d2q( av_d2q 91 libavformat/mvdec.c v = av_d2q(av_strtod(s, NULL), INT_MAX); av_d2q 198 libavformat/nuv.c vst->sample_aspect_ratio = av_d2q(aspect * height / width, av_d2q 203 libavformat/nuv.c vst->avg_frame_rate = av_d2q(fps, 60000); av_d2q 77 libavformat/thp.c thp->fps = av_d2q(av_int2float(avio_rb32(pb)), INT_MAX); av_d2q 114 libavutil/opt.c else *(AVRational*)dst= av_d2q(num*intnum/den, 1<<24); av_d2q 807 libavutil/opt.c return av_d2q(num*intnum/den, 1<<24); av_d2q 858 libavutil/opt.c *out_val = av_d2q(num*intnum/den, 1<<24); av_d2q 892 libavutil/opt.c *out_val = av_d2q(num*intnum/den, 1<<24); av_d2q 1136 libavutil/opt.c AVRational q = av_d2q(opt->default_val.dbl, INT_MAX); av_d2q 1217 libavutil/opt.c val = av_d2q(opt->default_val.dbl, INT_MAX); av_d2q 1784 libavutil/opt.c q = av_d2q(o->default_val.dbl, INT_MAX); av_d2q 57 libavutil/parseutils.c *q = av_d2q(d, max); av_d2q 147 libavutil/rational.h AVRational av_d2q(double d, int max) av_const;