Home
last modified time | relevance | path

Searched refs:FFMIN3 (Results 1 - 25 of 39) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
H A 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()
H A Dpreserve_color.h61 *icolor = FFMAX3(ir, ig, ib) + FFMIN3(ir, ig, ib); in preserve_color()
62 *ocolor = FFMAX3( r, g, b) + FFMIN3( r, g, b); in preserve_color()
H A Dvf_colorbalance.c115 return av_clipf(l - a * FFMAX(FFMIN3(k - 3.f, 9.f - k, 1), -1.f), 0.f, 1.f); in hfun()
121 float min = FFMIN3(*r, *g, *b); in preservel()
175 const float l = FFMAX3(r, g, b) + FFMIN3(r, g, b); in color_balance8_p()
229 const float l = (FFMAX3(r, g, b) + FFMIN3(r, g, b)); in color_balance16_p()
286 const float l = (FFMAX3(r, g, b) + FFMIN3(r, g, b)); in color_balance8()
338 const float l = (FFMAX3(r, g, b) + FFMIN3(r, g, b)); in color_balance16()
H A 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()
H A Dvf_swaprect.c150 w = FFMIN3(w, inlink->w - x1[0], inlink->w - x2[0]); in filter_frame()
151 h = FFMIN3(h, inlink->h - y1[0], inlink->h - y2[0]); in filter_frame()
H A Dvf_convolve.c643 FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threads(ctx))); in prepare_impulse()
645 FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threads(ctx))); in prepare_impulse()
669 FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threads(ctx))); in prepare_secondary()
671 FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threads(ctx))); in prepare_secondary()
713 FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threads(ctx))); in do_convolve()
715 FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threads(ctx))); in do_convolve()
725 FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threads(ctx))); in do_convolve()
733 FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threads(ctx))); in do_convolve()
739 FFMIN3(MAX_THREADS, n, ff_filter_get_nb_threads(ctx))); in do_convolve()
H A 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; \
H A Dvf_colorcontrast.c80 li = FFMAX3(r, g, b) + FFMIN3(r, g, b); \
81 lo = FFMAX3(nr, ng, nb) + FFMIN3(nr, ng, nb) + FLT_EPSILON; \
H A Dvf_colorconstancy.c497 int nb_jobs = FFMIN3(s->planeheight[1], s->planewidth[1], s->nb_threads); in filter_grey_edge()
634 int nb_jobs = FFMIN3(s->planeheight[1], s->planewidth[1], s->nb_threads); in chromatic_adaptation()
H A 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); \
578 imax = FFMIN3(-y + dst_h, FFMIN(src_h, dst_h), y + src_h); \
1035 ff_filter_execute(ctx, s->blend_slice, &td, NULL, FFMIN(FFMAX(1, FFMIN3(s->y + second->height, FFMIN(second->height, mainpic->height), mainpic->height - s->y)), in do_blend()
H A Dvf_bwdif.c88 int min = FFMIN3(de, dc, FFMAX(b, f)); \
H A Dvf_chromanr.c211 FFMIN3(s->planeheight[1], in filter_frame()
H A Dvf_yadif.c72 int min = FFMIN3(d - e, d - c, FFMAX(b - c, f - e)); \
H A Dvf_chromashift.c330 FFMIN3(s->height[1], in filter_frame()
H A Dvf_atadenoise.c487 FFMIN3(s->planeheight[1], in filter_frame()
H A Dvf_normalize.c332 rgb_min_smoothed = FFMIN3(min[0].smoothed, min[1].smoothed, min[2].smoothed); in normalize()
/third_party/ffmpeg/libavcodec/
H A Dpsymodel.h35 #define AAC_CUTOFF_FROM_BITRATE(bit_rate,channels,sample_rate) (bit_rate ? FFMIN3(FFMIN3( \
H A 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()
H A Dsgirledec.c97 int length = FFMIN3(v, width - x, src_end - src); in decode_sgirle8()
H A Ddsicinvideo.c185 memcpy(dst, src, FFMIN3(len, dst_end - dst, src_end - src)); in cin_decode_rle()
H A Dindeo3.c985 if (FFMIN3(y_offset, v_offset, u_offset) < 0 || in decode_frame_headers()
987 FFMIN3(y_offset, v_offset, u_offset) < gb.buffer - bs_hdr + 16 || in decode_frame_headers()
988 FFMIN3(ctx->y_data_size, ctx->v_data_size, ctx->u_data_size) <= 0) { in decode_frame_headers()
H A Dxan.c274 int count = FFMIN3(pixel_count, width - curframe_x, in xan_wc3_copy_pixel_run()
/third_party/ffmpeg/libavutil/
H A Dmacros.h50 #define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c) macro
H A Dfifo.c297 #define OLD_FIFO_SIZE_MAX (size_t)FFMIN3(INT_MAX, UINT32_MAX, SIZE_MAX)
/third_party/ffmpeg/fftools/
H A Dffmpeg_mux.c123 - FFMIN3(pkt->pts, pkt->dts, ost->last_mux_dts + 1) in of_write_packet()

Completed in 21 milliseconds

12