[vlc-devel] [PATCH] Direct2D video output module
david at 2of1.org
Thu Jul 22 22:17:02 CEST 2010
On Thu, Jul 22, 2010 at 11:09 PM, Laurent Aimar <fenrir at elivagar.org> wrote:
> picture_pool_NewFromFormat creates pictures using picture_New().
> picture_New() will allocates pictures with suitable width/height/pitch so
> they works nicely with MMX/SSEx.
> If you have specific constraints about the pitch, you will have to use
> picture_pool_New() and picture_NewFromResource() where you can provides the
> memory/pitches to use.
Oh I see. So as long as the fmt is correct, _NewFromFormat() should provide
pictures with the correct pitch?
I definately had some sort of issue with this when i was developing the
patch (hence the *4 thingy) but le tme try again.
> Do the D2D API allows to only copy/display part of a picture?
I believe we can do anything we want here (part/full/etc.). Why?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel