[FFmpeg-devel] [PATCH] Add a gamma flag to exr loader to avoid banding

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Apr 28 23:55:59 CEST 2014


On 28.04.2014, at 22:11, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> 
>> 1) I think we agree that is a bad hack for something 
>> that could and should be fixed properly.
> 
> Is it really both realistic and useful to have a float 
> pix_fmt? I mean assuming that no hardware will support 
> the pix_fmt (I believe this used to be a criteria a 
> very long time ago), will a filter or an encoder profit 
> from it?

Well, we have a specific example here of a filter profiting from it.
Also all modern graphics cards should support half- and full-precision float (though the bandwidth requirements make it not that useful, plus without HDR displays - in fact many only offering 6 bit precision - there is no quality improvement for normal use-cases).
Through OpenCL even using double-precision should be possible.


More information about the ffmpeg-devel mailing list