how to handle MSB framebuffer in LSB kernel?
Hi,
I have a problem how to handle MSB framebuffer (s3c2410fb) in LSB kernel (typical ARM kernel).
It is not a problem in 8+ bpp (bits per pixel) modes. The problem is how to reverse pixel order in 1, 2 and 4 bpp modes, because it does not work otherwise. Is there any fb flag or something?
Regards,
Krzysztof
----------------------------------------------------
Czy na wakacje warto zabraæ laptopa?
Zobacz gdzie dzia³aj± strefy darmowego, bezprzewodowego Internetu!
Kliknij: http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fd128.html&sid=1259
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Quoted 9 lines · Krzysztof Helt
Hi,
I have a problem how to handle MSB framebuffer (s3c2410fb) in LSB kernel (typical ARM kernel).
It is not a problem in 8+ bpp (bits per pixel) modes. The problem is how to reverse pixel order in 1, 2 and 4 bpp modes, because it does not work otherwise. Is there any fb flag or something?
If 4bpp, ab|cd|ef is reversed as ba|dc|ef? I don't think the drawing libraries do not support pixel reversal. Either the hardware does it, or we create a library for this.
Tony
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
Re: how to handle MSB framebuffer in LSBkernel?
In reply to Krzysztof HeltDnia 13-08-2007 o godz. 22:15 Antonino A. Daplas napisa³(a):
Quoted 4 lines · Krzysztof Helt
Quoted 3 lines
Hi,
I have a problem how to handle MSB framebuffer (s3c2410fb) in
LSB
Quoted 5 lines
Quoted 5 lines
kernel (typical ARM kernel).
It is not a problem in 8+ bpp (bits per pixel) modes. The problem is how to reverse pixel order in 1, 2 and 4 bpp modes, because it does not work otherwise. Is there any fb
flag
Quoted 3 lines
Quoted 1 line
or something?
If 4bpp, ab|cd|ef is reversed as ba|dc|ef?
Yes.
Quoted 2 lines
I don't think the drawing
libraries do not support pixel reversal. Either the hardware
does it, or
Quoted 2 lines
we create a library for this.
It may be not so important if it is difficult/slow. Most PDAs uses TFT so support 8+ bpp modes. If it is not easy, this may stay as it is (mean still broken) or these modes (1-4bpp) can be removed than added fixed and tested if someone needs them.
Regards,
Krzysztof
Quoted 2 lines
----------------------------------------------------
Producenci filmu SEZON NA MISIA przedstawiaj±
surfuj±ce pingwiny w nowej, animowanej komedii
NA FALI - w kinach od 10 sierpnia!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fnafali_zwiastun.html&sid=1256
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/