[mythtv] dlopen of xvmc library (please read if you use Via XvMC)

Daniel Thor Kristjansson danielk at mrl.nyu.edu
Tue Sep 14 09:19:04 EDT 2004


Cool. This patch only took a couple hours, but I'll keep it around a
few weeks in case things don't work out.

If the Unichrome guy is on this list, maybe you could shed some light.
Basically, I just want people to be able to use the different XvMC
implementations with the precompiled MythTV packages. Will you get us
there with your wrapper?

-- Daniel

On Mon, 13 Sep 2004, Isaac Richards wrote:

]On Monday 13 September 2004 03:51 pm, Daniel Thor Kristjansson wrote:
]> I've made a patch that uses dlopen to find the vendor xvmc library at
]> runtime. But I need someone with Via Unichrome to adapt it to that
]> library. In this patch a Unichrome user would still need to recompile,
]> which isn't so nice. But I'm sure someone with that library could fix
]> xvmcvldvideo.c and xvmc_render.h so that recomplilation would not be
]> needed. I've already made most the changes needed in libmythtv for
]> dlopen to work with the Unichrome XvMC. Some functions may need to be
]> added to loadVendorXvMC (I've added XvMCPutSlice2 as an example.)
]>
]> This is tested with the nVidia library. The code also loads the Intel
]> i810 library or the Via Unichrome library at startup if it finds them.
]>
]> The order of loading is 'via' 'nvidia' 'i810' and it stops once it finds
]> one, so if you were using nvidia XvMC on a machine with the Unichrome
]> drivers this patch will break your setup.
]
]I think the guy doing the unichrome driver is also doing a xvmc wrapper
]library, that should take care of all this - be a bit cleaner than your
]method, too, I think, as it'd all be external to Myth..
]
]Isaac
]_______________________________________________
]mythtv-dev mailing list
]mythtv-dev at mythtv.org
]http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
]


More information about the mythtv-dev mailing list