> 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
<[email protected]> έγραψε:
>
> 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
> [email protected]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to