Re: Image display widget?



Am Mon, 25 Feb 2008 07:56:26 -0800 schrieb Rob Stoddard:

> What exactly are you intent upon doing here?   I am a graphics 
> programmer for a videoconference company which has implemented video 
> inside GTKmm widgets...  I would imagine that's what you want to do
> in your application considering your need for ptz (pan, tilt, zoom).
> What I did was I used Gtkglextmm / OpenGL to render a single quad to
> the screen, and did the YUV to RGB conversion using three textures
> and a fragment program.  I don't know if you need to do YUV to RGB
> conversion, but a lot of video codecs use YUV color.
> 
> Is this what you need to do?

Currently I'm focusing on images, but I like to add video support
later. I didn't thought of OpenGL until now. For videos I like only a
2D plane playback nothing with a 3D cube. I assume a simple draw buffer
GC or Cairo should be fast enough. But I'm not much experience with
video playback until now. I thought about using gstreamer in future
after testing a prototype on win32.

regards
Andreas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]