In a true colour framebuffer, how many bytes does each pixel take?
3 bytes (24 bits)
This allows for a total of 16,777,216 (~16 million) simultaneous colours.
What is the total number of simultaneous colours in a true colour framebuffer?
16,777,216
This is calculated as 2^24.
What is the address formula for pixel (2,1) in a true colour framebuffer given an image of height H and width W?
Address = 3(W+2)
This formula accounts for the pixel’s position in the framebuffer.
What is the general address formula for pixel (x,y) in a true colour framebuffer?
Address = 3(x + Wy)
This formula calculates the address based on the pixel’s coordinates and the image width.
What was the dominant display technology around the early 2000s?
CRT display
CRT stands for Cathode Ray Tube, which was widely used before the advent of LCD and LED technologies.
In a true colour framebuffer, how are the pixel colours stored?
In BGR format 🤔
Each pixel’s colour is stored as three consecutive bytes representing Blue, Green, and Red.