SLIDE 3 Integrated Systems Group 9
Intra - 16x16 Prediction
average
Mode 0 : Vertical Mode 1 : Horizontal Mode 2 : DC Mode 3 : Plane
Integrated Systems Group 10
Advantages/Disadvantages
Encoder’s job to compare options and pick the best
Exhaustive search … Uses a cost function to compare different modes
9 modes = 4 bits for
every 16 pixels (!)
4 modes = 2 Good for detailed areas Lots of options Good for smooth areas
Intra 4x4 Intra 16x16
Integrated Systems Group 11
Block Diagram (Baseline)
Input video
DCT IDCT Quant IQuant Choose Prediction Mode
Picture Parsing Get 4x4 Prediction Residual Get 16x16 Prediction Residual Config Compute 4x4 Cost Compute 16x16 Cost QP QP
Try all 9 modes Try all 4 modes Loop through 16 4x4 blocks Initialize prediction variables Get best mode – Send to output Output (to entropy encoder)
16x16 4x4
Integrated Systems Group 12
Intra – 16x16 Considerations
Process
Loop through the available*** modes Generate the prediction Compute cost of residual
Cost ~ SAD ( sum of absolute diff )
***What’s available?
Depends on location in the frame!
Get 16x16 Prediction Residual Compute 16x16 Cost
Try all 4 modes
All modes possible Only DC possible