|
Add the XVBO gstreamer plugin, which works with xf86-video-armada,
allowing zero-copy playback by passing the buffer by reference to the
Xorg Xv backend. This is done via a mechanism similar to that employed
by Intel's XvMC implementation, but a little better.
A conforming implementation advertises its supported formats via the
usual Xv method, but includes a special "XVBO" fourcc in the list of
supported formats. This format takes two 32-bit native-endian words,
which are the fourcc for the format, and the DRM global name for the
buffer. The Xorg DDX recognises the XVBO fourcc, and extracts the
format and global name, imports the buffer and displays it.
This allows implementations that need to pass the frame directly to the
GPU and/or overlay to do so without incurring expensive CPU copy or
cache maintanence costs.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
|