Reference number
ISO/IEC 13818-7:2006(E)
©
ISO/IEC 2006
INTERNATIONAL
STANDARD
ISO/IEC
13818-7
Fourth edition
2006-01-15
Information technology — Generic coding
of moving pictures and associated audio
information —
Part 7:
Advanced Audio Coding (AAC)
Technologies de l'information — Codage générique des images
animées et du son associé —
Partie 7: Codage du son avancé (AAC)
Licensed to TOKYO INSTITUTE OF TECHNOLOGY/SUMEK WISAYATAKSIN
ISO Store order #:783738/Downloaded:2006-11-06
Single user licence only, copying and networking prohibited
ISO/IEC 13818-7:2006(E)
PDF disclaimer
This PDF file may contain embedded typefaces. In accordance with Adobe's licensing policy, this file may be printed or viewed but
shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In
downloading this file, parties accept therein the responsibility of not infringing Adobe's licensing policy. The ISO Central Secretariat
accepts no liability in this area.
Adobe is a trademark of Adobe Systems Incorporated.
Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation
parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In
the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below.
© ISO/IEC 2006
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means,
electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or
ISO's member body in the country of the requester.
ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Published in Switzerland
ii
© ISO/IEC 2006 – All rights reserved
Licensed to TOKYO INSTITUTE OF TECHNOLOGY/SUMEK WISAYATAKSIN
ISO Store order #:783738/Downloaded:2006-11-06
Single user licence only, copying and networking prohibited
ISO/IEC 13818-7:2006(E)
© ISO/IEC 2006 – All rights reserved iii
Contents Page
Foreword..............................................................................................................................................................v
Introduction ........................................................................................................................................................vi
1 Scope ......................................................................................................................................................1
1.1 General....................................................................................................................................................1
1.2 MPEG-2 AAC Tools Overview...............................................................................................................1
2 Normative References...........................................................................................................................7
3 Terms and Definitions ...........................................................................................................................7
4 Symbols and Abbreviations ...............................................................................................................14
4.1 Arithmetic Operators ...........................................................................................................................14
4.2 Logical Operators ................................................................................................................................15
4.3 Relational Operators ...........................................................................................................................15
4.4 Bitwise Operators ................................................................................................................................16
4.5 Assignment ..........................................................................................................................................16
4.6 Mnemonics ...........................................................................................................................................16
4.7 Constants .............................................................................................................................................16
5 Method of Describing Bitstream Syntax ...........................................................................................16
6 Syntax ...................................................................................................................................................18
6.1 Audio Data Interchange Format, ADIF...............................................................................................18
6.2 Audio Data Transport Stream, ADTS.................................................................................................19
6.3 Raw Data...............................................................................................................................................21
7 Profiles and Profile Interoperability ...................................................................................................33
7.1 Profiles..................................................................................................................................................33
7.2 Profile Interoperability.........................................................................................................................35
8 Overall Data Structure .........................................................................................................................36
8.1 AAC Interchange Formats ..................................................................................................................36
8.2 Raw Data...............................................................................................................................................41
8.3 Single Channel Element (SCE), Channel Pair Element (CPE) and Individual Channel
Stream (ICS) .........................................................................................................................................45
8.4 Low Frequency Enhancement Channel (LFE) ..................................................................................51
8.5 Program Config Element (PCE)..........................................................................................................51
8.6 Data Stream Element (DSE) ................................................................................................................56
8.7 Fill Element (FIL) ..................................................................................................................................56
8.8 Extension Payload ...............................................................................................................................57
8.9 Tables....................................................................................................................................................61
8.10 Figures ..................................................................................................................................................70
9 Noiseless Coding.................................................................................................................................70
9.1 Tool Description...................................................................................................................................70
9.2 Definitions ............................................................................................................................................71
9.3 Decoding Process................................................................................................................................73
9.4 Tables....................................................................................................................................................76
10 Quantization .........................................................................................................................................76
10.1 Tool Description...................................................................................................................................76
10.2 Definitions ............................................................................................................................................76
10.3 Decoding Process................................................................................................................................76
11 Scalefactors..........................................................................................................................................77
11.1 Tool Description...................................................................................................................................77
Licensed to TOKYO INSTITUTE OF TECHNOLOGY/SUMEK WISAYATAKSIN
ISO Store order #:783738/Downloaded:2006-11-06
Single user licence only, copying and networking prohibited
ISO/IEC 13818-7:2006(E)
iv © ISO/IEC 2006 – All rights reserved
11.2
Definitions............................................................................................................................................ 77
11.3 Decoding Process............................................................................................................................... 78
12 Joint Coding ........................................................................................................................................ 79
12.1 M/S Stereo............................................................................................................................................ 79
12.2 Intensity Stereo ................................................................................................................................... 80
12.3 Coupling Channel ............................................................................................................................... 82
13 Prediction............................................................................................................................................. 86
13.1 Tool Description .................................................................................................................................. 86
13.2 Definitions............................................................................................................................................ 86
13.3 Decoding Process............................................................................................................................... 87
13.4 Diagrams .............................................................................................................................................. 93
14 Temporal Noise Shaping (TNS) ......................................................................................................... 93
14.1 Tool Description .................................................................................................................................. 93
14.2 Definitions............................................................................................................................................ 94
14.3 Decoding Process............................................................................................................................... 94
15 Filterbank and Block Switching......................................................................................................... 96
15.1 Tool Description .................................................................................................................................. 96
15.2 Definitions............................................................................................................................................ 96
15.3 Decoding Process............................................................................................................................... 97
16 Gain Control....................................................................................................................................... 101
16.1 Tool Description ................................................................................................................................ 101
16.2 Definitions.......................................................................................................................................... 102
16.3 Decoding Process............................................................................................................................. 102
16.4 Diagrams ............................................................................................................................................ 109
16.5 Tables ................................................................................................................................................. 109
Annex A (normative) Huffman Codebook Tables.................................................................................... 111
Annex B (informative) Information on Unused Codebooks .................................................................. 130
Annex C (informative) Encoder ..................................................................................................................... 131
Annex D (informative) Patent Holders .......................................................................................................... 189
Annex E (informative) Registration Procedure............................................................................................ 190
Annex F (informative) Registration Application Form ................................................................................ 192
Annex G (informative) Registration Authority ............................................................................................. 193
Bibliography ................................................................................................................................................... 194
Licensed to TOKYO INSTITUTE OF TECHNOLOGY/SUMEK WISAYATAKSIN
ISO Store order #:783738/Downloaded:2006-11-06
Single user licence only, copying and networking prohibited
ISO/IEC 13818-7:2006(E)
© ISO/IEC 2006 – All rights reserved
v
Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical
Commission) form the specialized system for worldwide standardization. National bodies that are members of
ISO or IEC participate in the development of International Standards through technical committees
established by the respective organization to deal with particular fields of technical activity. ISO and IEC
technical committees collaborate in fields of mutual interest. Other international organizations, governmental
and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information
technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1.
International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2.
The main task of the joint technical committee is to prepare International Standards. Draft International
Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as
an International Standard requires approval by at least 75 % of the national bodies casting a vote.
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent
rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights.
ISO/IEC 13818-7 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology,
Subcommittee SC 29, Coding of audio, picture, multimedia and hypermedia information.
This fourth edition cancels and replaces the third edition (ISO 13818-7:2004), which has been technically
revised. It also incorporates the Technical Corrigendum ISO/IEC 13818-7:2004/Cor.1:2005.
ISO/IEC 13818 consists of the following parts, under the general title Information technology — Generic
coding of moving pictures and associated audio information:
— Part 1: Systems
— Part 2: Video
— Part 3: Audio
— Part 4: Conformance testing
— Part 5: Software simulation [Technical Report]
— Part 6: Extensions for DSM-CC
— Part 7: Advanced Audio Coding (AAC)
— Part 9: Extension for real time interface for systems decoders
— Part 10: Conformance extensions for Digital Storage Media Command and Control (DSM-CC)
— Part 11: IPMP on MPEG-2 systems
Licensed to TOKYO INSTITUTE OF TECHNOLOGY/SUMEK WISAYATAKSIN
ISO Store order #:783738/Downloaded:2006-11-06
Single user licence only, copying and networking prohibited