/third_party/ffmpeg/libavfilter/ |
D | vf_vibrance.c | 49 static inline float lerpf(float v0, float v1, float f) in lerpf() function 94 g = lerpf(luma, g, cg); in vibrance_slice8() 95 b = lerpf(luma, b, cb); in vibrance_slice8() 96 r = lerpf(luma, r, cr); in vibrance_slice8() 153 g = lerpf(luma, g, cg); in vibrance_slice16() 154 b = lerpf(luma, b, cb); in vibrance_slice16() 155 r = lerpf(luma, r, cr); in vibrance_slice16() 210 g = lerpf(luma, g, cg); in vibrance_slice8p() 211 b = lerpf(luma, b, cb); in vibrance_slice8p() 212 r = lerpf(luma, r, cr); in vibrance_slice8p() [all …]
|
D | vf_colortemperature.c | 78 static float lerpf(float v0, float v1, float f) in lerpf() function 88 nr = lerpf(r, nr, mix); \ 89 ng = lerpf(g, ng, mix); \ 90 nb = lerpf(b, nb, mix); \ 100 nr = lerpf(nr, r, preserve); \ 101 ng = lerpf(ng, g, preserve); \ 102 nb = lerpf(nb, b, preserve);
|
D | vf_colorchannelmixer.c | 109 static float lerpf(float v0, float v1, float f) in lerpf() function 177 rout = lrintf(lerpf(rout, frout, l)); in filter_slice_rgba_planar() 178 gout = lrintf(lerpf(gout, fgout, l)); in filter_slice_rgba_planar() 179 bout = lrintf(lerpf(bout, fbout, l)); in filter_slice_rgba_planar() 263 rout = lrintf(lerpf(rout, frout, l)); in filter_slice_rgba16_planar() 264 gout = lrintf(lerpf(gout, fgout, l)); in filter_slice_rgba16_planar() 265 bout = lrintf(lerpf(bout, fbout, l)); in filter_slice_rgba16_planar() 450 rout = lrintf(lerpf(rout, frout, l)); in filter_slice_rgba_packed() 451 gout = lrintf(lerpf(gout, fgout, l)); in filter_slice_rgba_packed() 452 bout = lrintf(lerpf(bout, fbout, l)); in filter_slice_rgba_packed() [all …]
|
D | vf_colorize.c | 43 static inline float lerpf(float v0, float v1, float f) in lerpf() function 63 yptr[x] = lerpf(yv, yptr[x], mix); in colorizey_slice8() 86 yptr[x] = lerpf(yv, yptr[x], mix); in colorizey_slice16()
|
D | vf_colorcontrast.c | 50 static inline float lerpf(float v0, float v1, float f) in lerpf() function 88 nr = lerpf(nr, r, preserve); \ 89 ng = lerpf(ng, g, preserve); \ 90 nb = lerpf(nb, b, preserve);
|
D | vf_cas.c | 43 static inline float lerpf(float v0, float v1, float f) in lerpf() function 51 const float strength = -lerpf(16.f, 4.01f, s->strength); in cas_slice8() 117 const float strength = -lerpf(16.f, 4.01f, s->strength); in cas_slice16()
|
D | vf_lut3d.c | 137 static inline float lerpf(float v0, float v1, float f) in lerpf() function 145 lerpf(v0->r, v1->r, f), lerpf(v0->g, v1->g, f), lerpf(v0->b, v1->b, f) in lerp() 358 return lerpf(p, n, d); in prelut_interp_1d_linear() 1095 float x = lerpf(in_min[c], in_max[c], mix), a, b; in parse_cinespace() 1104 lut3d->prelut.lut[c][i] = sanitizef(lerpf(a, b, mix)); in parse_cinespace() 1845 return lerpf(p, n, d); in interp_1d_linear() 1858 return lerpf(p, n, m); in interp_1d_cosine()
|
D | vf_pseudocolor.c | 253 static inline float lerpf(float v0, float v1, float f) in lerpf() function 260 dst[x] = lerpf(src[x], v, opacity);\
|