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

Michael Niedermayer michaelni at gmx.at
Thu May 8 04:30:00 CEST 2014


On Wed, May 07, 2014 at 06:24:36PM -0300, Gonzalo Garramuno wrote:
> >libavcodec/exr.c: In function ‘exr_half2float’:
> >libavcodec/exr.c:142:56: error: expected ‘)’ before ‘;’ token
> >libavcodec/exr.c:145:28: error: expected ‘)’ before ‘;’ token
> >make: *** [libavcodec/exr.o] Error 1
> >
> >[...]
> I feel so silly. I did not turn the defines correctly. Here's a
> fixed version. I appreciate all the patience you are having with me,
> Michael. I apologize for the trouble I am causing you.

>  libavcodec/exr.c               |  117 ++++++++++++++++++++++++++++++++++++++---
>  tests/ref/fate/exr-slice-raw   |    2 
>  tests/ref/fate/exr-slice-rle   |    2 
>  tests/ref/fate/exr-slice-zip1  |    2 
>  tests/ref/fate/exr-slice-zip16 |    2 

this one fails again:
--- ./tests/ref/fate/exr-slice-raw      2014-05-08 04:14:15.093250540 +0200
+++ tests/data/fate/exr-slice-raw       2014-05-08 04:29:33.489269884 +0200
@@ -1,2 +1,2 @@
 #tb 0: 1/25
-0,          0,          0,        1,  3169800, 0x1f656d7a
+0,          0,          0,        1,  3169800, 0xdc8f6d0b
Test exr-slice-raw failed. Look at tests/data/fate/exr-slice-raw.err for details.
make: *** [fate-exr-slice-raw] Error 1
make: *** Waiting for unfinished jobs....
--- ./tests/ref/fate/exr-slice-rle      2014-05-08 04:14:15.097250540 +0200
+++ tests/data/fate/exr-slice-rle       2014-05-08 04:29:33.501269889 +0200
@@ -1,2 +1,2 @@
 #tb 0: 1/25
-0,          0,          0,        1,  3169800, 0x1f656d7a
+0,          0,          0,        1,  3169800, 0xdc8f6d0b
Test exr-slice-rle failed. Look at tests/data/fate/exr-slice-rle.err for details.
make: *** [fate-exr-slice-rle] Error 1
--- ./tests/ref/fate/exr-slice-zip16    2014-05-08 04:14:15.101250540 +0200
+++ tests/data/fate/exr-slice-zip16     2014-05-08 04:29:33.521269886 +0200
@@ -1,2 +1,2 @@
 #tb 0: 1/25
-0,          0,          0,        1,  3169800, 0x1f656d7a
+0,          0,          0,        1,  3169800, 0xdc8f6d0b
Test exr-slice-zip16 failed. Look at tests/data/fate/exr-slice-zip16.err for details.
make: *** [fate-exr-slice-zip16] Error 1
--- ./tests/ref/fate/exr-slice-zip1     2014-05-08 04:14:15.101250540 +0200
+++ tests/data/fate/exr-slice-zip1      2014-05-08 04:29:33.525269888 +0200
@@ -1,2 +1,2 @@
 #tb 0: 1/25
-0,          0,          0,        1,  3169800, 0x1f656d7a
+0,          0,          0,        1,  3169800, 0xdc8f6d0b

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140508/b4e6ef25/attachment.asc>


More information about the ffmpeg-devel mailing list