
The
Guide
25
Fo
rw
a
rd
Ma
cr
ob
lo
ck
s a
nd
m
ot
io
n
When the encoder finds a matching area for a block
in the previous frame its position is recorded by use
of a
vector
. A vector is simply a numerical
representation of direction and magnitude. For
example the vector
(4, -7)
might mean right 4 units,
down 7 units.
Because these vectors happen to represent the
movement of a macroblock they are called
motion vectors
. In the
illustrations the red arrows represent the motion vectors.
Storing the motion vector of each block from frame-to-frame allows
DivX to recreate much of each new frame from the last using far less
data than if each block were stored as a complete image. The process
is similar to cutting up one frame into little pieces, then maneuvering
them like a make-shift jigsaw puzzle using motion vectors in order to
recreate the next frame. Of course the resulting picture is not perfect
and DivX has to store some additional data to correct for the difference
(known as the
residual
). Even so, recreating the picture using motion
vectors and residual consumes far less storage than recording the
entire image for every single frame.
The process of tracking blocks back to matching areas in the previous
frame (known as the
reference
frame) is called the
motion search,
or
motion estimation
. The frame recreated from a reference frame by
application of motion estimation is known as the
compensated
frame.
You can see the motion search
in action using the encoder feedback
window.
While encoding set
Show picture
to
Compensated frame
and turn on
Show Motion Vectors
.
The white lines overlaid on the
compensated frame represent motion
vectors returned by the motion search,
tracking each block back to a
matching area in the reference frame.
Where blocks are grey in the compensated frame the motion search
failed to find a suitable match in the reference frame. These blocks will
be encoded as image data as opposed to motion vectors.
Vector (4,-7)
Summary of Contents for USBAV-708 INSTANT VIDEOMPX
Page 1: ...Revision 1 0...
Page 4: ...The Guide 4 Introduction...
Page 10: ...The Guide 10 Quick Start Guide...
Page 23: ...The Guide 23 Forward...
Page 31: ...The Guide 31 Bitrate mode...
Page 47: ...The Guide 47 Performance Quality...
Page 55: ...The Guide 55 Psychovisual Enhancement...
Page 61: ...The Guide 61 Source pre processing...
Page 65: ...The Guide 65 Crop and Resize...
Page 71: ...The Guide 71 MPEG4 Tools...
Page 83: ...The Guide 83 Advanced...
Page 87: ...The Guide 87 Interlacing...
Page 92: ...The Guide 92 Video Buffer Verifier...
Page 96: ...The Guide 96 Profiles...
Page 100: ...The Guide 100 DivX Certified Program...
Page 104: ...The Guide 104 E K G...
Page 109: ...The Guide 109 DivX Decoder...
Page 115: ...The Guide 115 Acknowledgements...