On Friday 04 May 2007 10:49, Daniel Stone wrote:
> On Thu, May 03, 2007 at 11:10:32PM +0300, ext Siarhei Siamashka wrote:
> > Well, found what's the matter and added explanation at bugzilla:
> > https://maemo.org/bugzilla/show_bug.cgi?id=1281
> >
> > The workaround can be easily added to MPlayer, so that it will
> > never call XvShmPutImage with top left image corner at an odd line.
> > I'm going to release an updated MPlayer package (maybe even
> > a bit later today), it is really fast on N800 with the optimized xserver
> > :)
>
> Aha, that will indeed cause a fallback (x, y, width and height should
> all be aligned to 4px).

Could you clarify this information? The code from kernel framebuffer 
driver (blizzard.c) suggests that only width should be 4px aligned:

        switch (color_mode) {
        case OMAPFB_COLOR_YUV420:
                /* Embedded window with different color mode */
                bpp = 12;
                /* X, Y, height must be aligned at 2, width at 4 pixels */
                x &= ~1;
                y &= ~1;
                height = yspan = height & ~1;
                width = width & ~3;
                break;

Does xserver introduce additional limitations?
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to