[FFmpeg-devel] [PATCH 1/2] avcodec: add photocd decoder

Paul B Mahol onemda at gmail.com
Sat Dec 22 22:32:35 EET 2018


On 12/22/18, Steinar H. Gunderson <steinar+ffmpeg at gunderson.no> wrote:
> On Sat, Dec 22, 2018 at 09:18:11PM +0100, Paul B Mahol wrote:
>> Unacceptable, I'm not adding another yuv420p variant.
>
> Well, if returning YCC as YCC is unacceptable, and converting YCC to RGB is
> unacceptable, I believe your only choices are:
>
>   1. Try to convert YCC to Y'CbCr ignoring the gamma curve, which will
> return
>      images that look wrong and cannot be repaired by reasonable means.
>   2. Return YCC mislabeled as something else, which will look even more
> wrong.
>   3. Don't include PhotoCD support in FFmpeg.
>

4. Leave user to do conversion as he wish.


More information about the ffmpeg-devel mailing list