[s1mp3-dev] LCD API

Bluechip csbluechip at gmail.com
Thu Jun 1 22:13:26 CDT 2006


> > The LCD/OLED probably isn't more than 15-bit color (I think something like
> > 12 or 9 would be more probable) so we can use a signed int for the colors,
> > with a negative value meaning a themed color or some other special value
> > (transparancy, for example).
>
>Gotta correct myself on that one: Wladston confirmed most manufacturers
>specs by viewing a pic with an image which would only be seen on a 16-bit
>display and it was visible. So the color displays are 16bit, and we'd need
>24 bit of 'color indicator' to make use of themes or 'special' colors, or
>we could decide that 15-bit color should be enough for everyone ;)
>
>Jeroen

My last post talks about using a variable sized colour
ala
#if defined LCD_15
typedef COLOUR I16
#elif defined LCD_24
typedef COLOUR I32
#endif

I would be very tempted to lock people down to 15bit colour
ala
#if defined LCD_16
typedef COLOUR I16

we can just right shift any palette(wrong word) colours by one bit 
...I don't believe the loss of quality would be perceived by anybody 
but the most anal.  And if they want true 16bit colour, let them:
#if defined LCD_16
typedef COLOUR I32

I LIKE the idea of themes, and I DON'T like the idea of wasting 
15bits of RAM per pixel just so we can support them.  And *I* don't 
think you would notice losing the least significant bit of a colour - 
when we have 65K colours on a 4" MP3 screen.

Obviously once we are playing video, the theming becomes irrelevant 
and we can use all the colour bits we desire in the video codec.

BC 




More information about the s1mp3-dev mailing list