Xv and alignment requirements

Daniel Drake dsd at laptop.org
Fri May 31 12:42:05 PDT 2013


On Thu, May 30, 2013 at 4:31 PM, Daniel Stone <daniel at fooishbar.org> wrote:
> No bigs - pretty much all hardware has this requirement! The
> QueryImageAttributes Xv hook lets you specify what the pitch has to be
> for each plane, so just round up from the width and set it there.
> Clients do (and have to) respect that.

Thanks as always - thats what I was looking for.

gstreamer doesn't respect it though :(
https://bugzilla.gnome.org/show_bug.cgi?id=639506

So for now I will just tweak the app to use a more standard resolution
which will result in clean alignment of image planes. For the future
there are some other Xv PutImage codepaths in the driver which look
like they might be more flexible.

Daniel


More information about the xorg-devel mailing list