Hello,

This is the second patch of the group which adds the option to use CUDA
context current to calling thread. It simplifies the usage of ffmpeg
libraries in applications which rely on CUDA runtime API.

Example:

AVDictionary *opts = NULL;

AVBufferRef *hwDeviceCtx;


av_dict_set(&opts, "current_ctx", "1", 0);

av_hwdevice_ctx_create(&hwDeviceCtx, type, NULL, opts, 0);

Attachment: 0001-libavutil-hwcontext_cuda-option-added-to-use-context.patch
Description: Binary data

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to