H264 Nonsense I Hate This Flashcards
(18 cards)
ITU - T
Intl Telecommunications Unit - telecommunications standardization sector
Defines the H-series recommendations which relate to audiovisual and multimedia systems
Divided into working groups like VCEG
VCEG
Visual coding experts group
ITU working group responsible for the h264 and h265
JCT-VC
Joint collaborative team on video coding
Collab between MPEG and VCEG
Profiles
Define a set of encoding tools and algorithms available to the encoder
Related to H264/AVC standards
H264 level
A specified set of constraints that indicate a degree of required decoder performance for a profile
A level of support within a profile specified the max picture resolution, frame rate, and bit rate that a decoder may use; a decoder that conforms to a given level must be able to decode all bitstreams encoded for that level and all lower levels
H264 workflow
Color transform
Subsample cb, cr
Partition
Predict partition blocks (inter/intra)
Calculate residual from actual and predicted frame
Transform residual to frequency domain
Quantize transformed residual
Deblock filter
Entropy encoding
Compressed frame
Subsampling
Sampling of cb and cr channels into smaller amounts of data
4:2:0 subsampling in h264 is most common; 4:2:2 and 4:4:4 are also available
Partition
H264 divides frames into 16x16 macroblocks, which are divided into prediction blocks for inter/intra prediction
High frequency areas are divided into 4x4 prediction blocks
Intra prediction
Used when frame being encoded is an I-frame/slice
Means pixel values will be calculated from surrounding pixel values already decoded within the frame
How is the intra mode of prediction decided?
Modes are calculated and compared to the macro lock being encoded
Comparison is done by subtracting the predicted macroblock from the actual macroblock
The Sum of Absolute Differences for each method is compared and the method with the lowest SAD is used
Residual
Calculated by subtracting the predicted from the actual block being encoded
(Prediction mode and residual are stored)
Decoding
The block is reproduced by predicting the block from the decoded macroblocks already decoded and adding the residual
Interprediction
Used for p and b frames
Requires motion estimation and motion compensation
Instead of recording motion vectors, only the differences are recorded
MVD
Motion vector differential
The difference between an actual motion vector and the predicted motion vector, stored instead of the motion vectors to save data
Transform to frequency domain
Integer approximation of the Discrete Cosine Transform used transform residual luminance info to frequency info
Quantization
Dividing and rounding residual information
Entropy encoding
H264 standard allows use of CAVLC and CABAC
Entropy encoding
H264 standard allows use of CAVLC and CABAC