exr: Add a gamma flag to exr loader to avoid banding
authorGonzalo Garramuno <ggarra13@gmail.com>
Tue, 2 Dec 2014 16:48:25 +0000 (16:48 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 3 Dec 2014 02:55:40 +0000 (02:55 +0000)
commite0bb74a1403ed77ef369b9d62866f8a4afaf3f1d
tree76a37529eaad577bfe7b33004a90bd30fad7190e
parentd69d787dad77f62c89cbc7ea5d301641f45f36e3
exr: Add a gamma flag to exr loader to avoid banding

This is needed to avoid banding artifacts when gammaing the picture.
Currently, if done with a video filter, the process is done on uints
instead of full float.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/exr.c