:: Re: [Frei0r] [PATCH] Add "colgate",…
Top Pagina
Delete this message
Reply to this message
Auteur: Steinar H. Gunderson
Datum:  
Aan: Minimalistic plugin API for video effects
Onderwerp: Re: [Frei0r] [PATCH] Add "colgate", a new color correction plugin.
On Fri, Sep 21, 2012 at 10:33:23AM +0200, Marko Cebokli wrote:
> Another nice thing would be, if the effect description would allow for
> "automatic/hidden" parameters, for example to supply pixel aspect ratio or
> 601/709 color model to the plugin, without even displaying the control to the
> user.


This should probably not be a per-plugin parameter, though; color space
should be part of the API (and it should be at the caller's discretion to
choose, not the plugin -- it wouldn't be an unreasonable demand to have all
inputs' color spaces be equal to the output color space, though).

What to do about non-colorspace aware plugins that need to mess with pixels
is an open question; they should probably be marked as such. You could maybe
argue that Frei0r should convert to/from sRGB around the plugin, but I doubt
it's worth it.

/* Steinar */
--
Homepage: http://www.sesse.net/