<html><head></head><body><div class="gmail_quote">Le 21 juin 2017 09:46:37 GMT+03:00, Steve Lhomme <robux4@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On Tue, Jun 20, 2017 at 6:31 PM, Rémi Denis-Courmont <remi@remlab.net> wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Le tiistaina 20. kesäkuuta 2017, 17.45.36 EEST Steve Lhomme a écrit :<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> ---<br /> modules/codec/<a href="http://Makefile.am">Makefile.am</a> | 2 +<br /> modules/codec/avcodec/d3d11va.c | 89 ++++++-------<br /> modules/codec/avcodec/directx_va.c | 151 +--------------------<br /> modules/codec/avcodec/directx_va.h | 49 +------<br /> modules/codec/avcodec/dxva2.c | 76 +++++------<br /> modules/codec/avcodec/va_surface.c | 198<br /> ++++++++++++++++++++++++++++ modules/codec/avcodec/va_surface.h |<br /> 41 ++++++<br /> modules/codec/avcodec/va_surface_internal.h | 91 +++++++++++++<br /></blockquote><br /> IMO, unfortunate files naming for DX-specific stuff insofar as the directory<br /> is not DX- nor Windows-specific.<br /></blockquote><br />It's on purpose. The goal being that all libavcodec va use this in the<br />end. The algorithm and logic is the same as what is found in VDPAU.<br />After refactoring the code I manage to use the same thing.<br /><br />Still undetermined is whether the context is responsible for freeing<br />the surfaces and associated resources. Or when closing the module. In<br />VDPAU it's the former and in my code the latter.<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> --<br /> 雷米‧德尼-库尔蒙<br /> <a href="https://www.remlab.net">https://www.remlab.net</a>/<br /><br /><hr /><br /> vlc-devel mailing list<br /> To unsubscribe or modify your subscription options:<br /> <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br /></blockquote><hr /><br />vlc-devel mailing list<br />To unsubscribe or modify your subscription options:<br /><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br clear="all">Are you sure that the design fits well with the latest libavcodec hwaccel framework? Currently, VLC uses the previous generation.<br>
-- <br>
Rémi Denis-Courmont<br>
Typed on an inconvenient virtual keyboard</body></html>