av_d2q 223 libavcodec/dpx.c AVRational q = av_d2q(av_int2float(i), 4096); av_d2q 1617 libavcodec/exr.c ff_set_sar(s->avctx, av_d2q(av_int2float(sar), 255)); av_d2q 80 libavcodec/libdavs2.c avctx->framerate = av_d2q(headerset->frame_rate,4096); av_d2q 1219 libavcodec/mpeg12dec.c AVRational aspect_inv = av_d2q(ff_mpeg1_aspect[s->aspect_ratio_info], 255); av_d2q 206 libavfilter/colorspace.c metadata->max_luminance = av_d2q(peak * REFERENCE_WHITE, 10000); av_d2q 92 libavfilter/settb.c time_base = av_d2q(res, INT_MAX); av_d2q 111 libavfilter/vf_aspect.c *aspect_ratio = av_d2q(res, s->max); av_d2q 257 libavformat/4xm.c fourxm->fps = av_d2q(av_int2float(AV_RL32(&header[i + 12])), 10000); av_d2q 597 libavformat/flvdec.c flv->framerate = av_d2q(num_val, 1000); av_d2q 2142 libavformat/matroskadec.c metadata->display_primaries[0][0] = av_d2q(mastering_meta->r_x, INT_MAX); av_d2q 2143 libavformat/matroskadec.c metadata->display_primaries[0][1] = av_d2q(mastering_meta->r_y, INT_MAX); av_d2q 2144 libavformat/matroskadec.c metadata->display_primaries[1][0] = av_d2q(mastering_meta->g_x, INT_MAX); av_d2q 2145 libavformat/matroskadec.c metadata->display_primaries[1][1] = av_d2q(mastering_meta->g_y, INT_MAX); av_d2q 2146 libavformat/matroskadec.c metadata->display_primaries[2][0] = av_d2q(mastering_meta->b_x, INT_MAX); av_d2q 2147 libavformat/matroskadec.c metadata->display_primaries[2][1] = av_d2q(mastering_meta->b_y, INT_MAX); av_d2q 2148 libavformat/matroskadec.c metadata->white_point[0] = av_d2q(mastering_meta->white_x, INT_MAX); av_d2q 2149 libavformat/matroskadec.c metadata->white_point[1] = av_d2q(mastering_meta->white_y, INT_MAX); av_d2q 2153 libavformat/matroskadec.c metadata->max_luminance = av_d2q(mastering_meta->max_luminance, INT_MAX); av_d2q 2154 libavformat/matroskadec.c metadata->min_luminance = av_d2q(mastering_meta->min_luminance, INT_MAX); av_d2q 57 libavformat/mgsts.c fps = av_d2q(av_int2float(avio_rb32(pb)), INT_MAX); av_d2q 116 libavformat/microdvddec.c pts_info = av_d2q(fps, 100000); av_d2q 4292 libavformat/mov.c st->sample_aspect_ratio = av_d2q(((double)st->codecpar->height * sc->width) / av_d2q 4615 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 207 libavformat/nuv.c vst->sample_aspect_ratio = av_d2q(aspect * height / width, av_d2q 212 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 162 libavutil/opt.c *(AVRational *)dst = av_d2q(num * intnum / den, 1 << 24); av_d2q 948 libavutil/opt.c *out_val = av_d2q(num*intnum/den, 1<<24); av_d2q 982 libavutil/opt.c *out_val = av_d2q(num * intnum / den, 1 << 24); av_d2q 1316 libavutil/opt.c AVRational q = av_d2q(opt->default_val.dbl, INT_MAX); av_d2q 1398 libavutil/opt.c val = av_d2q(opt->default_val.dbl, INT_MAX); av_d2q 1982 libavutil/opt.c q = av_d2q(o->default_val.dbl, INT_MAX); av_d2q 58 libavutil/parseutils.c *q = av_d2q(d, max); av_d2q 176 libavutil/rational.h AVRational av_d2q(double d, int max) av_const;