Sending this to the list without the patch attached. It
is too big (gzipped) to get past the size limit. Whoever
moderates this list can send the one through with the
patch attached. It has been sent to the patch queue as well
and is number 4946.

 -Matt

---------

This patch adds support to the i810 driver for the XvMC Motion
Compensation extension and the necessary support libraries.
Currently this builds xc/lib/XvMC/hw/i810/libI810XvMC.*
which any XvMC application would need to link against.
Sometime in the future this will be replaced with a libGL-like
libXvMC.so that it can load the correct hardware library.

Someone more familiar with the Make system may want to
verify the Makefiles to make sure that they are correct.

Features:
  * Implements the HWMC portion of the XvMC protocol. To
    accelerate Mpeg1/2 Decode. (i810 does not support iDCT)
  * Support for 6 or 7 YV12 XvMC surfaces up to 720x576.
  * Hardware Overlaid Display.
  * Overlay Flip synced with Vertical retrace.
  * Support for 2 IA44 Subpicture Surfaces.
  * Hardware Alpha Blend.

Limitations:
  * Currently this library is limited to root use only. The
    DMA buffer commands are not verified within the kernel
    so non-root use has been disabled in this version. This
    can easily be enabled for embedded applications with
    different security needs.
  * There are no generally available XvMC enabled decoders.
    Contact your SW DVD supplier about support, or help
    to port an open source decoder of your choice.
  * This patch implements the XvMC draft 6 protocol.
    (To be posted here in the near future) Use of Field
    pictures slightly differs from Draft 5.
  * Only supports 16 bit depth with DRI enabled.
  * Only supports Linux with 2.4.x based kernels. DRM changes
    will need to be ported to other platforms.
  * XvMC Surfaces are preallocated and make 7-8MB of Gtt
    memory unavailable for other operations. Using a VideoRAM
    setting of 32MB is recommended.

Usage:
  * Add #define SharedLibXvMC YES to your host.def file to
    get a xc/lib/XvMC/hw/i810/libI810XvMC.so library. A
    static library will be build by default.
  * Compile and use the drm module from this XFree tree.
  * Add Option "XvMCSurfaces" "6" to your XF86Config device
    section. By default no memory will be allocated for
    surfaces.
  * Verify that 6 surfaces were allocated in your X log, and
    use xdpyinfo to verify that XVideo-Motion Compensation
    extension is reported.


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to