lpcware

Memory in Framebuffer with 18-bit per Pixel

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Martin84 on Wed Jul 31 00:40:38 MST 2013
Hi,

I'm using an 18-bit TFT and I wanna calculate the memory that one frame will need. The resolution is 640x480, so I calculate as follows: 640*480*18bit = 5529600 bits -> 5529600 / 8 = 691200 Bytes = 691kB.

Is the calculation with 18-bit correct or do i have to use 32-bit?

Regards,

Martin

Outcomes