Xv and alignment requirements
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 :(
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.
More information about the xorg-devel