/third_party/ffmpeg/libavutil/ |
D | rational.c | 35 int av_reduce(int *dst_num, int *dst_den, in av_reduce() function 82 av_reduce(&b.num, &b.den, in av_mul_q() 94 av_reduce(&b.num, &b.den, in av_add_q() 120 av_reduce(&a.num, &a.den, floor(d * den + 0.5), den, max); in av_d2q() 122 av_reduce(&a.num, &a.den, floor(d * den + 0.5), den, INT_MAX); in av_d2q()
|
D | rational.h | 120 int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max);
|
D | parseutils.c | 60 av_reduce(&q->num, &q->den, q->num, q->den, max); in av_parse_ratio()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_aspect.c | 81 av_reduce(&dar->num, &dar->den, sar.num * (int64_t)w, sar.den * (int64_t)h, INT_MAX); in compute_dar() 83 av_reduce(&dar->num, &dar->den, w, h, INT_MAX); in compute_dar() 142 av_reduce(&s->sar.num, &s->sar.den, in setdar_config_props()
|
/third_party/ffmpeg/libavcodec/ |
D | canopus.c | 43 av_reduce(&avctx->sample_aspect_ratio.num, in ff_canopus_parse_info_tag()
|
D | h265_metadata_bsf.c | 166 av_reduce(&num, &den, ctx->tick_rate.num, ctx->tick_rate.den, in h265_metadata_update_vps() 206 av_reduce(&num, &den, ctx->sample_aspect_ratio.num, in h265_metadata_update_sps() 280 av_reduce(&num, &den, ctx->tick_rate.num, ctx->tick_rate.den, in h265_metadata_update_sps()
|
D | pcxenc.c | 156 av_reduce(&sw, &sh, sw, sh, 0xFFFFu); in pcx_encode_frame()
|
D | mpeg2_metadata_bsf.c | 88 av_reduce(&num, &den, ctx->display_aspect_ratio.num, in mpeg2_metadata_update_fragment()
|
D | av1_metadata_bsf.c | 90 av_reduce(&num, &den, ctx->tick_rate.num, ctx->tick_rate.den, in av1_metadata_update_sequence_header()
|
D | h264_metadata_bsf.c | 155 av_reduce(&num, &den, ctx->sample_aspect_ratio.num, in h264_metadata_update_sps() 221 av_reduce(&num, &den, ctx->tick_rate.num, ctx->tick_rate.den, in h264_metadata_update_sps()
|
D | libaomdec.c | 201 av_reduce(&picture->sample_aspect_ratio.num, in aom_decode()
|
D | libdav1d.c | 288 av_reduce(&frame->sample_aspect_ratio.num, in libdav1d_receive_frame() 322 av_reduce(&c->framerate.den, &c->framerate.num, in libdav1d_receive_frame()
|
D | hevc_parser.c | 110 av_reduce(&avctx->framerate.den, &avctx->framerate.num, in hevc_parse_slice_header()
|
D | mjpegenc_common.c | 146 …if (!av_reduce(&sar.num, &sar.den, avctx->sample_aspect_ratio.num, avctx->sample_aspect_ratio.den,… in jpeg_put_comments()
|
/third_party/ffmpeg/libavformat/ |
D | oggparseskeleton.c | 68 av_reduce(&start_time, &base_den, start_num, start_den, INT_MAX); in skeleton_header()
|
D | apngenc.c | 95 av_reduce(&apng->last_delay.num, &apng->last_delay.den, in apng_write_header() 194 … if (!av_reduce(&delay.num, &delay.den, delay_num_raw, delay_den_raw, USHRT_MAX) && in flush_packet()
|
D | tmv.c | 130 av_reduce(&fps.num, &fps.den, fps.num, fps.den, 0xFFFFFFFFLL); in tmv_read_header()
|
D | mccdec.c | 130 av_reduce(&num, &den, num * 1000LL, 1001, INT_MAX); in mcc_read_header()
|
D | yuv4mpegenc.c | 44 av_reduce(&raten, &rated, st->time_base.den, in yuv4_write_header()
|
D | dxa.c | 134 av_reduce(&den, &num, den, num, (1UL<<31)-1); in dxa_read_header()
|
D | yuv4mpegdec.c | 267 av_reduce(&raten, &rated, raten, rated, (1UL << 31) - 1); in yuv4_read_header()
|
D | sierravmd.c | 172 av_reduce(&num, &den, num, den, (1UL<<31)-1); in vmd_read_header()
|
D | rpl.c | 111 av_reduce(&result.num, &result.den, num, den, 0x7FFFFFFF); in read_fps()
|
D | smacker.c | 141 av_reduce(&tbase, &pts_inc, tbase, pts_inc, (1UL << 31) - 1); in smacker_read_header()
|
/third_party/ffmpeg/libswresample/ |
D | resample.c | 303 av_reduce(&phase_count_exact, &phase_count_exact_den, out_rate, in_rate, INT_MAX); in resample_init() 361 … if(!av_reduce(&c->src_incr, &c->dst_incr, out_rate, in_rate * (int64_t)phase_count, INT32_MAX/2)) in resample_init() 408 if (!av_reduce(&new_src_incr, &new_dst_incr, c->src_incr, in rebuild_filter_bank_with_compensation()
|