Basic Video Broadcast Operation
Neighborhood Physicist
Posts: 32
I am just starting to work with the video.· I am used to 24 bit color pixel or 8 bit grayscale.· The doc on the video is confusing.
I have a bitmap in memory how do I feed this out.· I have looked at some of the examples but they are not commented very well.
Does anyone have a good resource or well commented example on how to output pixel data.
Thanks.
I have a bitmap in memory how do I feed this out.· I have looked at some of the examples but they are not commented very well.
Does anyone have a good resource or well commented example on how to output pixel data.
Thanks.
Comments
http://www.rayslogic.com/propeller/Programming/2BitBitmap.htm
http://www.rayslogic.com/propeller/Programming/GraphicsDemo.htm
http://www.rayslogic.com/propeller/Programming/TV_Colors.htm
The Propeller's video generator is based on "tiles" of 32 or 16 horizontal pixels with either two colors or 4 colors respectively
per pixel and the 2 or 4 color "palette" associated on a per tile basis (each tile can have a different palette). You might look
at Terry Hitt's display overlay driver (in the Propeller Object Exchange) which is a simple black and white bitmap video driver.
Thanks Rayman. Your color app lifted the confusion curtain.
I wonder why they did it this way instea of just allowing 24 bit color or 8 bit b/w???
You're right; a maximum of four colours per 16 horizontal pixels.
VCFG register sets the 'operating mode' and VSCL register sets the rate at which pixels are churned out.
The clearest examples (IMO) I've seen are those of and derived from potatohead's 8x8 text driver. My own variation on that shows perhaps more clearly how it is done a scan line at a time.
That was the code which gave me an understanding of Propeller video generation.
http://forums.parallax.com/showthread.php?p=679210
Thanks.
I think this is about the biggest screen for NTSC:
cols = 42
rows = 28
You get a bit more with PAL.
There's a utility (demo) program to display the color values that's included with the Propeller Tool.
I have a 640x480 b/w image that I would like to stream from ext memory.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Thanks.
http://forums.parallax.com/showthread.php?p=645048
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Maybe I am missing something, but it looks like you just thru away all your color data.
It looks like the grayscale will just get filled with meaningless colors.
How do you pick one of the 64 colors that is closest to the 24 bit RGB value??