[MPlayer-dev-eng] [PATCH] nvidia_vid update

Sascha Sommer saschasommer at freenet.de
Tue Jan 6 19:56:23 CET 2004


> It's to get panning work. Under X11 lower resolution (not by XRandR
> extension, but with Ctrl-Alt-Plus), Move your desktop down. Now overlaying
> point is wrong :(
> Horizontal moving of desktop works, but not vertical, because bps isn't
> correct in such modes.
>
> This part of patch corrects this. Now, if you have doublebuffering
> enabled, it automagically works.
>

In the original code it looks like this
window->x -= (pan % overlay->buffer.bytesperline) * 8 /
overlay->buffer.depth;
window->y -= (pan / overlay->buffer.bytesperline);

The question is does it work with info->pitch? Or is this buffer the
entire screen?
Can you post some values for info->chip.PGRAPH[0x00000670/4];
They are always 2 or 4 times the screenwidth for me.

Sascha




More information about the MPlayer-dev-eng mailing list