Question 6750 – Computer-Graphics
February 16, 2024Question 6846 – Computer-Graphics
February 16, 2024Question 784 – Computer-Graphics
A frame buffer array is addressed in row major order for a monitor with pixel locations starting from (0,0) and ending with (100,100). What is address of the pixel(6,10)? Assume one bit storage per pixel and starting pixel location is at 0.
Correct Answer: A
Question 19 Explanation:
Given data,
Pixel location starts from =(0,0)
Pixel location ends from =(100,100)
Address of the pixel= ?
Hint: Frame buffer array is addressed in row major order
.
Step-1: Row major order is= 0+1((6-0)+101(10-0))
= 0+6+1010
= 1016
Pixel location starts from =(0,0)
Pixel location ends from =(100,100)
Address of the pixel= ?
Hint: Frame buffer array is addressed in row major order
.
Step-1: Row major order is= 0+1((6-0)+101(10-0))
= 0+6+1010
= 1016
1016
1006
610
616
Subscribe
Login
0 Comments