[mythtv-commits] mythtv commit: r21429 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Aug 22 11:11:52 UTC 2009


      Author: markk
        Date: 2009-08-22 11:11:52 +0000 (Sat, 22 Aug 2009)
New Revision: 21429
   Changeset: http://cvs.mythtv.org/trac/changeset/21429

Modified:

   trunk/mythtv/libs/libmythtv/openglcontext.cpp
   trunk/mythtv/libs/libmythtv/openglcontext.h
   trunk/mythtv/libs/libmythtv/openglvideo.cpp
   trunk/mythtv/libs/libmythtv/openglvideo.h
   trunk/mythtv/libs/libmythtv/util-opengl.cpp
   trunk/mythtv/libs/libmythtv/util-opengl.h

Log:

Add suppport for the OpenGL GL_MESA_ycbcr_texture extension, use it under certain circumstances for OpenGL video rendering and move software YUV to RGB conversion into OpenGLContext from OpenGLVideo.

This extension provides hardware colorspace conversion for YUYV frame formats and is available on Intel chipsets. Using it on older integrated Intel GPUs provides playback performance comparable to XVideo whereas previously OpenGL playback was unuseable. Other OpenGL features (OSD, deinterlacing, bicubic) are not available when using ycbcr textures.

libavcodec is used to convert the frame, which does not implement the chroma upsampling fix for interlaced frames. It is, however,unlikely to provide a good trade-off of performance and quality on those systems where it will be used and such systems are most likely to use software bob deinterlacing, which does not require the chroma fix.







More information about the mythtv-commits mailing list