On Tue, Jul 21, 2015 at 7:13 PM, Martin Storsjö <[email protected]> wrote: > On Tue, 21 Jul 2015, Steve Lhomme wrote: > >> In case the VideoContext is used by different threads internally or >> other threads externally >> --- >> libavcodec/d3d11va.h | 5 +++++ >> libavcodec/dxva2.c | 15 +++++++++++++-- >> libavcodec/version.h | 4 ++-- >> 3 files changed, 20 insertions(+), 4 deletions(-) > > > Btw, unrelated to this particular patch, but to d3d11va vs windows phone in > general; how do you enable d3d11va for windows phone at all? Currently, it > is disabled when I build, both with WP 8.0/MSVC 2012 and WP 8.1/MSVC 2013, > since dxva.h is missing in configure. What build environment do you use for > building for windows phone, where dxva.h is available?
MSVC 2013 Express+2015RC (which installs the ARM compiler), that provides W10 SDK and some WP8.1 SDKs. In d3d11va.c from VLC we do: # undef WINAPI_FAMILY # define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP > // Martin > _______________________________________________ > libav-devel mailing list > [email protected] > https://lists.libav.org/mailman/listinfo/libav-devel _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
