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

Jimmy Christensen jimmy at ghost.dk
Fri May 2 08:28:50 CEST 2014


On 02/05/14 08:15, Jimmy Christensen wrote:
> On 02/05/14 00:37, Gonzalo Garramuno wrote:
>> On 01/05/14 18:45, Michael Niedermayer wrote:
>>> still fails fate, and the image does not look ok that its produced
>>> there are individual green pixels in dark areas, so id guess
>>> something is overflowing
>>>
>>> [...]
>>>
>> Can you do a distclean and a clean compile?  I had the green areas
>> showing bad in a previous patch because of not checking the values that
>> go into the powf function.  However, the latest patch does check both in
>> the float path and in the table path and I get a clean image on my end.
>> And the fate checksums work for me and Carl.
>>
>
> I just tried on my system and the tests passed.

Regarding the gamma. Does ffmpeg in general expect an RGB gamma of 2.2 
always? In that case should it not be considered when defining the 
gamma. I'm thinking that you define the source to be gamma 1.0 so it can 
apply gamma 2.2? And nothing when you define the source to be gamma 2.2?

- Jimmy



More information about the ffmpeg-devel mailing list