hi all, can someone provide inputs on below please.. thanks, zaheer<br><br><div class="gmail_quote">On Mon, Aug 31, 2009 at 11:13 PM, zaheer ahmad <span dir="ltr"><<a href="mailto:zaheer.mot@gmail.com">zaheer.mot@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi,<div>i have a video plugin that gives the decoded data in 565 format that matches the native format. i would like to paint this on top of a gdk window along with content rendered from browser page. i create a cairo context out of the gdk window and let the browser draw on to it. how do i blend the 565 data on to this? i would think of creating a GdkPixmap (assuming it would be 565) and then set data using g_object_set (pixmap, data..), and then do a gdk_draw_drawable this pixmap on to the gdk window? Also i would like the video drawing path to be as fast as possible (avoiding all 565->8888 back/forth conversions). whats the right way to do this. appreciate any help.</div>
<div><br></div><div>thanks,</div><div>Zaheer</div><font color="#888888"><div><br></div><div><br></div>
</font></blockquote></div><br>