Lecture 1 (5) Flashcards

(6 cards)

1
Q

In a true colour framebuffer, how many bytes does each pixel take?

A

3 bytes (24 bits)

This allows for a total of 16,777,216 (~16 million) simultaneous colours.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the total number of simultaneous colours in a true colour framebuffer?

A

16,777,216

This is calculated as 2^24.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the address formula for pixel (2,1) in a true colour framebuffer given an image of height H and width W?

A

Address = 3(W+2)

This formula accounts for the pixel’s position in the framebuffer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the general address formula for pixel (x,y) in a true colour framebuffer?

A

Address = 3(x + Wy)

This formula calculates the address based on the pixel’s coordinates and the image width.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What was the dominant display technology around the early 2000s?

A

CRT display

CRT stands for Cathode Ray Tube, which was widely used before the advent of LCD and LED technologies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In a true colour framebuffer, how are the pixel colours stored?

A

In BGR format 🤔

Each pixel’s colour is stored as three consecutive bytes representing Blue, Green, and Red.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly