<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Jul 22, 2010 at 10:07 PM, Laurent Aimar <span dir="ltr"><<a href="mailto:fenrir@elivagar.org">fenrir@elivagar.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;">
If pitch is the size in bytes of a line in picture->p[0].p_pixels, then you<br>
must use picture->p[0].i_pitch which may not be equal to<br>
vd->fmt.i_width * 4. (It may be higher).<br></blockquote><div> <br>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...?<br>Is there something I'm missing here?<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;"> Just for information, what are the available interpolation modes?<br></blockquote>
<div><br>Linear and nearest neighbor. Which do you think is the better choice?<br></div><div><br>Thanks for the rest of the comments as well. Will implement in the next patch. <br></div></div></div>