PROBLEM 1.1: 3 points) Consider 256 × 256 color images where each pixel value is
ID: 3878384 • Letter: P
Question
PROBLEM 1.1: 3 points) Consider 256 × 256 color images where each pixel value is represented using 24 bits. (a) (1 point) For a slide show, each image needs to be processed withing 1 second. Using the DSP56858, what is the maximum number of instructions that can be used for processing an image within 1 second? (b) (1.5 points) For real-time video transmission or playback, a rate of 30 frames (images) per second is used. Using the DSP56858, what is the maximum number of instructions that can be used to process a video frame? c) (1.5 points) For real-time color video at 30 frames (images) per second, how many memory locations are needed to store 0.5 second of video using the DSP56858 ? (Hint: each memory location is 16 bits)?Explanation / Answer
(a)
DSP56858 have a clock frequency of 120 MHz .Therefore,time for 1 instruction = 1/f =1/(120*10^6) .
So,accordingly , it can execute 120 Million instructions per one second (max) = 120000000 instructions in 1 second
(b)
One image = 256 * 256 * 3 = 196608 bytes
256*256 resolution and 1 pixel = 24 bits = 3 bytes
1 instruction is used to send 1 bytes of data.So ,accordingly,
for 1 second = 30 frames = 30 * 196608 instructions= 5898240 instructions
(c)
We know one image = 196608 bytes
For 1 second = 30 images
0.5 second = 15 images
Therefore,for 15 images = 196608 * 15 bytes = 2949120 bytes = 23592960 bits
Each memory location can store upto 16 bits.So,if we consider continous memory mapping then
23592960/16 = 1474560 memory locations are used
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.