[vlc-devel] [PATCH 2/3] generate the d3d11.h with ID3D11VideoDecoder support

Steve Lhomme robux4 at videolabs.io
Mon May 25 16:08:49 CEST 2015


Updated patch incoming.

On Thu, May 21, 2015 at 8:10 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le vendredi 15 mai 2015, 13:30:20 Steve Lhomme a écrit :
>> diff --git a/contrib/src/d3d11/rules.mak b/contrib/src/d3d11/rules.mak
>> new file mode 100644
>> index 0000000..f594c6a
>> --- /dev/null
>> +++ b/contrib/src/d3d11/rules.mak
>> @@ -0,0 +1,30 @@
>> +# generate Direct3D11 temporary include
>> +
>> +#ugly way to get the default location of standard idl files
>> +IDL_INC_PATH = /`echo $(MSYSTEM) | tr A-Z a-z`/$(BUILD)/include
>> +
>> +D3D11_IDL_URL :=
>> http://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-heade
>> rs/direct-x/include/d3d11.idl?format=raw +DST_D3D11_H =
>> $(PREFIX)/include/d3d11.h
>> +DST_DXGIDEBUG_H = $(PREFIX)/include/dxgidebug.h
>> +UNPACK_DIR = $(TARBALLS)
>
> Don´t clutter the env vars namespace with package-specific stuff please.
>
>> +
>> +
>> +ifdef HAVE_WIN32
>> +PKGS += d3d11
>> +endif
>> +
>> +$(TARBALLS)/d3d11.idl:
>> +     $(call download,$(D3D11_IDL_URL))
>> +     $(APPLY) $(SRC)/d3d11/id3d11videodecoder.patch
>> +
>> +$(TARBALLS)/dxgidebug.idl:
>> +     $(APPLY) $(SRC)/d3d11/dxgidebug.patch
>> +
>> +$(DST_D3D11_H): $(TARBALLS)/d3d11.idl
>> +     widl -DBOOL=WINBOOL -I$(IDL_INC_PATH) -h -o $@ $<
>> +
>> +$(DST_DXGIDEBUG_H): $(TARBALLS)/dxgidebug.idl
>> +     widl -DBOOL=WINBOOL -I$(IDL_INC_PATH) -h -o $@ $<
>> +
>> +.d3d11: $(DST_D3D11_H) $(DST_DXGIDEBUG_H)
>> +     touch $@
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list