Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How is this memory needed calculated ?

Status
Not open for further replies.

Jack// ani

Advanced Member level 3
Joined
Dec 2, 2004
Messages
757
Helped
107
Reputation
222
Reaction score
58
Trophy points
1,308
Activity points
5,006
How is this calculated?

Q. If there are 1024*1280 pixels on a screen and each pixel can have around 16 million colors. Find the memory required for this?

Ans. 4MB

How is this calculated?
 

Re: How is this calculated?

Hi,

16 million colors per pixel means 24bits (2^24 = 16777216) or 3 bytes per pixel. A 1024 x 1280 pixels screen means 1310720 pixels.

The needed memory to store such a screen is 1310720 pixels x 3 bytes = 3932160 bytes, not far from 4Mbytes.
 

    Jack// ani

    Points: 2
    Helpful Answer Positive Rating
Re: How is this calculated?

log(16e6)/log(2)=23.9 24 Bit need for 16 million color (3 Byte)

1024 * 1280 * 3 = 3932160 Byte = 3.75 Mbyte
 

    Jack// ani

    Points: 2
    Helpful Answer Positive Rating
Re: How is this calculated?

if i have such deep colour scale now how we implement such that it can see on screen, crt , lcd and soon is there needed dac t implement
 

Re: How is this calculated?

The above is correct calculation. But please take care about real system implementation. If you implement on 32-bit system, and do you want high performance ? Because 32-bit system can work with 32-bit data for read/write. 3-byte (24-bit) operation may difficult and reduce performance. So you may use 4-byte (32-bit) for 1 pixel, That means 1024*1280*4 = 5 MB.
 

Re: How is this calculated?

Use 5Mbyt address space and 4Mbyte RAM.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top