The Whole H.264 Standard
Total Page:16
File Type:pdf, Size:1020Kb
DRAFT ISO/IEC 14496-10 : 2002 (E) Joint Video Team (JVT) of ISO/IEC MPEG & ITU-T VCEG Document: JVT-G050 (ISO/IEC JTC1/SC29/WG11 and ITU-T SG16 Q.6) Filename: JVT-G050d35.doc 7th Meeting: Pattaya, Thailand, 7-14 March, 2003 Title: Draft ITU-T Recommendation and Final Draft International Standard of Joint Video Specification (ITU-T Rec. H.264 | ISO/IEC 14496-10 AVC) Status: Approved Output Document of JVT Purpose: Text Author(s) or Thomas Wiegand Tel: +49 - 30 - 31002 617 Contact(s): Heinrich Hertz Institute (FhG), Fax: +49 - 30 - 392 72 00 Einsteinufer 37, D-10587 Berlin, Email: [email protected] Germany Gary Sullivan Microsoft Corporation Tel: +1 (425) 703-5308 One Microsoft Way Fax: +1 (425) 706-7329 Redmond, WA 98052 USA Email: [email protected] Source: Editor _____________________________ This document is an output document to the March 2003 Pattaya meeting of the JVT. Title page to be provided by ITU-T | ISO/IEC DRAFT INTERNATIONAL STANDARD DRAFT ISO/IEC 14496-10 : 2002 (E) DRAFT ITU-T Rec. H.264 (2002 E) DRAFT ITU-T RECOMMENDATION TABLE OF CONTENTS Foreword ................................................................................................................................................................................xi 0 Introduction ..................................................................................................................................................................xii 0.1 Prologue................................................................................................................................................................. xii 0.2 Purpose................................................................................................................................................................... xii 0.3 Applications............................................................................................................................................................ xii 0.4 Profiles and levels.................................................................................................................................................. xii 0.5 Overview of the design characteristics.................................................................................................................xiii 0.5.1 Predictive coding ..........................................................................................................................................xiii 0.5.2 Coding of progressive and interlaced video.................................................................................................xiii 0.5.3 Picture partitioning into macroblocks and smaller partitions ......................................................................xiii 0.5.4 Spatial redundancy reduction .......................................................................................................................xiv 0.6 How to read this specification .............................................................................................................................. xiv 1 Scope ................................................................................................................................................................................ 1 2 Normative references..................................................................................................................................................... 1 3 Definitions ....................................................................................................................................................................... 1 4 Abbreviations.................................................................................................................................................................. 7 5 Conventions..................................................................................................................................................................... 8 5.1 Arithmetic operators ................................................................................................................................................ 8 5.2 Logical operators..................................................................................................................................................... 8 5.3 Relational operators ................................................................................................................................................ 9 DRAFT ITU-T Rec. H.264 (2002 E) i DRAFT ISO/IEC 14496-10 : 2002 (E) 5.4 Bit-wise operators.................................................................................................................................................... 9 5.5 Assignment operators............................................................................................................................................... 9 5.6 Range notation ......................................................................................................................................................... 9 5.7 Mathematical functions............................................................................................................................................ 9 5.8 Variables, syntax elements, and tables.................................................................................................................. 10 5.9 Text description of logical operations................................................................................................................... 11 5.10 Processes................................................................................................................................................................ 12 6 Source, coded, decoded, output data formats, scanning processes, and neighbouring relationships ................ 12 6.1 Bitstream formats................................................................................................................................................... 12 6.2 Source, decoded, and output picture formats........................................................................................................ 12 6.3 Spatial subdivision of pictures and slices.............................................................................................................. 14 6.4 Inverse scanning processes and derivation processes for neighbours................................................................. 15 6.4.1 Inverse macroblock scanning process ........................................................................................................... 15 6.4.2 Inverse macroblock partition and sub-macroblock partition scanning process ........................................... 15 6.4.2.1 Inverse macroblock partition scanning process ........................................................................................ 16 6.4.2.2 Inverse sub-macroblock partition scanning process ................................................................................. 16 6.4.3 Inverse 4x4 luma block scanning process..................................................................................................... 17 6.4.4 Derivation process of the availability for macroblock addresses .................................................................17 6.4.5 Derivation process for neighbouring macroblock addresses and their availability ..................................... 17 6.4.6 Derivation process for neighbouring macroblock addresses and their availability in MBAFF frames ...... 18 6.4.7 Derivation processes for neighbouring macroblocks, blocks, and partitions............................................... 19 6.4.7.1 Derivation process for neighbouring macroblocks ................................................................................... 19 6.4.7.2 Derivation process for neighbouring 8x8 luma block............................................................................... 20 6.4.7.3 Derivation process for neighbouring 4x4 luma blocks.............................................................................20 6.4.7.4 Derivation process for neighbouring 4x4 chroma blocks......................................................................... 21 6.4.7.5 Derivation process for neighbouring partitions......................................................................................... 21 6.4.8 Derivation process for neighbouring locations ............................................................................................. 22 6.4.8.1 Specification for neighbouring luma locations in fields and non-MBAFF frames.................................. 22 6.4.8.2 Specification for neighbouring luma locations in MBAFF frames .......................................................... 23 7 Syntax and semantics................................................................................................................................................... 25 7.1 Method of describing syntax in tabular form ........................................................................................................ 25 7.2 Specification of syntax functions, categories, and descriptors............................................................................. 26 7.3 Syntax in tabular form ........................................................................................................................................... 28 7.3.1 NAL unit syntax............................................................................................................................................