[FFmpeg-devel] [PATCH] swresample: Add support for clipping float/double to -1.0..1.0 range
Clément Bœsch
u at pkh.me
Sat Oct 24 15:17:20 CEST 2015
On Sat, Oct 24, 2015 at 03:16:15PM +0200, Clément Bœsch wrote:
> On Fri, Oct 23, 2015 at 12:41:18PM -0400, Ronald S. Bultje wrote:
> [...]
> > ffmpeg -h full, searching to -sws_flags, gives this:
> > -sws_flags <flags> E..V.... scaler flags (default 4)
> > fast_bilinear E..V.... fast bilinear
> > bilinear E..V.... bilinear
> > bicubic E..V.... bicubic
> > experimental E..V.... experimental
> > neighbor E..V.... nearest neighbor
> > area E..V.... averaging area
> > bicublin E..V.... luma bicubic, chroma bilinear
> > gauss E..V.... Gaussian
> > sinc E..V.... sinc
> > lanczos E..V.... Lanczos
> > spline E..V.... natural bicubic spline
> > print_info E..V.... print info
> > accurate_rnd E..V.... accurate rounding
> > full_chroma_int E..V.... full chroma interpolation
> > full_chroma_inp E..V.... full chroma input
> > bitexact E..V....
> > error_diffusion E..V.... error diffusion dither
> >
> > OK, so first, there's so many things wrong here, we're using flags as a way
> > to indicate the scaling method, and mixing up boolean flags. By the way,
> > did you know "experimental" is a scaling method? Fantastic help.
>
> > The default is "4", but we don't know what flag "4" corresponds to.
>
> (Just sent for this ♥)
>
*a patch*
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151024/9ab31894/attachment.sig>
More information about the ffmpeg-devel
mailing list