Game Development Reference
In-Depth Information
Fig. 4.1
DPCM encoder
Fig. 4.2
DPCM decoder
The meanings of notations in Figs.
4.1
and
4.2
are listed as below:
S
: The original signal;
S
p
: The prediction signal;
e
p
: The residual signal;
e
p
: The reconstructed residual signal;
S
: The reconstructed signal.
Besides,
e
q
is the quantization error calculated as
e
p
+
e
p
=
e
q
.
(4.1)
Obviously,
e
q
is equal to the quantization error between the original signal and the
reconstructed signal since
S
=
e
p
=
S
p
+
S
p
+
e
p
−
e
q
=
−
e
q
.
S
(4.2)
In the following sections, we will discuss some fundamental theories for predic-
tion coding within two aspects: the design of the optimal predictor and the gain of
prediction coding.