Re: [Xpert]Using MMX assembly (for video card drivers

2002-01-11 Thread Ewald Snel
At 11:26 AM 4/01/02 +0100, Ewald Snel wrote: (sorry for the duplicate message, it was delayed for one week (see date)) [...] It would be interesting to see if the same could be achieved with 3DNow! instructions, as this would provide a welcome boost for anyone with an AMD K6-2 or K6-3

Re: [Xpert]Using MMX assembly (for video card drivers)

2002-01-11 Thread Ewald Snel
[...] BTW - does anyone know why the mga driver internally converts to 422 format ? It seems to me that mga 400 and 450 chips do support 420 planar format... (I saw some sample code using it, I can probably find it back if needed). I think XFree would benefit from using this feature instead

[Xpert]Using MMX assembly (for video card drivers)

2002-01-04 Thread Ewald Snel
Hi, Could I use MMX assembly for improving the mga video driver? I wrote a vertical chrominance filter (*) for the XVideo module using inline MMX assembly. This allows me to improve output quality without any speed penalty. Of course, I'm using #ifdef USE_MMX_ASM and the original C code as an

Re: [Xpert]Using MMX assembly (for video card drivers)

2002-01-04 Thread Ewald Snel
Hi, I wrote a vertical chrominance filter (*) for the XVideo module using inline MMX assembly. This allows me to improve output quality without any speed penalty. Do you mean for upsampling to 4:2:2 ? How do you filter? Do you average to create the new chroma line? Something like

Re: [Xpert]Using MMX assembly (for video card drivers)

2002-01-04 Thread Ewald Snel
Hi, [...] Something like that, the filter uses 0.75x nearest chrominance sample and 0.25x second nearest chrominance sample. This is more accurate as it doesn't shift the chrominance signal by 1 pixel. Please, please correct me if I'm wrong here. In MPEG sampling, the chrominance

[Xpert][patch] Matrox XVideo chrominance filtering (horizontal)

2001-12-23 Thread Ewald Snel
Hi, For some reason, this hardware feature has been disabled in the previous release of XFree86 (4.1.0). I don't know if there was a good reason for this (don't think so), but videos look better with this bit on. It will eliminate red blockiness in the horizontal direction. Vertical

Re: [Xpert]Tearing on overlay surfaces

2001-12-03 Thread Ewald Snel
Hi, [...] It's a little more than that because the driver is using 4:2:2 internally. Copying the way it is doing you can't get much more than 160 MB/sec and uses the CPU the whole time. Hrm, I hope it doesn't just double each chroma scanline. I'm in fear now. Wish that was

Re: [Xpert]Wheel mouse does not work with USB mouse when using input core driver

2001-11-25 Thread Ewald Snel
Hi. Hi, I'm using a Logitech MouseManPlus USB (also works when using a USB-PS/2 adapter). Current setup: Linux kernel 2.4.15-pre5, XFree86 from CVS (Nov. 24th). Bug: Mouse wheel does not work with xterm/mozilla/any X app when using USB mouse and Input core driver whereas it works with