
WWW.AVS264.COM 中国流媒体技术研究网
6.4.7 Derivation process for neighbouring macroblock addresses and their availability in MBAFF
frames 23
6.4.8 Derivation processes for neighbouring macroblocks, blocks, and partitions.............................................. 24
6.4.8.1 Derivation process for neighbouring macroblocks .................................................................................25
6.4.8.2 Derivation process for neighbouring 8x8 luma block............................................................................. 25
6.4.8.3 Derivation process for neighbouring 4x4 luma blocks ........................................................................... 26
6.4.8.4 Derivation process for neighbouring 4x4 chroma blocks ....................................................................... 26
6.4.8.5 Derivation process for neighbouring partitions ...................................................................................... 26
6.4.9 Derivation process for neighbouring locations ........................................................................................... 28
6.4.9.1 Specification for neighbouring locations in fields and non-MBAFF frames.......................................... 28
6.4.9.2 Specification for neighbouring locations in MBAFF frames.................................................................. 28
7 Syntax and semantics...............................................................................................................................................30
7.1 Method of describing syntax in tabular form......................................................................................................30
7.2 Specification of syntax functions, categories, and descriptors...........................................................................31
7.3 Syntax in tabular form........................................................................................................................................33
7.3.1 NAL unit syntax ......................................................................................................................................... 33
7.3.2 Raw byte sequence payloads and RBSP trailing bits syntax ...................................................................... 34
7.3.2.1 Sequence parameter set RBSP syntax..................................................................................................... 34
7.3.2.1.1 Scaling list syntax ............................................................................................................................ 35
7.3.2.1.2 Sequence parameter set extension RBSP syntax.............................................................................. 35
7.3.2.2 Picture parameter set RBSP syntax ........................................................................................................ 36
7.3.2.3 Supplemental enhancement information RBSP syntax .......................................................................... 37
7.3.2.3.1 Supplemental enhancement information message syntax................................................................ 38
7.3.2.4 Access unit delimiter RBSP syntax ........................................................................................................ 38
7.3.2.5 End of sequence RBSP syntax................................................................................................................ 38
7.3.2.6 End of stream RBSP syntax.................................................................................................................... 38
7.3.2.7 Filler data RBSP syntax.......................................................................................................................... 38
7.3.2.8 Slice layer without partitioning RBSP syntax ........................................................................................ 39
7.3.2.9 Slice data partition RBSP syntax............................................................................................................ 39
7.3.2.9.1 Slice data partition A RBSP syntax ................................................................................................. 39
7.3.2.9.2 Slice data partition B RBSP syntax.................................................................................................. 39
7.3.2.9.3 Slice data partition C RBSP syntax.................................................................................................. 39
7.3.2.10 RBSP slice trailing bits syntax.............................................................................................................. 40
7.3.2.11 RBSP trailing bits syntax...................................................................................................................... 40
7.3.3 Slice header syntax ..................................................................................................................................... 41
7.3.3.1 Reference picture list reordering syntax ................................................................................................. 42
7.3.3.2 Prediction weight table syntax................................................................................................................ 43
7.3.3.3 Decoded reference picture marking syntax............................................................................................. 44
7.3.4 Slice data syntax ......................................................................................................................................... 45
7.3.5 Macroblock layer syntax............................................................................................................................. 46
7.3.5.1 Macroblock prediction syntax ................................................................................................................ 47
7.3.5.2 Sub-macroblock prediction syntax .........................................................................................................48
7.3.5.3 Residual data syntax ............................................................................................................................... 49
7.3.5.3.1 Residual block CAVLC syntax........................................................................................................ 51
7.3.5.3.2 Residual block CABAC syntax........................................................................................................ 53
7.4 Semantics............................................................................................................................................................53
7.4.1 NAL unit semantics.................................................................................................................................... 53
7.4.1.1 Encapsulation of an SODB within an RBSP (informative) .................................................................... 56
7.4.1.2 Order of NAL units and association to coded pictures, access units, and video sequences.................... 57
7.4.1.2.1 Order of sequence and picture parameter set RBSPs and their activation ....................................... 57
7.4.1.2.2 Order of access units and association to coded video sequences ..................................................... 58
7.4.1.2.3 Order of NAL units and coded pictures and association to access units.......................................... 58
7.4.1.2.4 Detection of the first VCL NAL unit of a primary coded picture .................................................... 60
7.4.1.2.5 Order of VCL NAL units and association to coded pictures ...........................................................61
7.4.2 Raw byte sequence payloads and RBSP trailing bits semantics ................................................................. 61
7.4.2.1 Sequence parameter set RBSP semantics ............................................................................................... 61
ITU-T Rec. H.264 (03/2005) – Prepublished version
3