Escolar Documentos
Profissional Documentos
Cultura Documentos
Midterm
March 7 (Friday),1-1:50pm, 0216 SC Closed Book, Closed Notes You can bring calculator and 1 page cheat sheet
Covered Material
Class Notes (Lectures 1-15) MP1 Book Chapters to read/study: Media Coding and Content processing book
Chapter 2, Chapter 3.1-3.2, 3.8, Chapter 4.1-4.2.2.1, Chapter 4.3 (as discussed in lecture) Chapter 5, chapter 7.1-7.5, 7.7
Material
Audio Characteristics
Samples,
frequency, Nyquist theorem Perception, psychoacoustic effects, loudness, pitch, decibel, intensity Sampling rate, quantization
Audio Characteristics
PCM,
Material
Image Characteristics
Sampling,
Material
Video technology
Color
perception: hue, brightness, saturation, Visual representation: horizontal and vertical resolution, aspect ratio; depth perception, luminance, temporal resolution and motion Flicker effect Color coding: YUV, YIQ, RGB NTSC vs HDTV formats
CS 414 - Spring 2014
Material
Hybrid codes
JPEG:
Material
Hybrid Coding
Video
MPEG: image preparation, I, P, B frames characteristics, quantization, display vs processing/transmission order of frames Audio MPEG: role of psychoacoustic effect, masking, steps of audio compression MPEG-4: differences to MPEG-2/MPEG-1
H.261,
Sample Problems
Consider the following alphabet {C,S,4,1}, with probabilities: P(C) = 0.3, P(S) = 0.2, P(4)= 0.25, P(1) = 0.25. Encode the word CS414 using
Huffman
coding and arithmetic coding Compare which encoding requires less bits
Sample Problems
Describe briefly each step in MPEG-1 audio encoding. Specify the functionality, which is performed in each step. You dont have to provide equations, only a clear explanation of the functionality that is performed inside each step.
Sample Problems
What is flicker effect and how to remove it? Provide five differences between MPEG-4 video encoding standard and the previous MPEG video encoding standards
Transmission
Audio Capture Compression Processing
Transmission
A/V Playback
Negotiation
Shaping
Consider
bi reserved bandwidth for the i connection Bmax maximal bandwidth at the network interface
Admission test (if all connections declare their bandwidth requirements bi at the same time): b Bmax (i=1,n) i Example:
Bmax = 100 Mbps, Bandwidth requirement of connection 1 b1 = 10 Mbps Bandwidth requirement of connection 2 b2 = 20 Mbps Step 1: if b1 < Bmax then admit b1, reserve b1, adjust Bmax to Bavail = Bmax b1 Step 2: if b2 < Bavail then admit b2, reserve b2, adjust Bavail to Bavail = Bavail b2
CS 414 - Spring 2014
Note
serve packet/frame service time at the processors constant time due to hardware implementation q_in and q_out are queuing times N number of packets in queue service rate q = N/ (Little Theorem) r service rate of the switch
Resource Reservation/Allocation
Bandwidth reservation
Pessimistic
reservation with maximal bandwidth allocation: Given (MN, RA, and MA)
if
i M A maxi1,...n (M A )
then
BN M N (M A / M N ) RA
Example: Consider sequence of MPEG video frames of size 80KB, 60 KB, 20KB, 20 KB, 60KB, 20 KB, 20 KB (Group of Pictures I, P, B, B, P, B, B ), Pessimistic frame size calculation:
Given video frame rate RA = 20 fps If Given MN = 10 KB (network packet size, e.g., packet size for the transport layer like TCP/UDP), then need to consider bandwidth/ throughput reservation for
BN = 10KB x (8 network packets per application frame) x 20 application frames per second= 1600 KB/second = 12800 Kbps
CS 414 - Spring 2014
i M A (1 / n M A ) i 1 n
Then B M ( M A ) R N N A MN
CS 414 - Spring 2014
Example: Consider sequence of MPEG video frames of size 80KB, 60 KB, 20KB, 20 KB, 60KB, 20 KB, 20 KB (Group of Pictures I, P, B, B, P, B, B, ), Optimistic frame size calculation:
MA = 280/7 = 40 KB
Given video frame rate RA = 20 fps If Given MN = 10 KB (network packet size, e.g., packet size for the transport layer like TCP/UDP), then need to consider bandwidth/ throughput reservation for
BN = 10KB x (4 network packets per application frame) x 20 application frames per second= 800 KB/second = 6400 Kbps
CS 414 - Spring 2014
Conclusion
Parameter negotiation (exchange) QoS Parameter translation Admission Control of resources needed to provide QoS requirements
Bandwidth admission Frame/Packet scheduling admission
Reservation