[vlc-devel] [PATCH] Direct2D video output module
Jean-Baptiste Kempf
jb at videolan.org
Thu Jul 22 17:52:03 CEST 2010
On Thu, Jul 22, 2010 at 05:26:25PM +0300, David Kaplan wrote :
> +dnl Windows Direct2D plugin
> +dnl
> +AC_ARG_ENABLE(direct2d,
> + [ --enable-direct2d Win32 Direct2D support (default enabled on Win32)])
> +if test "${enable_direct2d}" != "no"; then
> + if test "${SYS}" = "mingw32" -o "${SYS}" = "mingwce"
> + then
> + AC_CHECK_HEADERS(d2d1.h,
> + [
> + VLC_ADD_PLUGIN([direct2d])
> + VLC_ADD_LIBS([direct2d],[-lgdi32 -lole32])
> + ], [AC_MSG_ERROR([Cannot find Direct2D headers!])]
> + )
> + fi
> +fi
Why not autodected: ie, "if d2d1.h is present enable it, else no" ?
> + vd->fmt.i_chroma = VLC_CODEC_RGB32; /* masks change this to BGR32 for ID2D1Bitmap */
No other chroma supported than RGB32 ?
Best Regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/
More information about the vlc-devel
mailing list