[FFmpeg-devel] [PATCH] libavcodec/nvenc.c Reduce initialization time for gpu id > 0

Ganapathy Raman Kasi gkasi at nvidia.com
Wed Jan 18 02:59:23 EET 2017


Hi,

The attached patch reduces initialization time when using a gpu device > 0 in a multi-gpu setup. It removes the initialization of cuda context and nvenc session for gpus which are not requested by the user, thereby increasing startup performance.  This is my first time sending a patch to ffmpeg. Please correct me if there are any newbie mistakes :). Thanks.

Regards
Ganapathy

-----------------------------------------------------------------------------------
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: 0001-libavcodec-nvenc.c-Reduce-initialization-time-for-gp.patch
Type: application/octet-stream
Size: 2150 bytes
Desc: 0001-libavcodec-nvenc.c-Reduce-initialization-time-for-gp.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170118/68eb118c/attachment.obj>


More information about the ffmpeg-devel mailing list