avcodec/exr: Add a gamma flag to exr loader to avoid banding
authorGonzalo Garramuno <ggarra13@gmail.com>
Thu, 8 May 2014 16:27:56 +0000 (13:27 -0300)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 8 May 2014 19:00:56 +0000 (21:00 +0200)
commitcd3daad77ea420f3373d3c5feee46825d235cccc
tree96f6d5a8db16fd36f38787b871a3a5d03611bbdd
parent0c2a6dabced53b4df57aedf47f0c1b8233035fed
avcodec/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: Michael Niedermayer <michaelni@gmx.at>
libavcodec/exr.c