H 264/avc
H 264/avc
H 264/avc
264/AVC
Evolution of Video coding Standards
Joint
ITU-T/MPEG H.262/MPEG-2 H.264/MPEG-4 AVC
Standards
Coded Slice/Partition
5
Macroblocks and Slices
Macroblocks: 16x16 luma + 8x8 for chroma samples
Slice: a set of MBs that can be decoded without use of
other slices
I slice: intra-prediction (I-MBs)
P slice: possibly one inter-prediction signal (I- and P-MBs)
B slice: up to two inter-prediction signals (I- and B-MBs)
SP slice: P slice to facilitate switching between coded streams
SI slice: I slice to to facilitate switching between coded streams
Enhanced MC (Inter Prediction)
Every macroblock can be split in one of 7 ways for improved
motion estimation
Enhanced MC (Inter Prediction)
Accuracy of motion compensation = 1/4 pixel
Up to 5 reference frames for SDTV size @ L3
Reference B pictures
Weighted predictions
Motion Estimation 을 수행하는 신호에 적응적으로 가중치를
주어 계산한 후 예측신호를 생성
Intra Spatial Prediction
using surrounding available samples
Intra 4x4 Prediction
Modes
Intra 16x16
Prediction
Modes
Transform
MBs are divided up into 4x4 or 8x8 blocks
Transformation matrix T4x4 or T8x8 is applied to residual
data of every block
For the DC Coefficients,
Hadamard transform H4x4 for the 4×4 array of luma DC
coefficients in Intra MBs predicted in 16×16 mode.
Hadamard transform H2x2 for the 2 × 2 array of chroma DC
coefficients (in any macroblock).
Quantization
Logarithmic step size control
A total of 52 values of Qstep are supported by the standard,
indexed by a Quantization Parameter, QP.
Qstep doubles in size for every increment of 6 in QP.
Can change to any step size at macroblock level
Quantization reconstruction is one multiply, one add,
one shift
Adaptive Deblocking Filter
Blocking artifacts
4*4 transforms and block-based motion compensation
Block edges are typically reconstructed with less accuracy than
interior pixels.
Improve subjective and objective quality of the decoded
picture
Result in bit rate savings of around 6~9%
-13/20-
Error Resilience Tools
Flexible Macroblock Order (FMO)
Arbitrary Slide Order (ASO)
Redundant Slice (RS)
Data Partitioning (DP)
14
MB to Slice Group Mappings
Flexible Macroblock Ordering (FMO)
a subset of the macroblocks may contain one or more slices
Application example: Error resilience
Arbitrary Slice Ordering (ASO)
The decoding order of the slices could be arbitrary
Application example: reduce end-end transmission delay
in RT app
H.264/AVC 의 해상도의 크기
17
Profiles
-18/20-
Basic Coding Structure
19
Comparison to Previous Standards
Transform 8x8 DCT 8x8 DCT 8x8 4x4, 8x8 Int DCT
DCT/Wavelet 4x4, 2x2 Hadamard
Quantization Scalar Scalar quantization Vector Scalar quantization
quantization with with step size of quantization with step size of
step size of constant increment increase at the rate
constant of 12.5%
increment
Entropy coding VLC VLC VLC VLC, CAVLC,
CABAC
Motion Estimation & Yes Yes Yes Yes, more flexible
Compensation Up to 16 MVs per
MB
Playback & Random Yes Yes Yes Yes
Access
Comparision of Standards (cont’d..)