Le Mon, 6 Oct 2008 16:13:25 +0800, "chen zhixin" <[EMAIL PROTECTED]> a écrit :
> hello > i have to scale the image i recived,NTSC,30f/s,yuyv->gray and 720*480 > because i need to do something on image,so i use gray->pixmap,and use > cairo_t to do . > then i must scale the 720*480, > use gdk_pixbuf_scale make cpu to 100%. > > is there a better way to do this? > thanks The better way would be gstreamer. Now the question is can you receive the image inside gstreamer? Then you can build a pipeline with gstreamer elements. filesrc would be a start, then I don't know how to manipulate an image. There are other elements that may be interesting like gdkpixbufscale, gdkpixbufsink, and gdkpixbufdec. Look forward for gstreamer. My 2 cents, Mike _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list