/third_party/ffmpeg/libavcodec/ |
D | libdav1d.c | 365 … mastering->display_primaries[i][0] = av_make_q(p->mastering_display->primaries[i][0], 1 << 16); in libdav1d_receive_frame() 366 … mastering->display_primaries[i][1] = av_make_q(p->mastering_display->primaries[i][1], 1 << 16); in libdav1d_receive_frame() 368 mastering->white_point[0] = av_make_q(p->mastering_display->white_point[0], 1 << 16); in libdav1d_receive_frame() 369 mastering->white_point[1] = av_make_q(p->mastering_display->white_point[1], 1 << 16); in libdav1d_receive_frame() 371 mastering->max_luminance = av_make_q(p->mastering_display->max_luminance, 1 << 8); in libdav1d_receive_frame() 372 mastering->min_luminance = av_make_q(p->mastering_display->min_luminance, 1 << 14); in libdav1d_receive_frame()
|
D | pcm_rechunk_bsf.c | 42 AVRational sr = av_make_q(ctx->par_in->sample_rate, 1); in init() 103 AVRational sr = av_make_q(ctx->par_in->sample_rate, 1); in get_next_nb_samples()
|
D | pngdec.c | 1509 mdm->white_point[0] = av_make_q(s->white_point[0], 100000); in output_frame() 1510 mdm->white_point[1] = av_make_q(s->white_point[1], 100000); in output_frame() 1514 mdm->display_primaries[i][0] = av_make_q(s->display_primaries[i][0], 100000); in output_frame() 1515 mdm->display_primaries[i][1] = av_make_q(s->display_primaries[i][1], 100000); in output_frame()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_dejudder.c | 86 outlink->time_base = av_mul_q(inlink->time_base, av_make_q(1, 2 * s->cycle)); in config_out_props() 87 outlink->frame_rate = av_mul_q(inlink->frame_rate, av_make_q(2 * s->cycle, 1)); in config_out_props()
|
D | vf_untile.c | 95 outlink->frame_rate = av_mul_q(inlink->frame_rate, av_make_q(s->nb_frames, 1)); in config_output() 99 dt = av_mul_q(inlink->time_base, av_make_q(1, s->nb_frames)); in config_output()
|
D | vf_tinterlace.c | 229 av_make_q(2, 1)); in config_out_props() 393 out->sample_aspect_ratio = av_mul_q(cur->sample_aspect_ratio, av_make_q(2, 1)); in filter_frame() 424 out->sample_aspect_ratio = av_mul_q(cur->sample_aspect_ratio, av_make_q(2, 1)); in filter_frame()
|
D | framequeue.c | 142 b->frame->pts += av_rescale_q(samples, av_make_q(1, b->frame->sample_rate), time_base); in ff_framequeue_skip_samples()
|
D | vsrc_testsrc.c | 773 y0 = av_rescale_q(s->pts, s->time_base, av_make_q(2, s->h - 16)); in test2_fill_picture() 774 g0 = av_rescale_q(s->pts, s->time_base, av_make_q(1, 128)); in test2_fill_picture() 800 pos = av_rescale_q(s->pts, s->time_base, av_make_q(64 >> (c << 1), cycle)) % cycle; in test2_fill_picture() 833 size = av_rescale_q(s->pts, s->time_base, av_make_q(4, cycle)); in test2_fill_picture() 885 unsigned x = av_rescale_q(s->pts, s->time_base, av_make_q(233, 55 * w)) % (w << 1); in test2_fill_picture() 886 unsigned y = av_rescale_q(s->pts, s->time_base, av_make_q(233, 89 * h)) % (h << 1); in test2_fill_picture() 903 time = av_rescale_q(s->pts, s->time_base, av_make_q(1, 1000)) % 86400000; in test2_fill_picture()
|
D | avf_concat.c | 142 outlink->frame_rate = av_make_q(1, 0); in config_output() 189 av_make_q(1, inlink->sample_rate), in push_frame()
|
D | avf_showcqt.c | 1171 out->sample_aspect_ratio = av_make_q(1, 1); in plot_cqt() 1365 outlink->sample_aspect_ratio = av_make_q(1, 1); in config_output() 1367 outlink->time_base = av_mul_q(av_inv_q(s->rate), av_make_q(1, PTS_STEP)); in config_output() 1465 s->step_frac = av_div_q(av_make_q(inlink->sample_rate, s->count) , s->rate); in config_output() 1527 … int64_t pts = av_rescale_q(insamples->pts, inlink->time_base, av_make_q(1, inlink->sample_rate)); in filter_frame() 1529 pts = av_rescale_q(pts, av_make_q(1, inlink->sample_rate), outlink->time_base); in filter_frame()
|
D | vf_tile.c | 141 av_make_q(1, tile->nb_frames - tile->overlap)); in config_props()
|
D | vf_subtitles.c | 461 … const int64_t start_time = av_rescale_q(sub.pts, AV_TIME_BASE_Q, av_make_q(1, 1000)); in init_subtitles()
|
D | avf_showwaves.c | 427 …showwaves->n = FFMAX(1, av_rescale_q(inlink->sample_rate, av_make_q(1, showwaves->w), showwaves->r… in config_output() 665 av_make_q(1, inlink->sample_rate), in alloc_out_frame()
|
D | vf_stack.c | 344 outlink->frame_rate = av_make_q(1, 0); in config_output()
|
D | af_firequalizer.c | 872 …s->next_pts = frame->pts + av_rescale_q(frame->nb_samples, av_make_q(1, inlink->sample_rate), inli… in filter_frame() 874 … frame->pts -= av_rescale_q(s->fir_len/2, av_make_q(1, inlink->sample_rate), inlink->time_base); in filter_frame()
|
D | vf_palettegen.c | 539 outlink->sample_aspect_ratio = av_make_q(1, 1); in config_output()
|
/third_party/ffmpeg/libavutil/ |
D | rational.h | 71 static inline AVRational av_make_q(int num, int den) in av_make_q() function
|
D | rational.c | 192 return lcm < max_den ? av_make_q(av_gcd(a.num, b.num), lcm) : def; in av_gcd_q()
|
/third_party/ffmpeg/libavformat/ |
D | vorbiscomment.c | 100 ms = av_rescale_q(chp->start, chp->time_base, av_make_q( 1, 1000)) % 1000; in ff_vorbiscomment_write()
|
D | mccdec.c | 135 rate = av_make_q(num, den); in mcc_read_header()
|
D | vividas.c | 658 …pkt->pts = av_rescale_q(viv->audio_sample, av_make_q(1, astream->codecpar->sample_rate), astream->… in viv_read_packet() 772 av_make_q(par->sample_rate, 1), in viv_read_seek()
|
D | mov.c | 295 avpriv_new_chapter(c->fc, i, av_make_q(1, 1000), moment_time, AV_NOPTS_VALUE, NULL); in mov_metadata_hmmt() 5097 timescale = av_make_q(1, avio_rb32(pb)); in mov_read_sidx() 5451 sc->mastering->display_primaries[i][0] = av_make_q(avio_rb16(pb), 1 << 16); in mov_read_smdm() 5452 sc->mastering->display_primaries[i][1] = av_make_q(avio_rb16(pb), 1 << 16); in mov_read_smdm() 5454 sc->mastering->white_point[0] = av_make_q(avio_rb16(pb), 1 << 16); in mov_read_smdm() 5455 sc->mastering->white_point[1] = av_make_q(avio_rb16(pb), 1 << 16); in mov_read_smdm() 5457 sc->mastering->max_luminance = av_make_q(avio_rb32(pb), 1 << 8); in mov_read_smdm() 5458 sc->mastering->min_luminance = av_make_q(avio_rb32(pb), 1 << 14); in mov_read_smdm() 5490 sc->mastering->display_primaries[j][0] = av_make_q(avio_rb16(pb), chroma_den); in mov_read_mdcv() 5491 sc->mastering->display_primaries[j][1] = av_make_q(avio_rb16(pb), chroma_den); in mov_read_mdcv() [all …]
|
D | mxfdec.c | 1304 …descriptor->mastering->display_primaries[i][0] = av_make_q(avio_rb16(pb), FF_MXF_MASTERING_CHROMA_… in mxf_read_generic_descriptor() 1305 …descriptor->mastering->display_primaries[i][1] = av_make_q(avio_rb16(pb), FF_MXF_MASTERING_CHROMA_… in mxf_read_generic_descriptor() 1312 … descriptor->mastering->white_point[0] = av_make_q(avio_rb16(pb), FF_MXF_MASTERING_CHROMA_DEN); in mxf_read_generic_descriptor() 1313 … descriptor->mastering->white_point[1] = av_make_q(avio_rb16(pb), FF_MXF_MASTERING_CHROMA_DEN); in mxf_read_generic_descriptor() 1319 … descriptor->mastering->max_luminance = av_make_q(avio_rb32(pb), FF_MXF_MASTERING_LUMA_DEN); in mxf_read_generic_descriptor() 1325 … descriptor->mastering->min_luminance = av_make_q(avio_rb32(pb), FF_MXF_MASTERING_LUMA_DEN); in mxf_read_generic_descriptor()
|
/third_party/ffmpeg/libavdevice/ |
D | decklink_dec.cpp | 806 if (!hfr && av_cmp_q(frame_rate, av_make_q(30, 1)) == 1) in get_bmd_timecode() 823 if (ctx->tc_format == bmdTimecodeRP188Any && av_cmp_q(frame_rate, av_make_q(30, 1)) == 1) { in get_frame_timecode() 860 AVRational remainder = av_make_q(av_gettime() % cctx->timestamp_align, 1000000); in VideoInputFrameArrived() 927 if (av_cmp_q(ctx->video_st->r_frame_rate, av_make_q(60, 1)) < 1) { in VideoInputFrameArrived() 1316 st->r_frame_rate = av_make_q(st->time_base.den, st->time_base.num); in ff_decklink_read_header()
|
D | decklink_common.cpp | 256 AVRational target_tb = av_make_q(tb_num, tb_den); in ff_decklink_set_format() 266 AVRational mode_tb = av_make_q(bmd_tb_num, bmd_tb_den); in ff_decklink_set_format()
|