> > --- Udo Giacomozzi <[EMAIL PROTECTED]> skrev: > > > Hello Tomas, > > > > Sunday, November 26, 2006, 12:16:04 AM, you wrote: > > >> A render handler capable of hardware accelerated YUV playback (OpenGL) > > >> could overwrite the draw_YUV_frame() method with a direct > > >> implementation. Other render handlers (AGG, Cairo) just have to deal > > >> with a simple RGB buffer. > > TG> This sounds like a good and clean way to do it. I've looked at the AGG > > TG> renderer, and have to admit i can't get my head around it, so could you > > have a > > TG> look at how to do that? > > > > Yes, it's not much different to the drawing of bitmaps, so I can do > > that. However, I don't understand much of the YUV class or YUV->RGB > > conversion... > > I'm, looking into that.. I already got a patch that converts from YUV->RGB, > but so far i can't test it... >
The restructure of the video code is now in CVS. The render is now asked what format it would like to receive the videoframe in (RGB or YUV), and it is passed to the render using the new function drawVideoFrame(image::image_base*), which is either a image::rgb or image::yuv (based on the YUV_video class). This works for the gl backend, but not agg. For test I recommend playing http://klaus.geekserver.net/flash/video.swf cheers, Tomas __________________________________________________________ Alt i én. Få Yahoo! Mail med adressekartotek, kalender og notesblok. http://dk.mail.yahoo.com _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

