/third_party/ffmpeg/libavfilter/ |
H A D | vf_cas.c | 91 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 D | preserve_color.h | 61 *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 D | vf_colorbalance.c | 115 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 D | vf_vibrance.c | 87 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 D | vf_swaprect.c | 150 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 D | vf_convolve.c | 643 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 D | vf_colortemperature.c | 92 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 D | vf_colorcontrast.c | 80 li = FFMAX3(r, g, b) + FFMIN3(r, g, b); \ 81 lo = FFMAX3(nr, ng, nb) + FFMIN3(nr, ng, nb) + FLT_EPSILON; \
|
H A D | vf_colorconstancy.c | 497 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 D | vf_overlay.c | 375 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 D | vf_bwdif.c | 88 int min = FFMIN3(de, dc, FFMAX(b, f)); \
|
H A D | vf_chromanr.c | 211 FFMIN3(s->planeheight[1], in filter_frame()
|
H A D | vf_yadif.c | 72 int min = FFMIN3(d - e, d - c, FFMAX(b - c, f - e)); \
|
H A D | vf_chromashift.c | 330 FFMIN3(s->height[1], in filter_frame()
|
H A D | vf_atadenoise.c | 487 FFMIN3(s->planeheight[1], in filter_frame()
|
H A D | vf_normalize.c | 332 rgb_min_smoothed = FFMIN3(min[0].smoothed, min[1].smoothed, min[2].smoothed); in normalize()
|
/third_party/ffmpeg/libavcodec/ |
H A D | psymodel.h | 35 #define AAC_CUTOFF_FROM_BITRATE(bit_rate,channels,sample_rate) (bit_rate ? FFMIN3(FFMIN3( \
|
H A D | argo.c | 217 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 D | sgirledec.c | 97 int length = FFMIN3(v, width - x, src_end - src); in decode_sgirle8()
|
H A D | dsicinvideo.c | 185 memcpy(dst, src, FFMIN3(len, dst_end - dst, src_end - src)); in cin_decode_rle()
|
H A D | indeo3.c | 985 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 D | xan.c | 274 int count = FFMIN3(pixel_count, width - curframe_x, in xan_wc3_copy_pixel_run()
|
/third_party/ffmpeg/libavutil/ |
H A D | macros.h | 50 #define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c) macro
|
H A D | fifo.c | 297 #define OLD_FIFO_SIZE_MAX (size_t)FFMIN3(INT_MAX, UINT32_MAX, SIZE_MAX)
|
/third_party/ffmpeg/fftools/ |
H A D | ffmpeg_mux.c | 123 - FFMIN3(pkt->pts, pkt->dts, ost->last_mux_dts + 1) in of_write_packet()
|