Re: How to reduce the over head of one bit appending in 24 bit RGB image display?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Vojkovich wrote:
    A couple drivers support that but most do not.  The reason why
is that it's generally a bad idea.  If you change the XImage format
to 24bpp, many desktop applications will break.  Also, performance
is sometimes slower than with 32bpp due to alignment issues.  See
the Option "Pixmap" described in the man page on XF86Config.  Note,
most drivers don't support this.

... and some hardware doesn't either.


Thomas



Mark.

On Fri, 30 Jan 2004, Subbiah wrote:


Hi,

I am getting the RGB value of the image in 24 bits. So I have Started my application in 24 bit color depth.

I am planning to use the XPutImage function for displaying the RGB value of the images.

My application reports the depth as 24 but the bpp ( bits per pixel ) as 32?.

So for my Ximage, I need to append one bit of information to get them in 32 bits.

Is there any way to set the bpp as 24, so that My overhead on the one bit appending on each RGB value will go off.

Thanks.

With Regards,
L. Subbiah



_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86



--
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net          http://www.winischhofer.net/
twini AT xfree86 DOT org
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux