[FFmpeg-devel] [PATCH] libswscale/swscale_unscaled.c: UHD Resolution Performance Increase for Color Space Convertions / NVENC Related

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Oct 3 14:09:05 EEST 2016


2016-10-03 12:48 GMT+02:00 Ali KIZIL <alikizil at gmail.com>:

> Yes, Alpha channel is not managed.
>
> So it should be;
>
>> +    /* yuv422p10_to_yuv420p */
>> +    if ((srcFormat == AV_PIX_FMT_YUV422P10) &&
>> +        (dstFormat == AV_PIX_FMT_YUV420P))
>> +        c->swscale = yuv422p10ToYuv420pWrapper;

(Apart from "too many parenthesis")
I would prefer if alpha gets handled.

Carl Eugen


More information about the ffmpeg-devel mailing list