[vlc-devel] [PATCH] Direct2D video output module
David Kaplan
david at 2of1.org
Thu Jul 22 21:20:01 CEST 2010
On Thu, Jul 22, 2010 at 10:07 PM, Laurent Aimar <fenrir at elivagar.org> wrote:
> If pitch is the size in bytes of a line in picture->p[0].p_pixels, then
> you
> must use picture->p[0].i_pitch which may not be equal to
> vd->fmt.i_width * 4. (It may be higher).
>
If ii_pitch isn't equal to width*4 then how can I use it? D2D expects pitch
(line byte size) to match the pixel format...?
Is there something I'm missing here?
Just for information, what are the available interpolation modes?
>
Linear and nearest neighbor. Which do you think is the better choice?
Thanks for the rest of the comments as well. Will implement in the next
patch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100722/624a9ea9/attachment.html>
More information about the vlc-devel
mailing list