ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/CV.xs
(Generate patch)

Comparing CV/CV.xs (file contents):
Revision 1.23 by root, Tue Aug 16 23:50:39 2005 UTC vs.
Revision 1.24 by root, Wed Aug 17 05:25:28 2005 UTC

333} 333}
334 OUTPUT: 334 OUTPUT:
335 RETVAL 335 RETVAL
336 336
337GdkPixbuf_noinc * 337GdkPixbuf_noinc *
338p7_to_pb (int w, int h, guchar *src) 338p7_to_pb (int w, int h, SV *src_sv)
339 PROTOTYPE: @ 339 PROTOTYPE: @
340 CODE: 340 CODE:
341{ 341{
342 int x, y; 342 int x, y;
343 guchar *dst, *d; 343 guchar *dst, *d;
344 int dstr; 344 int dstr;
345 guchar *src = SvPVbyte_nolen (src_sv);
345 346
346 RETVAL = gdk_pixbuf_new (GDK_COLORSPACE_RGB, 0, 8, w, h); 347 RETVAL = gdk_pixbuf_new (GDK_COLORSPACE_RGB, 0, 8, w, h);
347 dst = gdk_pixbuf_get_pixels (RETVAL); 348 dst = gdk_pixbuf_get_pixels (RETVAL);
348 dstr = gdk_pixbuf_get_rowstride (RETVAL); 349 dstr = gdk_pixbuf_get_rowstride (RETVAL);
349 350

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines