LinuxMCE Forums

General => Developers => Topic started by: tschak909 on July 02, 2010, 10:21:02 pm

Title: Programming Task: Detect VDPAU
Post by: tschak909 on July 02, 2010, 10:21:02 pm
We need some way to detect VDPAU.

My thought, is to build a small C program that links to libvdpau, and does some basic initialization, if it is successful, then exit with an errorcode of 0,
otherwise, exit with another error code that we can decode, at the very least, that it wasn't successful.

Any volunteers?

-Thom
Title: Re: Programming Task: Detect VDPAU
Post by: niz23 on July 05, 2010, 05:34:12 pm
There is a small utility written in cpp that can query nvidia cards and return what vdpau capabilities is supported.
It is linked to libvdpau and should be fairly easy to extend with new features.

What is your plan.
A tool that autoconfigure vdpau settings for each MD upon creation/install?

/niz23
Title: Re: Programming Task: Detect VDPAU
Post by: tschak909 on July 05, 2010, 06:06:22 pm
very simple, we need to detect if vdpau is supported, and set appropriate device data based upon it. This includes setting VDPAU settings in MythTV.

-Thom