[FFmpeg-devel] [PATCH] libswscale/swscale_unscaled.c: UHD Resolution Performance Increase for Color Space Convertions / NVENC Related
alikizil at gmail.com
Mon Oct 3 14:44:37 EEST 2016
2016-10-03 14:39 GMT+03:00 Carl Eugen Hoyos <ceffmpeg at gmail.com>:
> 2016-10-03 13:11 GMT+02:00 Ali KIZIL <alikizil at gmail.com>:
> > 2016-10-03 14:09 GMT+03:00 Carl Eugen Hoyos <ceffmpeg at gmail.com>:
> >> 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.
> > Got it. I dont have any source with alpha.
> This is about conversion of frames without alpha into
> frames with an alpha channel, so I don't think you need
> any source with alpha.
> Just set the opacity to 0xFF.
> I suspect you should pay attention to the dithering for
> the moment though.
> Carl Eugen
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
OK, Well noted the info about 0xFF.
I will do it.
You and Hendrik are right. I googled around and understood what you mean by
This will happen for function 10bit to 8bit
Rest 2 functions are 10bit to 10bit and 8 bit to 10bit, so they do not have
I need to check how to do interpolation. Any example will be helpful.
More information about the ffmpeg-devel