[mythtv-commits] mythtv commit: r22897 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Nov 25 01:16:28 UTC 2009


      Author: markk
        Date: 2009-11-25 01:16:28 +0000 (Wed, 25 Nov 2009)
New Revision: 22897
   Changeset: http://svn.mythtv.org/trac/changeset/22897

Added:

   branches/libmythui-osd/libs/libmythui/mythrender_base.h
   branches/libmythui-osd/libs/libmythui/mythrender_vdpau.cpp
   branches/libmythui-osd/libs/libmythui/mythrender_vdpau.h

Modified:

   branches/libmythui-osd/libs/libmythui/libmythui.pro

Log:

Branch libmythui-osd: Add MythRenderVDPAU as a new general purpose VDPAU
context. This will replace VDPAUContext for rendering both UI elements
and video.

The main changes from the existing class are:-
- it is thread safe so should have no difficulty with access from
multiple 'clients'. Multiple decoder locks may be needed for efficient
handling of multiple decoders, though they should currently work
regardless.
- adds initial, though untested, support for the new VDPAU high quality
scaling feature.
- it provides opaque resource handles to clients to allow seemless
recovery from display preemption. Preemption events no longer require
the video output classes to be recreated. The main complication here is
that recreation of VideoOutputSurfaces needs to be triggered from the
decoder (when hardware decoding), so we allocate a thread 'owner' to
each surface and re-create as needed.

Despite extensive locking and QHash usage, performance appears to be
unchanged from the existing class(es). Both locking and QHash checks
could possibly be relaxed going forward.

Refs #7650





More information about the mythtv-commits mailing list