summaryrefslogtreecommitdiff
path: root/firmware/export/lcd.h (follow)
Commit message (Collapse)AuthorAge
* Accept FS#7901 by Akio Idehara: Fix gradient for scrolling lines when more ↵Nicolas Pennequin2007-11-19
| | | | | | than one line is selected git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15698 a1c6a512-1295-4272-9138-f99709370657
* When unpacking a 16-bit color value to 24 bits, repeat the high bits of each ↵Magnus Holmgren2007-11-11
| | | | | | component rather than the low bits. This makes the RGB value displayed in the color picker (and in settings files) more accurate. E.g., when using the reported color in a background, it will no longer be dithered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15589 a1c6a512-1295-4272-9138-f99709370657
* Remove the "invert scroll" code since it's not used anywhere anymore (and it ↵Antoine Cellerier2007-10-15
| | | | | | was broken on color targets with gradients anyway). Closes FS #7875. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15125 a1c6a512-1295-4272-9138-f99709370657
* Save a few bytes in the line selector style handling code.Antoine Cellerier2007-09-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14927 a1c6a512-1295-4272-9138-f99709370657
* Fix the LCD line remaining active after shutdown on grayscale ipods ↵Nicolas Pennequin2007-09-29
| | | | | | (FS#5199). Original patch by Tomasz Mon, modified by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14907 a1c6a512-1295-4272-9138-f99709370657
* FS#7808 by Tom Ross, Ken Fazzone and me, with help from Antoine Cellerier.Nicolas Pennequin2007-09-27
| | | | | | | | | Add two new line selector types: solid colour and gradient. Solid colour only uses the primary colour setting. The secondary colour setting is used for the gradient. Text colour for the selected item is also changeable. These new settings are a bit controversial so they may be removed later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14868 a1c6a512-1295-4272-9138-f99709370657
* Dithering option for mpegplayer on gigabeat-f/x and e200. Assembly IDCT for ↵Michael Sevakis2007-09-25
| | | | | | ARm just to make it all work more nicely. Move UI simulator YUV code to its core to adapt it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14851 a1c6a512-1295-4272-9138-f99709370657
* Straignten out some issues with HAVE_LCD_ENABLE. 1g/2g/3g had it defined but ↵Michael Sevakis2007-07-31
| | | | | | it shouldn't have been. lcd_enabled() was only available as a real function on gigabeat but others can use that too. Markup lcd.h a bit because I got a bit lost in it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14100 a1c6a512-1295-4272-9138-f99709370657
* Fix warnings and errors. Remove some added stuff that wasn't needed afterall.Michael Sevakis2007-07-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14036 a1c6a512-1295-4272-9138-f99709370657
* Scroll on main and remote with a single thread. Change the way system ↵Michael Sevakis2007-07-28
| | | | | | messages are defined before running out is an issue (which requires a full update of rockbox on the player). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14035 a1c6a512-1295-4272-9138-f99709370657
* Oops.Jens Arnold2007-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14024 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#7044 - if the color RGB(0,255,255) is in a bmp it will be replaced ↵Jonathan Gordon2007-07-14
| | | | | | with the current foreground colour git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13878 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#7336 - scrolling lines don't stay coloured.Jonathan Gordon2007-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13682 a1c6a512-1295-4272-9138-f99709370657
* Give color targets the ability to display each LCD line a different color ↵Brandon Low2007-06-17
| | | | | | and use this newfangled ability to provide themable colored file types. See the comments on read_color_theme_file and the sample.colors file provided for how to use this. .colors files go in themes directory for now. This separate line color function should be trivial to add to menus and wpss. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13656 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat LCD driver cleanup: Revert the DMA optimisations to the gigabeat ↵Dave Chapman2007-05-15
| | | | | | LCD driver - they are both buggy (the wrong background colour was often seen, e.g. in the USB screen after using a plugin) and significantly slower than the standard implementations (which use the ARM-optimised mem* functions) in lcd-16bit.c. lcd_clear_update was 4.5 times slower with DMA when a backdrop is in use, and 12 times slower with DMA when no backdrop is in use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13392 a1c6a512-1295-4272-9138-f99709370657
* It's not necessary (anymore?) to map lcd_icon() to sim_lcd_icon() for the ↵Jens Arnold2007-04-03
| | | | | | simulator. * Removed a stray lcd_icon() call from usb handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13006 a1c6a512-1295-4272-9138-f99709370657
* Charcell lcd driver: Preparations for switching to non-immediate LCD ↵Jens Arnold2007-03-31
| | | | | | updates, using lcd_update() like on bitmap targets. * Added proper clipping. * Simplified simulator code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12979 a1c6a512-1295-4272-9138-f99709370657
* (all targets) Increase scrolling line size to account for utf-8 in the ↵Jens Arnold2007-03-27
| | | | | | overlap. (player) Fix utf-8-related scroll-around display bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12943 a1c6a512-1295-4272-9138-f99709370657
* First step of charcell LCD code rework: * Make it fully unicode aware so ↵Jens Arnold2007-03-26
| | | | | | that adding non-ISO8859-1 scripts becomes possible (limited by the LCD capabilities of course). * Make the API more similar to the bitmap LCD code's API. * Moved hardware dependent parts to target tree. * Simplified code. * Jumpscroll temporarily non-functional. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12916 a1c6a512-1295-4272-9138-f99709370657
* Correct some color unpacking macros.Michael Sevakis2007-03-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12875 a1c6a512-1295-4272-9138-f99709370657
* Archos player: Introduce lcd_write_command_e (only one data byte) in the lcd ↵Jens Arnold2007-03-18
| | | | | | driver, for cleaner C code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12835 a1c6a512-1295-4272-9138-f99709370657
* Introduced LCD_FBHEIGHT in addition to the already existing LCD_FBWIDTH to ↵Jens Arnold2007-02-20
| | | | | | ease framebuffer handling a bit. Added equivalent definitions for the remote LCD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12419 a1c6a512-1295-4272-9138-f99709370657
* avoid using #if on undefined symbols, in preparation for -WundefDaniel Stenberg2007-02-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12357 a1c6a512-1295-4272-9138-f99709370657
* Setup LCD ourselves; move LCD buffer and TTB to free up 1.7MB of memoryGreg White2007-01-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11994 a1c6a512-1295-4272-9138-f99709370657
* Fix simulator buildGreg White2007-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11910 a1c6a512-1295-4272-9138-f99709370657
* Use DMA for Blit to screen/clearGreg White2007-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11906 a1c6a512-1295-4272-9138-f99709370657
* Fix freeze/crash problems when scrolling very long strings (like filenames ↵Magnus Holmgren2006-12-17
| | | | | | or tags). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11789 a1c6a512-1295-4272-9138-f99709370657
* BMP loader: Remote LCD format support.Jens Arnold2006-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11558 a1c6a512-1295-4272-9138-f99709370657
* Backdrop support for greyscale targets. WPS backdrop is untested.Jens Arnold2006-11-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657
* Removed remnants of deprecated lcd_roll().Jens Arnold2006-10-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11409 a1c6a512-1295-4272-9138-f99709370657
* More color adjustments. Better translation to and from native colors with ↵Michael Sevakis2006-10-15
| | | | | | even distribution of levels. Macros for extracting native depth components and packing them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11227 a1c6a512-1295-4272-9138-f99709370657
* Added a small interface to screens to translate colors into remote gray ↵Michael Sevakis2006-10-14
| | | | | | levels on the x5. Splash screens paint properly with light gray. Should be adapted to a more general approach in the future. A few trailing whitespace trimmings got into a couple files but that is fine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11218 a1c6a512-1295-4272-9138-f99709370657
* Added dithering for 24 bit backdrops on 16 bit displays. FORMAT_DITHER ↵Michael Sevakis2006-10-11
| | | | | | should be specified to dither a bitmap when loading. Feel free to flame me if I got the RGB565SWAPPED thing wrong. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11180 a1c6a512-1295-4272-9138-f99709370657
* Clean up the #ifdefs surrounding the definition of lcd_yuv_blit() and add an ↵Dave Chapman2006-08-12
| | | | | | initial (untested) implementation for the Gigabeat git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10541 a1c6a512-1295-4272-9138-f99709370657
* Accepted FS #5786 by Michael Sevakis - lcd_yuv_blit() for X5.Rani Hod2006-08-11
| | | | | | | hard coded to YUV4:2:0 for now, gives ~13.5 fps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10528 a1c6a512-1295-4272-9138-f99709370657
* Accepted FS #5772 by Michael SevakisRani Hod2006-08-08
| | | | | | | | | | | | 1. X5 lcd sleep 2. #define HAVE_LCD_ENABLE 3. add "backlight (on hold switch)" setting, adapted from FS #5735 Note that the while(1) yield ==> asm("halt") part is NOT commited here, I prefer it would be discussed separately. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10489 a1c6a512-1295-4272-9138-f99709370657
* Implementation of lcd_yuv_blit() for the ipod 5g.Dave Chapman2006-08-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10487 a1c6a512-1295-4272-9138-f99709370657
* H300: * Implemented lcd_yuv_blit(). Speeds up video playback by about 7%. No ↵Jens Arnold2006-08-08
| | | | | | bounds check in lcd_yuv_blit() (by convention), implementations for other targets should be adapted. * Fixed off-by-one bug in lcd_update_rect() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10484 a1c6a512-1295-4272-9138-f99709370657
* Initial commit of work-in-progress MPEG video player plugin based on ↵Dave Chapman2006-08-07
| | | | | | libmpeg2. Works on all targets with colour LCDs, but most optimised for the ipod Color/Photo and Nano. It currently only plays raw MPEG-1 or MPEG-2 video streams (no audio). Also adds a new lcd_yuv_blit() function to the plugin API - currently only implemented for the ipod Color/Photo and Nano. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10479 a1c6a512-1295-4272-9138-f99709370657
* LCD drivers: * Slight speedup for 2bit greyscale drivers. Use the same ↵Jens Arnold2006-07-28
| | | | | | scrolltext drawing anywhere. * Cleanup, fixes and definitions in preparation for X5 remote. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10346 a1c6a512-1295-4272-9138-f99709370657
* LCD extension library: Implemented scrolling for LCD depths below 8 bit. * ↵Jens Arnold2006-03-08
| | | | | | Oscilloscope: Use new scrolling function, some minor optimisations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8951 a1c6a512-1295-4272-9138-f99709370657
* Foreground/Background colour settings. Based on patch #3050 by Jonathan ↵Dave Chapman2006-02-26
| | | | | | Gordon, extended my me. The principle of the patch is that the three sliders contain the native ranges (currently 0..31, 0..63, 0..31), and the equivalent RGB888 colour is displayed underneath. The config block (and global_settings struct) contain the native value for the fg/bg colours (either RGB565 or RGB565SWAPPED), but the text .cfg files contain the RGB888 value written as 6 hex digits. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8840 a1c6a512-1295-4272-9138-f99709370657
* Made LCD_RGBPACK() macro more efficient when used with variable arguments.Jens Arnold2006-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8789 a1c6a512-1295-4272-9138-f99709370657
* Oops, no potentially conflicting declarations please.Jens Arnold2006-02-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8749 a1c6a512-1295-4272-9138-f99709370657
* Create an SDL sim for the iPod 4G Grayscale and also create an IPOD_ARCH ↵Dave Chapman2006-02-09
| | | | | | define for all iPods. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8636 a1c6a512-1295-4272-9138-f99709370657
* More iPod 3G changes from Seven Le Mesle, and some unification of the iPod ↵Dave Chapman2006-02-05
| | | | | | code from me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8581 a1c6a512-1295-4272-9138-f99709370657
* The iAudio X5 LCD is 18 bitsLinus Nielsen Feltzing2006-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8572 a1c6a512-1295-4272-9138-f99709370657
* Colour LCD driver: * Bring non-backdrop rendering back up to speed. * Speed ↵Jens Arnold2006-02-03
| | | | | | up rendering with backdrop. * Restore correct behaviour of lcd_clear_display(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8549 a1c6a512-1295-4272-9138-f99709370657
* Patch #1421422 - Backdrop image patch started by Linus, finished by me. ↵Dave Chapman2006-02-02
| | | | | | Adds ability to set backdrop images for file browser and menus (store full-screen bitmaps in /.rockbox/backdrops/) and also the ability to set a full-screen background image in a WPS using the %X|filename.bmp| WPS tag. Currently only implemented for targets with colour LCDs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8536 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress transparent bitmaps with 255,0,255 as the transparent ↵Linus Nielsen Feltzing2006-01-28
| | | | | | color, not yet working on the H100 series git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8476 a1c6a512-1295-4272-9138-f99709370657