Home
last modified time | relevance | path

Searched refs:av_mul_q (Results 1 – 25 of 48) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dvf_tinterlace.c228 outlink->sample_aspect_ratio = av_mul_q(inlink->sample_aspect_ratio, in config_out_props()
256 outlink->frame_rate = av_mul_q(inlink->frame_rate, (AVRational){2,1}); in config_out_props()
257 outlink->time_base = av_mul_q(inlink->time_base , (AVRational){1,2}); in config_out_props()
262 outlink->frame_rate = av_mul_q(inlink->frame_rate, (AVRational){1,2}); in config_out_props()
263 outlink->time_base = av_mul_q(inlink->time_base , (AVRational){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()
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_telecine.c154 fps = av_mul_q(fps, av_inv_q(s->pts)); in config_output()
159 outlink->time_base = av_mul_q(inlink->time_base, s->pts); in config_output()
163 s->ts_unit = av_inv_q(av_mul_q(fps, outlink->time_base)); in config_output()
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_detelecine.c180 fps = av_mul_q(fps, av_inv_q(s->pts)); in config_output()
185 outlink->time_base = av_mul_q(inlink->time_base, s->pts); in config_output()
189 s->ts_unit = av_inv_q(av_mul_q(fps, outlink->time_base)); in config_output()
Dvf_deinterlace_vaapi.c169 outlink->time_base = av_mul_q(inlink->time_base, in deint_vaapi_config_output()
171 outlink->frame_rate = av_mul_q(inlink->frame_rate, in deint_vaapi_config_output()
Dvf_decimate.c411 fps = av_mul_q(fps, (AVRational){dm->cycle - 1, dm->cycle}); in config_output()
424 dm->ts_unit = av_inv_q(av_mul_q(fps, outlink->time_base)); in config_output()
Dvf_deinterlace_qsv.c343 outlink->frame_rate = av_mul_q(inlink->frame_rate, in qsvdeint_config_props()
345 outlink->time_base = av_mul_q(inlink->time_base, in qsvdeint_config_props()
Dvf_scale_vaapi.c95 …outlink->sample_aspect_ratio = av_mul_q((AVRational){outlink->h * inlink->w, outlink->w * inlink->… in scale_vaapi_config_output()
Dvf_tile.c140 outlink->frame_rate = av_mul_q(inlink->frame_rate, in config_props()
Dvf_yadif.c306 outlink->frame_rate = av_mul_q(ctx->inputs[0]->frame_rate, in config_output()
Dvf_yadif_cuda.c306 link->frame_rate = av_mul_q(ctx->inputs[0]->frame_rate, in config_output()
Dvf_crop.c204 AVRational dar = av_mul_q(link->sample_aspect_ratio, in config_input()
Dvf_bwdif.c344 link->frame_rate = av_mul_q(link->src->inputs[0]->frame_rate, (AVRational){2,1}); in config_props()
/third_party/ffmpeg/libavutil/
Drational.c80 AVRational av_mul_q(AVRational b, AVRational c) in av_mul_q() function
90 return av_mul_q(b, (AVRational) { c.den, c.num }); in av_div_q()
Drational.h128 AVRational av_mul_q(AVRational b, AVRational c) av_const;
Dmathematics.c196 inc_tb = av_mul_q(inc_tb, (AVRational) {inc, 1}); in av_add_stable()
/third_party/ffmpeg/libavcodec/tests/
Dmpeg12framerate.c41 if (av_cmp_q(fr, av_mul_q(ff_mpeg12_frame_rate_tab[c], \ in main()
/third_party/ffmpeg/libavcodec/
Dmpeg12framerate.c70 test = av_mul_q(ff_mpeg12_frame_rate_tab[c], in ff_mpeg12_find_best_frame_rate()
Dav1_parser.c167 … avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1})); in av1_parser_parse()
Dmpegvideo_parser.c179 … avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1})); in mpegvideo_extract_headers()
Dvc1_parser.c117 … avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1})); in vc1_extract_header()
Drv10.c245 s->avctx->sample_aspect_ratio = av_mul_q(old_aspect, (AVRational){2, 1}); in rv20_decode_picture_header()
247 s->avctx->sample_aspect_ratio = av_mul_q(old_aspect, (AVRational){1, 2}); in rv20_decode_picture_header()
/third_party/ffmpeg/libavdevice/
Dsdl2.c107 dar = av_mul_q(sar, (AVRational){ codecpar->width, codecpar->height }); in compute_texture_rect()
Dxv.c235 dar = av_mul_q(sar, (AVRational){ par->width, par->height }); in compute_display_area()

12