Professional Documents
Culture Documents
Industrial Centre
Multimedia Production
and Web Authoring
Contents
Multimedia Systems Design
Multimedia Systems
Multimedia Elements
Edward Cheung
email: icec@polyu.edu.hk
28 July, 2003.
Multimedia System 030728.ppt
Images
Voice commands / synthesis
Audio / Video messages
GIS
Holography
Fractal
Contents (cont.)
Contents (cont.)
Multimedia Applications
Multimedia Architecture
High resolution graphics display
Network architecture
What is Multimedia?
ba
ga
da
pa
ga
ta
Text or Data
Graphics
Graphics can be constructed by the composition of primitive
objects such as lines, circles, polygons, curves and splines.
Each object is stored as an equation and contains a number of
parameters or attributes such as start and end coordinates;
shape; size; fill colour; border colour; shadow; etc.
Graphics file take up less space than image files.
For data visualization, illustration and modelling applications.
Multimedia System 030728.ppt
Images
Bitmap Graphics Vector Graphics
Sample
and hold
Bandlimiting
filter
Sampling
Clock
Quantizer
Analog-to-digital
converter
Ease of editing
Display independence
10
Speech Compression
O/p
Memory usage
Analog
input signal
Image quality
Display speed
Digitized
codewords
Signal encoder
11
12
Type
Masked Audibility
Threshold Increase (dB)
Pre-
Simultaneous
Postmasking
20
100
50
150
200
Time after masker removal (ms)
Bits per
Sample
Uncompressed
Bit Rate
Telephone
Speech
200-3200
64 kbps
Wideband
Speech
50-10000
16
16
256 kbps
CD Audio
15-20000
44.1
16 x 2
1.41 Mbps
14
Digital Video
40
-50
0
50
100
150
Time after masker appearance (ms)
Sampling
Rate (kHz)
60
Approx.
Freq.
(Hz)
15
16
Colour Model
4CIF
16CIF
352
704
1,408
144
288
576
1,152
9.1
37
146
584
17
Sub-QCIF
QCIF
128
176
Number of lines
96
4.4
CIF
18
Chroma Subsampling
YUV(YCBC R) Model
CCIR 601 standard for digital video
Y is the luminance (brightness) component
The Cx known as the colour difference or chrominance components
Cr+Cb+Cg is a constant, only need to transmit 2 out of 3
HVS is more sensitive to luminance than chrominance, thus less the
chrominance component can be represented with a lower resolution.
Y:Cr:Cb = 4:4:4
4:2:2
Y sample
Cr sample
4:2:0
Cb sample
Conversion to RGB
R = Y +1.402 Cr
G = Y 0.344 Cb 0.714 Cr
B = Y + 1.772 Cb
4:2:0 video requires exactly haf as many samples as RGB or 4:4:4 video
19
20
GOB Structures
Video Macroblock
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
CB
CR
COB 1
COB 2
COB 3
COB 4
COB 5
COB 6
COB 1
COB 7
COB 8
COB 3
COB 9
COB 10
COB 5
COB 11
COB 12
CIF
QIF
21
22
people-to-people
people-to-machine
An user interface is responsible to integrate various media
and allow users to interact with the multimedia signal.
Video compression
Algorithms like MPEG 2 and MPEG 4 are available for high
and low bit rate applications
Data security
Encryption and authentication technologies are available to
protect users against eavesdropping and alternation of data
on communication lines.
Intelligent agents
Software programs to perform sophisticated tasks such as
seek, manage and retrieve information on the network
23
24
Video Interface
Control / MUX /
DeMUX
Audio Interface
Network
Interface
Network
Data Interface
(Still Image / Data /
File Transfer
25
26
Compression
One of the legacy Electronic document images but still very useful
communication media is Facsimile (Fax)
The two fax machines communication with each other to establish operational
parameters after which the sending machine starts to scan and digitize each
page of the document in turn.
The process involved scanning and compression.
PSTN or ISDN
Analogy or digital access circuits
Fax machine
Fax
27
Fax
28
Application - PC Fax
Internet
Fax
Workstation
Workstation
Fax
Workstation
29
Multimedia Application
Multimedia Application
Teleconferencing
PC-to-PC
30
32
Mail Header
Hi Tom
If your multimedia mail is working now just click on
the following:
Speech part
Voice-mail
Image part
Video part
Otherwise the text version is in the attached file
The user enters a voice message addressed to the intended recipient and
the local voice-mail server then relays this to the server associated with
the intended recipients network.
Regards
Fred
Speech part
Multimedia-mail
Image part
33
Multimedia Elements
Sent on request
Video part
34
Multimedia Applications
Sent initially
35
GIS
Geographic information systems (GIS) refer to those
computer systems that are being used in scientific
investigations, analysis, management, development and
planning of geographically data and resources.
Multimedia application in GIS allows the user to visualize
and interact with scientific data more effectively.
GIS is similar to CAD except a continuous and large data set,
heterogeneous, GIS geometry is primarily obtained by remote
sensing or surveying, lines of fractal nature like the coastlines
are common.
Multimedia System 030728.ppt
36
GIS
Community Map
Search
window
37
Data
Viewer
Documents
Vector
Map
Raster
Map
Sound
Video images
/animations
/landscape view
38
http://www.holography.ru/maineng.htm
39
40
Holography
Recording a hologram
The photographic plate records the
interference pattern produced by the
light waves scattered from the object
and a reference laser beam reflected to
it by the mirror.
Holography
Photographic
plate
Object
Laser
beam
Reading a hologram
The hologram is illuminated with the
reference laser. Light diffracted by the
hologram appears to come from the
original object.
Mirror
Image
Hologram image demonstrates complete parallax and depth-offield and floats in space either behind, in front of, or straddling
the recording medium.
Mirror
Laser
beam
41
3D vs 2D Images
Holography differs from usual photography
hologram not only record the amplitude of light
photosensitive material, but also the phase of
reflection. The reflected light as scattered by the
complete information of the object view.
because a
intensity on
light waves
object carry
42
43
Projector
44
K2:
1
45
46
Video Conferencing
Video Conferencing
47
48
Video Conferencing
Large corporations of this type have an enterprise-wide
network to link the sites together and, in order to support
videoconferencing, there is a central unit called a multipoint
control unit (MCU) - or sometimes a videoconferencing
server - associated with this network.
ISDN/broadband network/
dedicated-circuit network
Multipoint
control
unit (MCU)
Network Options
IP Based
ISDN Based
Both
49
50
Video Conferencing
Videoconferencing on IP Network
The Internet does not support multicasting but multicasting is
supported on LAN.
Multicasting means that all transmissions from any of the
PCs/workstations belonging to a predefined multicast group
are received by all the other members of the group.
Thus with networks that support multicasting, it is possible to
hold a conferencing session without an MCU.
Only a limited number of participants are involved owing to
the high load it places on the network.
Neither continuous presence nor admission control is
available
51
52
PSTN
H.324
H.261*,
H.263*
N-ISDN
H.320
H.261*,
H.263
LAN
H.323
H.261*,
H.263
Data Conference
System Control
T.120
H.245
T.120
H.245
Multiplex
Security
H.223
T.120
H.230
H.242
H.221
H.233,
H.234
H.231,
H.243
I.400
Q.931
MCU
Interface
Setup Signaling
V.34
SS7
H.225
H.235
H.323
TCP/IP
Q.931,
H.225
ISDN
BRI 2B + 1D Channel
PRI 23B Channel
B channel Bandwidth 64kbps
D channel Bandwidth 16kbps
53
54
Standards
organization
Video-coding standard
Typical applications
ITU-T
H.261
ISO
1.2 Mb/s
CD-ROM
ISO
4-80 Mb/s
SDTV, HDTV
ITU-T
H.263
64 Kb/s
below
ISO
24-1024 Kb/s
ITU-T
H.263 Version 2
< 64 Kb/s
ITU-T
H.26L
< 64 Kb/s
or
Resolution as sharpness
means the sharpness of an image as measured by the number
of dots in a given space normally given as dpi (dots per inch)
let's consider two cathode ray tube (CRT) monitors both
having a resolution of 1,024 by 768,
but one of which is listed as 17 " (15.5 ") and the other 19"
on the diagonal; the 17" monitor may be displaying 85 dpi
for horizontal resolution while the 19" monitor may be
displaying 72 dpi. If we are defining the resolution based on
dot matrix, the two monitors are the same. But if we define
the resolution as sharpness, they are different.
Interactive audio/video
55
56
57
Horizontal
Resolution
Vertical
Resolution
Total Dots
QXGA
2,048
1,536
3,145,728
9.44MB
UXGA
1,600
1,200
1,920,000
5.76MB
SXGA
1,280
1,024
1,310,720
3.94MB
XGA
1,024
768
786,432
2.36MB
SVGA
800
600
480,000
1.44MB
VGA
640
480
307,200
0.93MB
Broadband Network
No internationally agreed definition of broadband. In general,
broadband refers to internet access service with transmission
speed from kbps to Mbps. - OFTA
59
58
Unicasting Network
Web TV
Multicasting Network
VoD
Broadcast Network
Current development in Digital Terrestrial Televsion
Backbone
Wireless
Raw File
Size
60
Video-streaming
Client / Receiver
Streaming Server
Video
Decoder
Storage Device
Raw
Video
Video
Compression
Compressed
Video
Raw
Audio
Audio
Compression
Compressed
Audio
Applicationlayer QoS
Control
Applicationlayer QoS
Control
Transport
Protocols
Transport
Protocols
Media
Synchronization
Quality Parameters
Bandwidth -- hundreds of Mbps
Latency (maximum frame/cell delay)
important for Interactive multimedia delivery, telephone, etc.
Audio
Decoder
Internet
(Continuous media distribution services)
61
62
Duplication vs Replication
Duplication is to make a copy of the data / contents.
Call Control
CD Duplication
System
control
Audio
coding
Video
coding
Data
Multimedia multiplex
and synchronization
Network adaptation
Network interface
CD Replication
Using injection molding machines to create the disk
63
64
TIFF
Tag image file format (TIFF) is typically used to transfer
graphics from one computer system to another.
TIFF is an excellent method of transporting images between
file systems and software packages.
It is supported by most graphics packages and has a high
resolutions that is typically used when scanning images and
colours of up to 48 bits.
It can use different compression methods and different file
formats, depending on the type of data stored.
{\rtf1\ansi\ansicpg1252\....}..
Multimedia System 030728.ppt
65
WAVE
Native sound format by Microsoft
66
67
68
Code
Description
Unknown/illegal
PCM
Microsoft ADPCM
17
IMA ADPCM
20
49
GSM 6.10
64
80
MPEG
65535
Experimental
MIDI
Advantages
70
71
72
Header
Image Header
Global Screen
Descriptor
Color Table
Global Color
Table
Image 1
Pixel Data
Image 2
Image 3
Image n
Trailer
74
75
76
ISO 11172
Stream
Digital
Storage
Medium
Medium
Specific
Decoder
System
Decoder
Decoded
Audio
Clock
Control
Video
Decoder
Decoded
Video
78
mapping
quantizer and
coding
Frame
packing
Encoded
bitstream
group of pictures
picture
Psychoacoustic
model
slice
ISO/IEC 11172-3
encoder
Ancillary data
macroblock
block
79
80
MPEG-2:
Y1 Y2
MB
Y3 Y4
U
1
Coding
Order
a: Frame Prediction
b: Macroblock
81
Video sequence
consisting of a sequence
of pictures, grouped into
Group of Pictures
82
Chrominance Values
Chrominance Values
Group of pictures
Cb
Group of pictures
Luminance Values
Picture
Cr
Chrominance
Values
Chrominance
Values
Cb
Luminance Values
Cr
Macroblock
Y
Slice
Block
Y
4:4:4 Frame
holding the
pixel values
holding up to 4
blocks for each
Y, Cr or Cb
4:2:2 Frame
83
84
MPEG-4:
MPEG-4 is designed for very low bit rate system. This would
allow for low-quality video over internet connection.
B-Picture
COMPRESSION
EFFICIENCY
borrowed
from the Ipicture
CONTENT-BASED
INTERACTIVITY
UNVERSAL
ACCESS
85
86
MPEG-4
Bit rate targeted for the MPEG-4 video standard:
VS2VSn
5 - 64 Kbit/s
64 Kbit/s 2 Mbit/s
VideoSession (VS)
VS2
VS1
VS1
VS1
VO2VOn
VO1
VideoObject (VO)
VO2
VS1
VS1
VOL2VOLn
VideoObjectLayer (VOL)
VS2
VS1
VS1
VOL1
GOV2GOVn
GroupOfVOPs (GOV)
GOV1
VideoObjectPlane (VOP)
VOP1
VS1
VOP1VOPk
GOV2
VS1
VS1
VOPk+1
VS1
VOPk+1VOPn
Layer 1
87
VOP1
VOP2
VS1
VS1
VOP1VOPn
Layer 2
88
Bitstream
VO 0
Coding
Video Object
formation
VO 1
Coding
M
U
X
Video Information
VO n
Coding
User Interaction
VO 0
Decoding
D
M
U
VO 1
Decoding
X
VO n
Decoding
Video Object
Composition
MPEG-7 Initiatives
Video Output
User Interaction
89
90
91
92
Compression Data
Bandwidth Requirement
= 230k x 15=3.45MB
If the video programme is 60 minutes in length, a storage
capacity for the video programme requires
= 3.45M x 60 x 60 = 12.42GB
If we send it over the network, the bandwidth requirement is
= 3.45M x 8 = 27.6Mbps
94
Lossless Compression
Lossless Compression:
Lossy Compression:
Lossless
Lossy
Original information
content is lost
95
96
Lossy Compression
Lossy compression allows much lower data rates and file sizes
than lossless compression, so lossy codecs are commonly used
for final production of video delivered using CD-ROM or the
Internet.
97
98
Perceptual Coding
Lossy Compression
The aim of lossy compression algorithms, is normally not to
reproduce an exact copy of the source information after
decompression but rather a version of it which is perceived by
the recipient as a true copy.
In general, with such algorithms the higher the level of
compression being applied to the source information the more
approximate the received version becomes.
Bit Rate
Control
Video
Signal
Short-Term
Analysis
JND
Estimation
JND Adaptive
Coding
Intensity
Texture
Motion
Just-Noticeable
Distortion
Profile
Constant Quality
or
Constant Bit Rate
99
100
Operation of a Coder
Signal
level
Entropy
Redundancy
Frequency
RLE
Lossy coder
Worse
quality
Better
quality
Complexity
(c)
GIF
PNG
Huffman
Entropy
Compression factor
Compression factor
Entropy
LZ
(a)
(b)
BMP
Ideal lossless
coder
JPEG
X
DCT
X
X
Worse
quality
Better
quality
Latency (delay)
101
102
Entropy Encoding
Entropy Encoding
Run-length Encoding
Run-length encoding are when the source information comprises
long substrings of the same character or binary digit.
Instead of transmitting the source string in the form of
independent codewords or bits, it is transmitted in the form of a
different set of codewords but also an indication of the number
of characters/bits in the substring.
103
000000011111111110000011...
this could be represented as: 0,7 1,10 0,5 1,2 . . . .
To send this in a digital form, the individual decimal digits
would be sent in their binary form and, assuming a fixed
number of bits per codeword, the number of bits per
codeword would be determined by the largest possible
substring.
Multimedia System 030728.ppt
104
Entropy Encoding
Entropy Encoding
Statistical Encoding
A set of ASCII code-words are often used for the
transmission of strings of characters.
Normally, all the codewords in the set comprise a fixed number
of binary bits, for example 7 bits in the case of ASCII.
Fro L=8 message, elements are {a1,a2,,a8}
Length of codeword required = log2 L = log28 = 3
Message Codeword
Message Codeword
Message Codeword
Message Codeword
a1
000
a2
001
a3
010
a4
011
a5
100
a6
101
a7
110
a8
111
105
Entropy Encoding
106
Entropy Encoding
<delete>
Example:
n
Entropy,H = - Pi log2Pi
i =1
107
108
Entropy Encoding
Huffman Coding
i =1
= 1 + 1.5 = 2.5
Example:
A series of messages is to be transferred between two
computers over a internet. The messages comprise just the
characters A through H. Analysis has shown that the
probability of each character is as follows:
110
Huffman Coding
Huffman Coding
Message Probability
A
0.25
111
B
C
D
E
F
G
H
0.25
0.14
0.14
0.055
0.055
0.055
0.055
(0.47)
(0.28)
1
(0.53)
0
(1)
0
0
1
0
(0.11) (0.22)
1
0
A
B
C
D
Multimedia System 030728.ppt
(0.11)
10 (2 bits)
01 (2 bits)
111 (3 bits)
110 (3 bits)
E
F
G
H
0001 (4 bits)
0000 (4 bits)
0011 (4 bits)
0010 (4 bits)
112
Huffman Coding
Arithmetic Coding
113
114
Arithmetic Coding
Arithmetic Coding
Once this has been done, we are ready to start the encoding
process. An example is shown in figure.
1.0
0.9
0.8
0.3
0.6
0.8 0.9
0.9
0.89
0.88
P U
0.3
0.83
0.827
0.824
U
P
0.818
L
0.81584
L
0.81494
O
0.809
U
P
0.81548
0.8117
O
0.8
0.8162
0.81602
O
0.8
0.8162
U
P
0.8144
0.809
0.83
0.818
0.8171
O
0
0.86
L
Cumulative
probabilities
0.8144
0.6
115
116
Arithmetic Coding
JPEG Standard
117
118
Discrete
Sampling
Cosine
Transform
Quantization
Entropy
JPEG
Encoding
File
119
120
JPEG Decoder
JPEG Encoder
JPEG Encoder
JPEG Decoder
Image/Block Preparation
Quantization
Source
image/
picture
Image
preparation
Block
preparation
Forward
DCT
Encoded
bitstream
Quantizer
Frame
Decoder
Huffman
encoding
Differential
encoding
Run-length
encoding
Dequantizer
Tables
Tables
Tables
Entropy Encoding
Vectoring
Differential
encoding
Run-length
encoding
Huffman
encoding
Frame
Builder
Inverse
DCT
Encoded
bitstream
Memory
or
Video RAM
Forward
DCT
Tables
122
Image preparation
Block preparation
Monochrome Image:
Matrix of value to
be compressed
Monochrome
Source
image
Color Image:
G
Matrix divided
Cb
Forward
DCT
123
Y
Y
Multimedia System 030728.ppt
Cr
124
Spatial Compression
Image/Block Preparation
DC component
= average brightness
Once the source image format has been selected and prepared,
the set of values in each matrix are compressed separately using
the DCT.
Lower AC component
1/2 cycle/block
AC component
1 cycle/block
DC
Max.
8
DCT pattern library
125
-----
126
Forward DCT
Image/Block Preparation
Matrix of values to be
compressed
Blk N - - - - Blk 3
Blk 2
Blk 1
-----
Forward
DCT
In order to compute the forward DCT, all the values are first
centered around zero by subtracting 128 from each
intensity/luminance value.
The input 2-D matrix is represented by: P[x, y] and the
transformed matrix by F[i, j], the DCT of each 8 x 8 block
of values is computed using the expression:
F (i, j ) =
Blk N 8
7
7
1
(2 x + 1)i
( 2 y + 1) j
C (i)C ( j ) P[ x, y ] cos
cos
4
16
16
x =0 y = 0
2 for i,j=0
= 1 for all other values of i and j
127
128
Forward DCT
Each pixel value is quantized using 8 bits which produces a
value in the range 0 to 255 for the intensity/luminance
values - R, G, B, or Y - and a value in the range -128 to
+127 for the two chrominance values - Cb, and Cr.
The follow points are summarized in Figure:
1. All 64 values in the input matrix, P[x, y] contribute to each
Forward DCT
F[i, i]:
2
i= 0 1
3 4 5 6 7
y =0
j=0
2
3
4
2
3
4
DCT
lncreasing fH
coefficients
3 4 5 6 7
= DC coefficient
130
= AC coefficients
5
6
7
5
6
7
Forward DCT
P[x, y]:
x=0 1
Forward DCT
3. Since the values in all the other location s of the
transformed matrix have a frequency coefficient associated
with them either horizontal (x = 1 7 for y = 0), vertical
(x = 0 for y = 1 7) or both (x = 1 7 for y =1 7) they
are known as the AC coefficient.
132
Quantization
Quantization
133
Quantization
Quantization
DCT coefficients
120 60 40 30
70 48 32 3
50 36 4 4
40 4 5 1
5 4 0 0
3 2 0 0
1 1 0 0
0 0 0 0
4
4
2
1
0
0
0
0
3
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Quantizer
10
10
15
20
25
30
35
40
10 15
15 20
20 25
25 30
30 35
35 40
40 50
50 60
20
25
30
35
40
50
60
70
12
7
3
2
0
0
0
0
6
3
2
0
0
0
0
0
3
2
0
0
0
0
0
0
2
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
25 30 35 40
30 35 40 50
35 40 50 60
40 50 60 70
50 60 70 80
60 70 80 90
70 80 90 100
80 90100110
Quantization table
135
136
Entropy Encoding
Entropy Encoding
Quantized coefficients
0 1
Vectoring:
The various entropy encoding algorithms operate on a onedimensional string of values, that is, a vector.
137
Entropy Encoding
3 4 5 6 7
63
-----------
4 3 2 1 0
AC coefficients in increasing
order of frequency
5
6
DC coefficients
(a)
63
0
----------------
12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 2 2 2 2 3 3 3 7 6 12
(b)
Figure: Vectoring using a zig-zag scan: (a) principle; (b) vector for example
Multimedia System 030728.ppt
138
Entropy Encoding
0
1
2
3
139
Differential Encoding:
The first element in each transformed block is the DC
coefficient which is a measure of the average
color/luminance/chrominance associated with the
corresponding 8 x 8 block of pixel values.
DC coefficient is the largest coefficient and, because of its
importance, its resolution is kept as high as possible during
the quantization phase.
Because of the small physical area covered by each block,
the DC coefficient varies only slowly from one block to
the next.
140
Entropy Encoding
Entropy Encoding
(a)
Difference value
0
-1,1
-3, -2, 2, 3
0
1
2
-7..-4, 4..7
-15-8, 815
Encoded value
1= 1
2 = 10
3 = 11
4 = 100
5 = 101
6 = 110
7 = 111
8 = 1000
, -1 = 0
, -2 = 01
, -3 = 00
, -4 = 011
, -5 = 010
, -6 = 001
, -7 = 000
, -8 = 0111
:
Entropy Encoding
::
142
Entropy Encoding
Example:
Run-length Encoding:
Value
SSS
Value
12
1
-2
0
-1
4
1
2
0
1
1100
1
01
(0,6)(0,7)(0,3)(0,3)(0,3)(0,2)(0,2)(0,2)(0,2)(0,0)
Multimedia System 030728.ppt
143
144
Entropy Encoding
Note that the final pair (0,0) indicates the end of the string
for this block and that all the remaining coefficients in the
block are zero.
The value field is encoded in the form SSS/value.
0,6
0,7
3,3
0,-1
0,0
0
0
3
0
0
145
Entropy Encoding
12, 1, -2, 0, -1
Default Huffman codewords defined in the following table.
Number of bits needed
(SSS)
146
Entropy Encoding
Huffman codeword
0
1
2
3
4
5
6
7
010
011
100
00
101
110
1110
11110
11
111111110
..
.
This is done so that the bits in the SSS field have the prefix
property and this enables the decoder to determine
unambiguously the first SSS field from the received encoded
bitstream.
SSS/Value
3 110
3 111
2 11
1 0
0
Huffman Encoding:
Example: Derive the binary form of the following runlength encoded AC coefficients:
(0,6)(0,7)(3,3)(0,-1)(0,0)
Answer: AC coefficient
Skip
Entropy Encoding
Answer: Value
12
1
-2
0
-1
SSS
4
1
2
0
1
Huffman-encoded
SSS
101
011
100
010
011
Encoded
value
Encoded
bitstream
1100
1
01
1011100
0111
10001
010
0110
..
.
147
148
Entropy Encoding
Entropy Encoding
Entropy Encoding
0,6
0,7
3,3
0,-1
0,0
(0,6)(0,7)(3,3)(0,-1)(0,0)
Assuming the skip and SSS fields are both encoded as a
composite symbol, use the Huffman codewords shown in
the following table to derive the Huffman-encoded
bitstream for this set of symbols.
Skip /SSS
0/0
0/1
0/6
0/7
0/9
0 / 10
1/1
1 / 10
Codeword
1010 (=EOB)
00
111000
1111000
1111111110000010
1111111110000011
1100
1111111110001000
Skip /SSS
3/1
3/3
3/9
3 / 10
14 / 1
14 / 10
15 / 0
15 / 10
Codeword
11101
11111110111
1111111110010101
1111111110010110
111111110110
111111111110100
111111110111
1111111111111110
150
Entropy Encoding
Answer:
AC
coefficient
Frame Building:
Composite
skip
0
0
3
0
0
Symbol
SSS
Huffman
codeword
Run-length
value
3
3
2
1
0
100
100
111110111
00
1010
110 = 6
111 = 7
10 = 2
1=0
151
152
Entropy Encoding
Entropy Encoding
Level l
Frame contents
Level 2
Scan header
Level 3
Segment
Segment
header
Scan
End-of-frame
----------
----------
Scan
Segment
Segment
header
Block Block
DC
Skip,
value
----------
------
Block
Skip, End of
value block
153
Entropy Encoding
154
Entropy Encoding
155
156
DC
level
shifting
Image
Component
Colour Image
DC level
shifting
DC level
shifting
DC level
shifting
Color
Transformation
C1
JPEG2000
encoding
C2
JPEG2000
encoding
C3
JPEG2000
encoding
157
50
40
An MPEG-2 Coder
GOP-Group of picture
I
30
20
Quantizing table
Spatial data
Worse
quality
10
I
Video in
IB
IBBP
Differential
encoding
Bidirectional
coder
Motion
vectors
158
Entropy and
Run-length
encoding
Elementary
Stream out
Slice
Rate control
159
MUX
Buffer
Demand
clock
160
161
PCM
input
AFB
Quantized samples
+ bit allocations
SMRs + bit
allocations
QB
Subband
samples
FF
Quantized
subband samples
Demux
Encoded
bitstream
DQ
SFB
PCM
output
Dequantized
subband samples
162
Reference
Bit allocations
PM
163
164