Thanks for catching that.
It did work on the chipsets that reset these values, but not on the ones
that didn't.
Alan.
On Mon, Jan 28, 2002 at 02:58:07PM +0100, Hagen Heiduck wrote:
>
> Hello,
>
> I've tried to adjust my Xv window with the "XvRskew" option and got a nice
> result: With negative values the right side of the screen does "walk"
> continuously (approx. every 4 seconds) to the left while playing a video.
>
> Looking at the bottom of "trident_video.c" the reason seems to be clear:
>
> void
> tridentFixFrame(ScrnInfoPtr pScrn, int *fixFrame)
> {
>
> TRIDENTPtr pTrident = TRIDENTPTR(pScrn);
> int vgaIOBase = VGAHWPTR(pScrn)->IOBase;
> int HTotal, HSyncStart;
> int VTotal, VSyncStart;
> int h_off = 0;
> int v_off = 0;
> unsigned char CRTC[0x11];
> Bool isShadow;
> unsigned char shadow = 0;
>
> if ((*fixFrame)++ < 100)
> return;
>
> *fixFrame = 0;
>
> (...)
>
> pTrident->hsync+=pTrident->OverrideHsync;
> pTrident->vsync+=pTrident->OverrideVsync;
> pTrident->hsync_rskew+=pTrident->OverrideRskew;
> pTrident->vsync_bskew+=pTrident->OverrideBskew;
> }
>
> Every 100 frames(?) the "pTrident->hsync_rskew value" grows if
> "pTrident->OverrideRskew" is different from 0.
>
> BTW: It seems, that "-1" is the right value for "XvBskew" as well as for
> "XvRskew" with a Trident Cyber 9397DVD card.
>
>
> Hagen
>
>
> _______________________________________________
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert