[FFmpeg-devel] [Patch] nvenc : Add P016 support

Yogender Gupta ygupta at nvidia.com
Tue Jul 25 11:33:10 EEST 2017


>> I can push, but to answer Timo's question: I did not add P016 to nvenc because it is technically not correct to pass 12bit content through a 10bit surface - that will lead to truncation, rather than dithering. If you are telling us that nvenc supports 12bit >> input and will correctly dither, then great. Otherwise, it's more correct to not support and force dithering to happen through swscale. You could also write cuda accelerated dithering.

I have dropped the NVENC patch for now (we will build a P016 to P010 CUDA dithering filter). Attached the other patches, also taking into account some code formatting comments.

Thanks,
Yogender


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-hwcontext_cuda-Add-YUV444P16-format.patch
Type: application/octet-stream
Size: 1996 bytes
Desc: 0002-hwcontext_cuda-Add-YUV444P16-format.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170725/1ac5016e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-hwupload_cuda-Add-P010-P016-and-YUV444P16-formats.patch
Type: application/octet-stream
Size: 863 bytes
Desc: 0001-hwupload_cuda-Add-P010-P016-and-YUV444P16-formats.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170725/1ac5016e/attachment-0001.obj>


More information about the ffmpeg-devel mailing list