A framebuffer is a
Framebuffer 的架構,是利用 mmap 向 kernel 映射出 "顯示記憶體"區塊(註一、其他memory access的方式 ),讓
The information in the buffer typically consists of color values
Framebuffer裡主要是顯示資訊。
Color values are commonly stored in 1-bit monochrome, 4-bit palettized, 8-bit palettized, 16-bit highcolor and 24-bit truecolor formats. An additional alpha channel is sometimes used to retain information about pixel transparency.
以上是Color values的格式 Orz 不是很懂。
The total amount of the memory required to drive the framebuffer depends on the resolution of the output signal, and on the color depth and palette size.
而所會用到的記憶體大小就看你要顯示的多清楚了!
註一、其他memory access的方式;
- Mapping the entire framebuffer to a given memory range.
- Port commands to set each pixel, range of pixels or palette entry.
- Mapping a memory range smaller than the framebuffer memory, then bank switching as necessary.
相關閱讀:
關於framebuffer與LCD顯示~ (方法分享)
Linux frame buffer 驅動程式開發簡報下載
有關卓首科技顧問股份有限公司
http://www.jollen.tw/training.html
留言列表