CONTENTS
Page
Abstract..................................................................................................................................................................................1
List of figures........................................................................................................................................................................4
List of tables..........................................................................................................................................................................5
1 Introduction........................................................................................................................................................................6
2 Scope..................................................................................................................................................................................7
3 Description of HEVC Test Model......................................................................................................................................7
3.1 General overview of coding structure.........................................................................................................................7
3.2 Picture partitioning......................................................................................................................................................8
3.2.1 CTU partitioning..................................................................................................................................................8
3.2.2 Slice and tile structures.........................................................................................................................................9
3.2.3 Coding unit (CU) and coding tree structure......................................................................................................10
3.2.4 Prediction unit (PU) structure.............................................................................................................................10
3.2.5 Transform unit (TU) and transform tree structure..............................................................................................11
3.3 Intra Prediction..........................................................................................................................................................12
3.3.1 Prediction modes................................................................................................................................................12
3.3.2 Filtering of neighbouring samples......................................................................................................................13
3.4 Inter Prediction..........................................................................................................................................................13
3.4.1 Prediction modes................................................................................................................................................13
Derivation of merge candidates................................................................................................................................14
Spatial merge candidates..........................................................................................................................................14
Temporal merge candidates......................................................................................................................................15
Generated merge candidates.....................................................................................................................................16
3.4.2 Motion vector prediction....................................................................................................................................16
Derivation of motion vector prediction candidates..................................................................................................16
Spatial motion vector candidates..............................................................................................................................17
Temporal motion vector candidates.........................................................................................................................17
3.4.3 Interpolation filter...............................................................................................................................................17
3.4.4 Weighted Prediction...........................................................................................................................................18
3.5 Transform and quantization (scaling)........................................................................................................................18
3.5.1 Transform matrices.............................................................................................................................................19
3.5.2 2D inverse transform..........................................................................................................................................20
3.5.3 Discrete sine transform (DST)............................................................................................................................20
3.5.4 Transform skip....................................................................................................................................................20
3.5.5 Scaling and quantization.....................................................................................................................................20
3.6 Entropy Coding.........................................................................................................................................................20
3.7 Loop Filtering............................................................................................................................................................21
3.7.1 Overview of Loop filtering.................................................................................................................................21
3.7.2 Deblocking filter.................................................................................................................................................21
Boundary decision....................................................................................................................................................21
Boundary strength calculation..................................................................................................................................21
Threshold variables...................................................................................................................................................22
Filter on/off decision for 4 lines...............................................................................................................................23
Strong/weak filter selection for 4 lines.....................................................................................................................23
Strong filtering..........................................................................................................................................................23
Weak filtering...........................................................................................................................................................24
Chroma filtering.......................................................................................................................................................24
3.7.3 Sample Adaptive Offset (SAO)..........................................................................................................................24
Operation of each SAO type.....................................................................................................................................24
3.8 Wavefront parallel processing...................................................................................................................................25
4 Description of encoding methods.....................................................................................................................................26
4.1 Cost Functions...........................................................................................................................................................26
4.1.1 Sum of Square Error (SSE)................................................................................................................................26
4.1.2 Sum of Absolute Difference (SAD)...................................................................................................................26
4.1.3 Hadamard transformed SAD (SATD)................................................................................................................26
4.1.4 RD cost functions...............................................................................................................................................26
Lagrangian constant values......................................................................................................................................26