[FFmpeg-devel] Addition of a gamma flag to EXR reader

wm4 nfxjfg at googlemail.com
Sun Apr 27 18:55:15 CEST 2014


On Sun, 27 Apr 2014 18:11:47 +0200
Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:

> On 26.04.2014, at 23:53, Gonzalo Garramuno <ggarra13 at gmail.com> wrote:
> > I have a user of my program and of ffmpeg which needs to do operations in float precission to obtain a better movie.  Currently, the video filter gamma seems like it is done after the conversion of EXR 32/16bits into an unsigned integer.  This creates a lot of banding artifacts.
> > I was wondering if it would be looked with good eyes that I went ahead with a patch to add a gamma flag to the EXR loader.
> 
> I don't think this is a good solution (though I might miss something), instead there should be a way to get the data from the EXR decoder to the gamma filter without losing any information.

+1

Adjusting the gamma in the decoder seems like a really bad hack.


More information about the ffmpeg-devel mailing list