[FFmpeg-devel] [PATCH v12 03/14] lavc/tiff: Convert DNGs to sRGB color space

Nick Renieris velocityra at gmail.com
Sat Aug 10 16:46:46 EEST 2019


> Why do you put all this color space convertion code into the decoders ?

The color space conversion needs to happen, camera sensor data is
linear. If it's not done images looks really dark as result.

> Colorspace and pixel format convertion is generally done outside decoders.
> The specification cannot specify what part of FFmpeg's code does the
conversion.

I had found some sRGB conversion code in libswscale, asked about using
it and was told not to.
It's only 4 simple lines, as opposed to probably more complicated code
to use libswscale or whatever.

Στις Σάβ, 10 Αυγ 2019 στις 4:43 μ.μ., ο/η Nicolas George
<george at nsup.org> έγραψε:
>
> Paul B Mahol (12019-08-10):
> > It is part of DNG specification. Do you want to not follow DNG
> > specification?
>
> The specification cannot specify what part of FFmpeg's code does the
> conversion.
>
> --
>   Nicolas George
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list