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

Gonzalo Garramuno ggarra13 at gmail.com
Thu May 8 18:27:56 CEST 2014


On 08/05/14 12:29, Michael Niedermayer wrote:
>
> still fails:
>
> also theres still a float in there in the gamma=1 path:
> "if ( t.f <= 0.0f ) {"
>
> --- ./tests/ref/fate/exr-slice-raw      2014-05-08 17:24:22.886249292 +0200
> +++ tests/data/fate/exr-slice-raw       2014-05-08 17:25:54.690251226 +0200
> @@ -1,2 +1,2 @@
>   #tb 0: 1/25
> -0,          0,          0,        1,  3169800, 0x1f656d7a
> +0,          0,          0,        1,  3169800, 0x6a356d0d
> Test exr-slice-raw failed. Look at tests/data/fate/exr-slice-raw.err for details.
>
> [...]
I made a distclean rebuild and now I got the old checksums just like 
above.  In summary, with the gamma table as in the attachment, the 
chceksums must not be changed.  This is what I expected when I created 
the gamma=1 path.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: exr_fix6.diff
Type: text/x-patch
Size: 6932 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140508/cdd91d80/attachment.bin>


More information about the ffmpeg-devel mailing list