[FFmpeg-devel] [PATCH] lavfi: add curves filter.

Clément Bœsch ubitux at gmail.com
Tue Mar 5 19:33:56 CET 2013


On Tue, Mar 05, 2013 at 06:12:16PM +0000, Paul B Mahol wrote:
[...]
> >> > + at section curves
> >> > +
> >> > +Apply color adjustments using curves.
> >> > +
> >> > +This filter is similar to the Adobe Photoshop and GIMP curves tools.
> >> > Each
> >>
> >> Mentioning those two does not explain in simple terms what filter actually
> >> does.
> >>
> >
> > Yeah, consider it an introduction sentence. Is the following explanation
> > unclear?
> 
> It does not explain relation between curve and color components in image.
> 

The second paragraph was meant to explain that, but it might not be
enough. I'll try to come up with an additional explanation in the next
version.

> How hard would it be to support rgb48?
> 

Mmh, should be relatively easy. Just change the graph from uint8_t to
uint16_t and use a variable scaling in places where it uses 255 (should be
trivial). The interpolation is done with double in [0;1] so it should be
fine.

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130305/a0908c6e/attachment.asc>


More information about the ffmpeg-devel mailing list