[FFmpeg-devel] [PATCH] avutil: Add basic transfer functions for each AVColorTransferCharacteristic

Ronald S. Bultje rsbultje at gmail.com
Tue Sep 1 13:33:26 CEST 2015


Hi,

On Tue, Sep 1, 2015 at 7:02 AM, Kevin Wheatley <kevin.j.wheatley at gmail.com>
wrote:

> Following on from my previous email, this adds some functions to
> actually convert from linear to non-linear encoding. I have another
> that changes the OpenEXR codec to actually use these.


Won't performance be crumblingly slow with this kind of API? It seems to
make more sense to write a filter that can convert between different TRC
types, or do it in swscale, and then add some fast implementations
(LUT-based, or approximation-based) alongside the slow versions.

Ronald


More information about the ffmpeg-devel mailing list