<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Jul 22, 2010 at 6:52 PM, Jean-Baptiste Kempf <span dir="ltr"><<a href="mailto:jb@videolan.org">jb@videolan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Why not autodected: ie, "if d2d1.h is present enable it, else no" ?<br>
</blockquote><div><br>Makes sense. I'll do that.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">No other chroma supported than RGB32 ?<br>

<br></blockquote><div>No other useful ones unfortunately. I'm actually taking this issue up with Microsoft directly soon.<br>
<br>
There also doesn't seem to be any way - implicit or explicit - to perform YUV->RGB/BGR on the GPU with the D2D API.<br>
There are a number of workarounds I can think of (e.g. D3D shader 
interop) but I want to play around with that only after the initial 
Direct2D vout is committed.<br>
I'm also hoping that this will be addressed in the next version of the API (keep in mind the Direct2D APIs are brand new).<br>
<br>
Obviously using DirectCompute is the way to do this - but that's not 
relevant in this area of code (I believe there's a GSoC project doing 
this? How's that going?) <br></div></div><br></div>