Home
last modified time | relevance | path

Searched refs:av_make_q (Results 1 – 25 of 37) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dlibdav1d.c365 … 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()
Dpcm_rechunk_bsf.c42 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()
Dpngdec.c1509 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/
Dvf_dejudder.c86 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()
Dvf_untile.c95 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()
Dvf_tinterlace.c229 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()
Dframequeue.c142 b->frame->pts += av_rescale_q(samples, av_make_q(1, b->frame->sample_rate), time_base); in ff_framequeue_skip_samples()
Dvsrc_testsrc.c773 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()
Davf_concat.c142 outlink->frame_rate = av_make_q(1, 0); in config_output()
189 av_make_q(1, inlink->sample_rate), in push_frame()
Davf_showcqt.c1171 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()
Dvf_tile.c141 av_make_q(1, tile->nb_frames - tile->overlap)); in config_props()
Dvf_subtitles.c461 … const int64_t start_time = av_rescale_q(sub.pts, AV_TIME_BASE_Q, av_make_q(1, 1000)); in init_subtitles()
Davf_showwaves.c427 …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()
Dvf_stack.c344 outlink->frame_rate = av_make_q(1, 0); in config_output()
Daf_firequalizer.c872 …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()
Dvf_palettegen.c539 outlink->sample_aspect_ratio = av_make_q(1, 1); in config_output()
/third_party/ffmpeg/libavutil/
Drational.h71 static inline AVRational av_make_q(int num, int den) in av_make_q() function
Drational.c192 return lcm < max_den ? av_make_q(av_gcd(a.num, b.num), lcm) : def; in av_gcd_q()
/third_party/ffmpeg/libavformat/
Dvorbiscomment.c100 ms = av_rescale_q(chp->start, chp->time_base, av_make_q( 1, 1000)) % 1000; in ff_vorbiscomment_write()
Dmccdec.c135 rate = av_make_q(num, den); in mcc_read_header()
Dvividas.c658 …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()
Dmov.c295 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 …]
Dmxfdec.c1304 …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/
Ddecklink_dec.cpp806 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()
Ddecklink_common.cpp256 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()

12