CyberWalkingGuy / arduino-tvout

Automatically exported from code.google.com/p/arduino-tvout
1 stars 0 forks source link

Improvement: Implement a general bitmap function #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
bitmap(unsigned char x, unsigned char y, const char bitmap)

Place the upper left corner of a bitmap at point x,y

the bitmap should be encoded as follows:
{#ofBytesWide,#lastByteDrop#ofLines,imageData.....}
msb of a byte is the left most pixel in the byte.
the following byte being the next 8 pixels
lastByteDrop contains the number of pixels to be removed from the end of the 
last byte on each line.

Original issue reported on code.google.com by mdmetzle@gmail.com on 15 Oct 2010 at 11:45

GoogleCodeExporter commented 8 years ago

Original comment by mdmetzle@gmail.com on 17 Oct 2010 at 4:28

GoogleCodeExporter commented 8 years ago
byte aligned bitmaps work.
implemented as follows:
bitmap array = {xres,yres,imagedata......}
using = TVoutObject.bitmap(x,y,bitmap)

fs_bitmap was removed, not including a bitmap by default reduces flash by 1.5k 
atm.

Original comment by mdmetzle@gmail.com on 25 Oct 2010 at 1:56

GoogleCodeExporter commented 8 years ago

Original comment by mdmetzle@gmail.com on 30 Oct 2010 at 3:33