
The
Guide
72
Bi
-di
re
ct
io
na
l e
nc
odi
ng
Wh
a
t is
b
i-di
re
ct
io
na
l e
nc
odi
ng
?
Bi-directional encoding
As discussed in
Forward—General concepts,
there are three different frame
types available for the DivX encoder to select from. These are intra-frames,
predicted-frames and bi-directional-frames, or
I
,
P
and
B
frames respectively.
Recall that in an I-frame all blocks are intra-blocks and are encoded as the image
filling the block. In a P-frame blocks can be either intra-blocks or forward
predicted blocks—those described by a vector referencing a matching area of
image in the previous frame (known as forward prediction).
Bi-directional frames can contain blocks that are intra, forwards predicted,
backwards predicted, or both forwards
and
backwards predicted. This means
that B-frames reference not only the previous frame but the next frame also.
In the diagram frames 2 and 4 are bi-directional frames and any macroblock may
be predicted from either the previous (forward) or next (backward) frame. If a
block is both forwards and backwards predicted then when motion compensation
takes place the block image will be the result of blending the appropriate areas of
the forwards and backwards frames together.
Notice that frame 4 contains some intra-blocks because in the example these
blocks could not be predicted from either the forwards or backwards frame.
What is bi-directional encoding?
Frame 1 (I)
Frame 3 (P)
Frame 5 (P)
Frame 2 (B)
Frame 4 (B)
Содержание USBAV-708 INSTANT VIDEOMPX
Страница 1: ...Revision 1 0...
Страница 4: ...The Guide 4 Introduction...
Страница 10: ...The Guide 10 Quick Start Guide...
Страница 23: ...The Guide 23 Forward...
Страница 31: ...The Guide 31 Bitrate mode...
Страница 47: ...The Guide 47 Performance Quality...
Страница 55: ...The Guide 55 Psychovisual Enhancement...
Страница 61: ...The Guide 61 Source pre processing...
Страница 65: ...The Guide 65 Crop and Resize...
Страница 71: ...The Guide 71 MPEG4 Tools...
Страница 83: ...The Guide 83 Advanced...
Страница 87: ...The Guide 87 Interlacing...
Страница 92: ...The Guide 92 Video Buffer Verifier...
Страница 96: ...The Guide 96 Profiles...
Страница 100: ...The Guide 100 DivX Certified Program...
Страница 104: ...The Guide 104 E K G...
Страница 109: ...The Guide 109 DivX Decoder...
Страница 115: ...The Guide 115 Acknowledgements...