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

Gonzalo Garramuno ggarra13 at gmail.com
Sat May 3 22:22:15 CEST 2014


On 02/05/14 19:54, Michael Niedermayer wrote:
> still fails
> both on x86_64 as well as arm32, it also fails differently on both
> gamma_table differs between the 2
> first difference is at index 256, where one is 0 and the other 1
> last difference is at index 1023
I reverted to the previous patch that kept the negative values and I am 
attaching it again without any changes.
However, I am puzzled it fails on x86_64 as that's exactly the 
architecture I am developing on.  Are you trying it on Windows or 
FreeBSD?  I am running it on Ubuntu without problems on gcc4.7.

Find also attached an utility that creates the gamma table in /usr/tmp.  
Place it in the main ffmpeg tree and compile with gcc gamma.c -o gamma 
-lm.  That should help us isolate the problem areas in the table.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gamma.c
Type: text/x-csrc
Size: 2583 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140503/a9425327/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exr_patch10.diff
Type: text/x-patch
Size: 6597 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140503/a9425327/attachment-0001.bin>


More information about the ffmpeg-devel mailing list