H.264 Prediction
Jump to navigation
Jump to search
This page documents the various prediction methods used in H.264 and related formats such as Sorenson Video 3 and RealVideo 4.
4x4 Prediction Modes
Vertical
- H.264: mode 0
- SVQ3: mode 0
- RV40: mode 0
A | B C D E ---------------- F | B C D E G | B C D E H | B C D E I | B C D E
Horizontal
- H.264: mode 1
- SVQ3: mode 1
- RV40: mode 1
A | B C D E ---------------- F | F F F F G | G G G G H | H H H H I | I I I I
DC
- H.264: mode 2
- SVQ3: mode 2
- RV40: mode 2
A | B C D E ---------------- F | Z Z Z Z G | Z Z Z Z H | Z Z Z Z I | Z Z Z Z
where Z is computed as:
Z = (B + C + D + E + F + G + H + I + 4) / 8