[FFmpeg-devel] Access to cuda functions
danieloberhoff at googlemail.com
Thu Apr 26 17:12:40 EEST 2018
> On 26. Apr 2018, at 14:08, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
> On Thu, Apr 26, 2018 at 2:06 PM, Daniel Oberhoff
> <danieloberhoff at googlemail.com> wrote:
>> I just started programming to directly use the cuda decoded frames on the gpu (working off master). Would it be possible to publicly expose the loaded cuda functions? This way I can inherit the possibility to build with cuda support but run in absence of cuda on the target. Currently these are hidden from the public interface.
> This doesn't belong into the API, so thats not going to happen, but
> the CUDA loader we use is public and you can just use it to do the
> same thing:
Hmm, what is the rationale? You do expose the cuda context, so you do expose the fact that you use the cuda library. Also this will only work if i load the same library (there may be multiple on one system). I guess using nv-codec-headers that would be given, but then I am exploiting an implementation detail. It seems so much cleaner to just expose the functions in the AVCUDADeviceContext...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Message signed with OpenPGP
More information about the ffmpeg-devel