[FFmpeg-devel] [PATCH v6 1/9] libavutil: add hwcontext_d3d12va and AV_PIX_FMT_D3D12

Wu, Tong1 tong1.wu at intel.com
Mon Aug 28 10:12:20 EEST 2023



>-----Original Message-----
>From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Lynne
>Sent: Saturday, August 26, 2023 3:17 AM
>To: FFmpeg development discussions and patches <ffmpeg-
>devel at ffmpeg.org>
>Subject: Re: [FFmpeg-devel] [PATCH v6 1/9] libavutil: add hwcontext_d3d12va
>and AV_PIX_FMT_D3D12
>
>Aug 25, 2023, 10:49 by tong1.wu-at-intel.com at ffmpeg.org:
>
>> V6 major changes
>> 1. the way d3dlibs created, adding a load function. Added dlclose in free
>function.
>> 2. Simplified the public sync API by only keeping av_d3d12va_wait_idle.
>> 3. Wrapping data->[0], data[1], data[2] into one single structure.
>>
>
>This hasn't fixed my issues with the previous version.
>av_d3d12va_wait_idle is in particular looks like a convenience function
>rather than something that must always be called for valid API usage.

Ok it makes sense. I'll remove it from API in v7.
>Also, we have dlopen/dlclose wrappers that you should be using
>instead.

dlopen has already been a wrapper for LoadLibrary on Windows. Please see compat/w32dlfcn.h

#define dlopen(name, flags) win32_dlopen(name)

Thanks,
Tong

>_______________________________________________
>ffmpeg-devel mailing list
>ffmpeg-devel at ffmpeg.org
>https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>To unsubscribe, visit link above, or email
>ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list