Searched refs:av_d2q (Results 1 – 20 of 20) sorted by relevance
/third_party/ffmpeg/libavutil/ |
D | rational.h | 176 AVRational av_d2q(double d, int max) av_const;
|
D | rational.c | 106 AVRational av_d2q(double d, int max) in av_d2q() function
|
D | opt.c | 162 *(AVRational *)dst = av_d2q(num * intnum / den, 1 << 24); in write_number() 948 *out_val = av_d2q(num*intnum/den, 1<<24); in av_opt_get_q() 982 *out_val = av_d2q(num * intnum / den, 1 << 24); in av_opt_get_video_rate() 1317 AVRational q = av_d2q(opt->default_val.dbl, INT_MAX); in opt_list() 1399 val = av_d2q(opt->default_val.dbl, INT_MAX); in av_opt_set_defaults2() 2003 q = av_d2q(o->default_val.dbl, INT_MAX); in av_opt_is_set_to_default()
|
D | parseutils.c | 58 *q = av_d2q(d, max); in av_parse_ratio()
|
/third_party/ffmpeg/libavformat/ |
D | mgsts.c | 57 fps = av_d2q(av_int2float(avio_rb32(pb)), INT_MAX); in read_header()
|
D | nuv.c | 211 vst->sample_aspect_ratio = av_d2q(aspect * height / width, in nuv_header() 216 vst->avg_frame_rate = av_d2q(fps, 60000); in nuv_header()
|
D | microdvddec.c | 116 pts_info = av_d2q(fps, 100000); in microdvd_read_header()
|
D | thp.c | 77 thp->fps = av_d2q(av_int2float(avio_rb32(pb)), INT_MAX); in thp_read_header()
|
D | matroskadec.c | 2197 metadata->display_primaries[0][0] = av_d2q(mastering_meta->r_x, INT_MAX); in mkv_parse_video_color() 2198 metadata->display_primaries[0][1] = av_d2q(mastering_meta->r_y, INT_MAX); in mkv_parse_video_color() 2199 metadata->display_primaries[1][0] = av_d2q(mastering_meta->g_x, INT_MAX); in mkv_parse_video_color() 2200 metadata->display_primaries[1][1] = av_d2q(mastering_meta->g_y, INT_MAX); in mkv_parse_video_color() 2201 metadata->display_primaries[2][0] = av_d2q(mastering_meta->b_x, INT_MAX); in mkv_parse_video_color() 2202 metadata->display_primaries[2][1] = av_d2q(mastering_meta->b_y, INT_MAX); in mkv_parse_video_color() 2203 metadata->white_point[0] = av_d2q(mastering_meta->white_x, INT_MAX); in mkv_parse_video_color() 2204 metadata->white_point[1] = av_d2q(mastering_meta->white_y, INT_MAX); in mkv_parse_video_color() 2208 metadata->max_luminance = av_d2q(mastering_meta->max_luminance, INT_MAX); in mkv_parse_video_color() 2209 metadata->min_luminance = av_d2q(mastering_meta->min_luminance.el.f, INT_MAX); in mkv_parse_video_color()
|
D | 4xm.c | 257 fourxm->fps = av_d2q(av_int2float(AV_RL32(&header[i + 12])), 10000); in fourxm_read_header()
|
D | mvdec.c | 91 v = av_d2q(av_strtod(s, NULL), INT_MAX); in var_read_float()
|
D | flvdec.c | 612 flv->framerate = av_d2q(num_val, 1000); in amf_parse_object()
|
D | mov.c | 4317 st->sample_aspect_ratio = av_d2q(((double)st->codecpar->height * sc->width) / in mov_read_trak() 4640 st->sample_aspect_ratio = av_d2q( in mov_read_tkhd()
|
/third_party/ffmpeg/libavfilter/ |
D | settb.c | 92 time_base = av_d2q(res, INT_MAX); in config_output_props()
|
D | colorspace.c | 206 metadata->max_luminance = av_d2q(peak * REFERENCE_WHITE, 10000); in ff_update_hdr_metadata()
|
D | vf_aspect.c | 111 *aspect_ratio = av_d2q(res, s->max); in get_aspect_ratio()
|
/third_party/ffmpeg/libavcodec/ |
D | libdavs2.c | 81 avctx->framerate = av_d2q(headerset->frame_rate,4096); in davs2_dump_frames()
|
D | dpx.c | 263 AVRational q = av_d2q(av_int2float(i), 4096); in decode_frame() 275 AVRational q = av_d2q(av_int2float(i), 4096); in decode_frame()
|
D | exr.c | 2127 ff_set_sar(s->avctx, av_d2q(av_int2float(s->sar), 255)); in decode_frame()
|
D | mpeg12dec.c | 1212 AVRational aspect_inv = av_d2q(ff_mpeg1_aspect[s->aspect_ratio_info], 255); in mpeg_decode_postinit()
|