[vlc-devel] [PATCH] Direct2D video output module

Rémi Denis-Courmont remi at remlab.net
Sun May 2 19:37:02 CEST 2010


Le jeudi 29 avril 2010 22:42:27 David Kaplan, vous avez écrit :
> +    vd->fmt.i_chroma = VLC_CODEC_RGB32; /* masks change this to BGR32 for
>  ID2D1Bitmap */ +    vd->fmt.i_rmask  = 0x000000ff;
> +    vd->fmt.i_gmask  = 0x0000ff00;
> +    vd->fmt.i_bmask  = 0x00000000; /* todo - fix this (should be
>  0x00ff0000) */

Why 0 for blue?

> +#ifdef D2D_DEBUG
> +        msg_Dbg(vd, "Bitmap dbg: target = 0x%x, pitch = %d, bitmap =
>  0x%x",
>  +             sys->p_d2_render_target, pitch, sys->p_d2_bitmap);
> +#endif

%p for pointers.



-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list