[vlc-devel] [PATCH] Direct2D video output module
    Laurent Aimar 
    fenrir at elivagar.org
       
    Thu Jul 22 22:59:04 CEST 2010
    
    
  
On Thu, Jul 22, 2010 at 11:37:15PM +0300, David Kaplan wrote:
> 
> 
> On Thu, Jul 22, 2010 at 11:26 PM, Laurent Aimar <fenrir at elivagar.org> wrote:
> 
> 
>      Because, you need to do it when calling ID2D1HwndRenderTarget_DrawBitmap
>     (not sure it's the right place) using rect_src_clipped. Otherwise the
>     cropping won't work. Also, it means you can simply declare a picture of
>     width equals to picture->p[0].i_pitch/4 for the above issue but copy only
>     the real size.
> 
> 
> Ok I need to play around with this. What's the best way to test the cropping?
Video->Crop->....
and compare with the d3d video output for example.
-- 
fenrir
    
    
More information about the vlc-devel
mailing list