Re: OpenGL 2.0 vo driver

Roland Scheidegger <[email protected]> Thu, 10 May 2012 16:27:11 +0200
Newsgroups gmane.comp.video.xine.devel
Message-ID <[email protected]>
Am 10.05.2012 14:36, schrieb Christophe Thommeret:
> Hi all,
> 
> I've recently used an ati videocard and found that XV support is .. well
> .. not so good :)
I dunno looks ok to me (with opensource driver). Granted it has its
limitations but you can manage do vsync for instance (but only if you
disable any compositors).
In any case XV still seems to be lowest overhead which is very important
for my box :-).

> So, i've gone for opengl, and found that this one is quite limited.
Indeed. No packed yuv for one, hence no overlays...

> I've then written an OpenGL 2.0 video out plugin.
> It of course requires an OGL2 GPU/driver. It should gracefully fail to
> open if requirements aren't met.
> (ARB_texture_rectangle, ARB_texture_non_power_of_two,
> ARB_pixel_buffer_object, ARB_framebuffer_object, ARB_fragment_shader)
Do you actually require ARB_texture_non_power_of_two? I looked over it
and you seem to use texture rectangles only.

> 
> It supports the following features:
> 
> - Color Space Conversion (YV12 and YUY2)
> - Crop, Zoom
> - Scaled and Unscaled overlays
> - Hue, Saturation, Contrast, Brightness
> - Sharpness
> - Bicubic scaling
I like the idea though I wonder if it wouldn't be nice if things could
be done in one pass. I'm fairly certain that my poor gpu has no chance
of doing it in realtime with two passes :-). At least for the basic
stuff (that is csc for vy12/yuy2, overlays, hue/sat/cont/brightness
adjustments, and bilinear filtering).
Also does the video PBO actually help? The texture data needs to be
copied anyway, so what does this achieve?

Roland


> -- Christophe Thommeret
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> 
> 
> 
> _______________________________________________
> xine-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xine-devel


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/