Home
last modified time | relevance | path

Searched refs:FFMIN3 (Results 1 – 25 of 38) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dvf_cas.c91 mn = FFMIN3(FFMIN3( d, e, f), b, h); in cas_slice8()
92 mn2 = FFMIN3(FFMIN3(mn, a, c), g, i); in cas_slice8()
158 mn = FFMIN3(FFMIN3( d, e, f), b, h); in cas_slice16()
159 mn2 = FFMIN3(FFMIN3(mn, a, c), g, i); in cas_slice16()
Dvf_colorbalance.c122 return av_clipf(l - a * FFMAX(FFMIN3(k - 3.f, 9.f - k, 1), -1.f), 0, 1); in hfun()
128 float min = FFMIN3(*r, *g, *b); in preservel()
182 const float l = FFMAX3(r, g, b) + FFMIN3(r, g, b); in color_balance8_p()
236 const float l = (FFMAX3(r, g, b) + FFMIN3(r, g, b)); in color_balance16_p()
293 const float l = (FFMAX3(r, g, b) + FFMIN3(r, g, b)); in color_balance8()
345 const float l = (FFMAX3(r, g, b) + FFMIN3(r, g, b)); in color_balance16()
Dvf_colorchannelmixer.c154 lin = FFMAX3(rin, gin, bin) + FFMIN3(rin, gin, bin); in filter_slice_rgba_planar()
173 float lout = FFMAX3(frout, fgout, fbout) + FFMIN3(frout, fgout, fbout); in filter_slice_rgba_planar()
240 lin = FFMAX3(rin, gin, bin) + FFMIN3(rin, gin, bin); in filter_slice_rgba16_planar()
259 float lout = FFMAX3(frout, fgout, fbout) + FFMIN3(frout, fgout, fbout); in filter_slice_rgba16_planar()
427 lin = FFMAX3(rin, gin, bin) + FFMIN3(rin, gin, bin); in filter_slice_rgba_packed()
446 float lout = FFMAX3(frout, fgout, fbout) + FFMIN3(frout, fgout, fbout); in filter_slice_rgba_packed()
509 lin = FFMAX3(rin, gin, bin) + FFMIN3(rin, gin, bin); in filter_slice_rgba16_packed()
528 float lout = FFMAX3(frout, fgout, fbout) + FFMIN3(frout, fgout, fbout); in filter_slice_rgba16_packed()
Dvf_convolve.c478 …ctx->internal->execute(ctx, fft_horizontal, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_thr… in do_convolve()
479 …ctx->internal->execute(ctx, fft_vertical, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threa… in do_convolve()
504 …ctx->internal->execute(ctx, fft_horizontal, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_thr… in do_convolve()
505 …ctx->internal->execute(ctx, fft_vertical, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threa… in do_convolve()
513 …ctx->internal->execute(ctx, s->filter, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threads(… in do_convolve()
518 …ctx->internal->execute(ctx, ifft_vertical, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_thre… in do_convolve()
519 …ctx->internal->execute(ctx, ifft_horizontal, &td, NULL, FFMIN3(MAX_THREADS, n, ff_filter_get_nb_th… in do_convolve()
Dvf_vibrance.c87 float min_color = FFMIN3(r, g, b); in vibrance_slice8()
146 float min_color = FFMIN3(r, g, b); in vibrance_slice16()
203 float min_color = FFMIN3(r, g, b); in vibrance_slice8p()
260 float min_color = FFMIN3(r, g, b); in vibrance_slice16p()
Dvf_swaprect.c159 w = FFMIN3(w, inlink->w - x1[0], inlink->w - x2[0]); in filter_frame()
160 h = FFMIN3(h, inlink->h - y1[0], inlink->h - y2[0]); in filter_frame()
Dvf_colortemperature.c92 l0 = (FFMAX3(r, g, b) + FFMIN3(r, g, b)) + FLT_EPSILON; \
93 l1 = (FFMAX3(nr, ng, nb) + FFMIN3(nr, ng, nb)) + FLT_EPSILON; \
Dvf_colorcontrast.c80 li = FFMAX3(r, g, b) + FFMIN3(r, g, b); \
81 lo = FFMAX3(nr, ng, nb) + FFMIN3(nr, ng, nb) + FLT_EPSILON; \
Dvf_colorconstancy.c493 int nb_jobs = FFMIN3(s->planeheight[1], s->planewidth[1], s->nb_threads); in filter_grey_edge()
630 int nb_jobs = FFMIN3(s->planeheight[1], s->planewidth[1], s->nb_threads); in chromatic_adaptation()
Dvf_chromanr.c199 FFMIN3(s->planeheight[1], in filter_frame()
Dvf_overlay.c375 imax = FFMIN3(-y + dst_h, FFMIN(src_h, dst_h), y + src_h); in blend_slice_packed_rgb()
468 …jmax = FFMIN3(-yp + dst_hp, FFMIN(src_hp, dst_hp), yp + src_hp); …
1032 …ctx->internal->execute(ctx, s->blend_slice, &td, NULL, FFMIN(FFMAX(1, FFMIN3(s->y + second->height… in do_blend()
Dvf_yadif.c74 int min = FFMIN3(d - e, d - c, FFMAX(b - c, f - e)); \
Dvf_bwdif.c89 int min = FFMIN3(de, dc, FFMAX(b, f)); \
Dvf_selectivecolor.c343 … const int min_color = FFMIN3(r, g, b); \
Dvf_normalize.c332 rgb_min_smoothed = FFMIN3(min[0].smoothed, min[1].smoothed, min[2].smoothed); in normalize()
Dvf_chromashift.c367 FFMIN3(s->height[1], in filter_frame()
Dvf_atadenoise.c495 FFMIN3(s->planeheight[1], in filter_frame()
/third_party/ffmpeg/libavcodec/
Dpsymodel.h35 #define AAC_CUTOFF_FROM_BITRATE(bit_rate,channels,sample_rate) (bit_rate ? FFMIN3(FFMIN3( \
Dargo.c217 bsize_w = FFMIN3(bsize_w, w - mvx, w - mx); in decode_mad1()
218 bsize_h = FFMIN3(bsize_h, h - mvy, h - my); in decode_mad1()
430 bsize_w = FFMIN3(bsize_w, w - mvx, w - mx); in decode_mad1_24()
431 bsize_h = FFMIN3(bsize_h, h - mvy, h - my); in decode_mad1_24()
Dsgirledec.c96 int length = FFMIN3(v, width - x, src_end - src); in decode_sgirle8()
Dindeo3.c983 if (FFMIN3(y_offset, v_offset, u_offset) < 0 || in decode_frame_headers()
985 FFMIN3(y_offset, v_offset, u_offset) < gb.buffer - bs_hdr + 16 || in decode_frame_headers()
986 FFMIN3(ctx->y_data_size, ctx->v_data_size, ctx->u_data_size) <= 0) { in decode_frame_headers()
Ddsicinvideo.c184 memcpy(dst, src, FFMIN3(len, dst_end - dst, src_end - src)); in cin_decode_rle()
Dxan.c273 int count = FFMIN3(pixel_count, width - curframe_x, in xan_wc3_copy_pixel_run()
/third_party/gstreamer/gstplugins_good/gst/deinterlace/
Dyadif.c191 #define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c) macro
231 int min = FFMIN3(d - e, d - c, FFMAX(b - c, f - e)); \
/third_party/ffmpeg/libavutil/
Dcommon.h106 #define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c) macro

12