Package: xorg-x11
Severity: wishlist
Tags: patch
the via unichrome chips support mpeg decompression in hardware; under X,
this can be accessed via the XvMC VLD extension, which has been
developed by the unichrome project.
the attached code was extended to support also the UnichromePro chips
found on many newer mainboards (it needs the newer driver submitted in
#319473).
the code is already incorporated into the x.org cvs.
attached you three files:
1) debian/patches/000_HG_stolen_from_myth.ivor.org_unichrome-xvmc.diff.gz
(the xvmc library code for unichrome and unichromePro, should work at
least on i386 and amd64)
2) debian/patches/001_HG_build_unichrome_xvmc.diff.gz
a minimal patch by me to enable building of the libraries (currently
done unconditionally on all XvMC-enabled builds; IMHO this has to be
restricted to the architectures for which the via graphics driver is
available, but I don't know the x build system good enough to know how
to achieve this), in both dynamic and static versions;
additionally, a header "vldXvMC.h" is installed to
$(INCDIR)/X11/extensions, to be able to build applications using this
extension (it's used in the xine "xxmc" output module and there
exists support for mplayer)
3) xorg-debian-unichrome-xvmc.diff
a patch against xorg-x11 6.8.2.dfsg.1-4 to update the manifest for
i386 and to modify the libxvmc{1,-dev} packages to include the the
new files on i386 (it should work also at least on amd64, but I
didn't yet test it there).
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11.12-xen0
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Attachment:
000_HG_stolen_from_myth.ivor.org_unichrome-xvmc.diff.gz
Description: Binary data
Attachment:
001_HG_build_unichrome_xvmc.diff.gz
Description: Binary data
diff -uN xorg-x11-6.8.2.dfsg.1-xsf/debian/MANIFEST.i386.in xorg-x11-6.8.2.dfsg.1/debian/MANIFEST.i386.in --- xorg-x11-6.8.2.dfsg.1-xsf/debian/MANIFEST.i386.in 2005-07-22 09:41:47.000000000 +0200 +++ xorg-x11-6.8.2.dfsg.1/debian/MANIFEST.i386.in 2005-07-22 10:37:13.000000000 +0200 @@ -983,6 +983,7 @@ usr/X11R6/include/X11/extensions/shmstr.h usr/X11R6/include/X11/extensions/sync.h usr/X11R6/include/X11/extensions/syncstr.h +usr/X11R6/include/X11/extensions/vldXvMC.h usr/X11R6/include/X11/extensions/xcmiscstr.h usr/X11R6/include/X11/extensions/xevieplaceholder.h usr/X11R6/include/X11/extensions/xf86bigfont.h @@ -1579,6 +1580,10 @@ usr/X11R6/lib/libfontenc_pic.a usr/X11R6/lib/libpsres.a usr/X11R6/lib/libpsres.so.1.0 +usr/X11R6/lib/libviaXvMC.a +usr/X11R6/lib/libviaXvMC.so.1.0 +usr/X11R6/lib/libviaXvMCPro.a +usr/X11R6/lib/libviaXvMCPro.so.1.0 usr/X11R6/lib/libxf86config.a usr/X11R6/lib/libxf86config_pic.a usr/X11R6/lib/libxkbfile.a diff -uN xorg-x11-6.8.2.dfsg.1-xsf/debian/libxvmc-dev.install.i386 xorg-x11-6.8.2.dfsg.1/debian/libxvmc-dev.install.i386 --- xorg-x11-6.8.2.dfsg.1-xsf/debian/libxvmc-dev.install.i386 2005-07-22 09:41:47.000000000 +0200 +++ xorg-x11-6.8.2.dfsg.1/debian/libxvmc-dev.install.i386 2005-07-22 10:39:19.000000000 +0200 @@ -1,5 +1,8 @@ usr/X11R6/lib/libI810XvMC.a usr/X11R6/lib/libXvMC.a +usr/X11R6/lib/libviaXvMC.a +usr/X11R6/lib/libviaXvMCPro.a usr/X11R6/include/X11/extensions/XvMC.h usr/X11R6/include/X11/extensions/XvMClib.h usr/X11R6/include/X11/extensions/XvMCproto.h +usr/X11R6/include/X11/extensions/vldXvMC.h diff -uN xorg-x11-6.8.2.dfsg.1-xsf/debian/libxvmc1.install.i386 xorg-x11-6.8.2.dfsg.1/debian/libxvmc1.install.i386 --- xorg-x11-6.8.2.dfsg.1-xsf/debian/libxvmc1.install.i386 2005-07-22 09:41:47.000000000 +0200 +++ xorg-x11-6.8.2.dfsg.1/debian/libxvmc1.install.i386 2005-07-22 10:38:53.000000000 +0200 @@ -1,2 +1,4 @@ usr/X11R6/lib/libXvMC.so.1.0 usr/X11R6/lib/libI810XvMC.so.1.0 +usr/X11R6/lib/libviaXvMC.so.1.0 +usr/X11R6/lib/libviaXvMCPro.so.1.0 Common subdirectories: xorg-x11-6.8.2.dfsg.1-xsf/debian/local and xorg-x11-6.8.2.dfsg.1/debian/local Common subdirectories: xorg-x11-6.8.2.dfsg.1-xsf/debian/patches and xorg-x11-6.8.2.dfsg.1/debian/patches Common subdirectories: xorg-x11-6.8.2.dfsg.1-xsf/debian/po and xorg-x11-6.8.2.dfsg.1/debian/po Common subdirectories: xorg-x11-6.8.2.dfsg.1-xsf/debian/scripts and xorg-x11-6.8.2.dfsg.1/debian/scripts