Commit Graph

4 Commits

Author SHA1 Message Date
Amaury Pouly ac59669d46 fix warning in lcd-as-memframe.c
The fix is to actually remove unused variables. Those were unused from day 1,
which I find slightly suspicious so either there is some problem or the code was
copy-pasted and modified, making some variables useless.

Change-Id: I41caf52d469b48c969ece969540de67d87e77357
2017-09-17 15:13:52 +02:00
Amaury Pouly 6677f9786b Fix YUV generic C performance function on 24-bit framebuffer
When changed to handle 24-bit framebuffer, some places were missed.

Change-Id: Iaa7e09ea723e5b40bd88b2042c93dafaa7311fee
2014-11-10 20:30:16 +01:00
Thomas Martitz a1842c04f9 lcd-24bit: Introduce a 24-bit mid-level LCD driver
With LCD driver all calculation will be performed on RGB888 and the hardware/OS
can display from our 24bit framebuffer.

It is not yet as performance optimized as the existing drivers but should be
good enough.The vast number of small changes is due to the fact that
fb_data can be a struct type now, while most of the code expected a scalar type.

lcd-as-memframe ASM code does not work with 24bit currently so the with 24bit
it enforces the generic C code.

All plugins are ported over. Except for rockpaint. It uses so much memory that
it wouldnt fit into the 512k plugin buffer anymore (patches welcome).

Change-Id: Ibb1964545028ce0d8ff9833ccc3ab66be3ee0754
2014-06-21 00:15:53 +02:00
Thomas Martitz 094cbd586f Implement a C version lcd-as-memframe.c and move it and the asm to firmware/asm.
Change-Id: I20c3af0368202493d54fb776530300a39d47873a
2012-01-22 18:46:45 +01:00