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

Ali KIZIL alikizil at gmail.com
Mon Oct 3 12:35:51 EEST 2016


Hello,

This patch is done for performance increase on UHD or above resolution
color space convertions.
Some SDI sources provide yuv422p10 for 10bit source and uyvy422 for 8 bit
source.
To encode these sources with NVENC 10 bits, there is a need to convert
these color spaces to P010.

Before patch for UHD and above resolutions, convertion could not exceed
~25-30 fps, which can not be used for a 50 fps encoding.
This patch fixes this problem.

Also, color space convertion speed for 10bit YUV422P to 8bit YUV420P is
having the same problem.
If anybody wants to encode 10 bits source in 8 bits for UHD or above
resolutions could not achive high frame rate ratio as well.
This patch also fixes this problem.

I think it will be good to apply this patch to avoid performance loss in
high resolutions.

Kind Regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-For-10bit-SDI-Sources-to-10bit-NVENC-Encode.patch
Type: application/octet-stream
Size: 5504 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161003/09e9ede1/attachment.obj>


More information about the ffmpeg-devel mailing list