Around 15 o'clock on Mar 29, Vladimir Dergachev wrote:

> I was under impression that Radeon driver only uses 565 and 32bpp ARGB
> framebuffer formats. I do not think it makes sense to support Xv with 8bpp
> modes so I thought the code to be correct.

For TrueColor, the radeon driver also supports 555, which is the format I 
was using.

I don't understand why you think 8bpp isn't a reasonable format; many apps 
run only on PseudoColor displays.  The video isn't restricted to that 
format as it bypasses the LUT, so this format would have no effect on the 
appearance of the Xv images.

> Are you trying to allow pixel values to be passed in the same format as
> the visual associated to the window you apply XvPutXXXX call to ? If so, I
> do not understand how your code works..

To work properly, the color key must be programmed with the RGB values it 
will see when the given pixel value is sent through the LUT.  That's why 
the code I wrote uses the current installed colormap, rather than the 
windows colormap.  It occurs to me now that the code must also track 
colormap changes and reload the color key as appropriate.

Keith Packard        XFree86 Core Team        Compaq Cambridge Research Lab


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to