1、 ETSI TS 103 190-1 V1.2.1 (2015-06) Digital Audio Compression (AC-4) Standard; Part 1: Channel based coding floppy3TECHNICAL SPECIFICATION ETSI ETSI TS 103 190-1 V1.2.1 (2015-06)2 Reference RTS/JTC-029-1 Keywords audio, broadcasting, codec, content, digital, distribution ETSI 650 Route des Lucioles
2、F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www.etsi.org/standards-s
3、earch The present document may be made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents betw
4、een such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Informa
5、tion on the current status of this and other ETSI documents is available at http:/portal.etsi.org/tb/status/status.asp If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification
6、 No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the
7、 foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2015. European Broadcasting Union 2015. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are
8、Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI TS 103 190-1 V1.2.1 (2015-06)3 Contents Intellectual Property Rights 27g3Foreword . 27g3Modal verbs termi
9、nology 27g3Introduction 28g31 Scope 30g32 References 30g32.1 Normative references . 30g32.2 Informative references 30g33 Definitions, symbols, abbreviations and conventions 31g33.1 Definitions 31g33.2 Symbols 33g33.3 Abbreviations . 33g33.4 Conventions 34g34 Bitstream syntax . 35g34.1 Semantics of s
10、yntax specification. 35g34.2 Syntax specification . 35g34.2.1 raw_ac4_frame - Raw AC-4 frame . 35g34.2.2 variable_bits - Variable bits 35g34.2.3 AC-4 frame info 36g34.2.3.1 ac4_toc - AC-4 table of contents . 36g34.2.3.2 ac4_presentation_info - AC-4 presentation information . 36g34.2.3.3 presentation
11、_version - Presentation version information 38g34.2.3.4 frame_rate_multiply_info - Frame rate multiplier information . 38g34.2.3.5 emdf_info - EMDF information 38g34.2.3.6 ac4_substream_info - AC-4 substream information 39g34.2.3.7 content_type - Content type 39g34.2.3.8 presentation_config_ext_info
12、 - Presentation configuration extended information . 39g34.2.3.9 ac4_hsf_ext_substream_info - AC-4 HSF extension substream information . 40g34.2.3.10 emdf_payloads_substream_info - EMDF payloads substream information 40g34.2.3.11 substream_index_table - Substream index table . 40g34.2.4 AC-4 substre
13、ams . 40g34.2.4.0 ac4_substream_data() type 40g34.2.4.1 ac4_substream - AC-4 substream 41g34.2.4.2 ac4_hsf_ext_substream - AC-4 high sampling frequency extension substream . 42g34.2.4.3 emdf_payloads_substream - EMDF payloads substream 43g34.2.5 audio_data - Audio data 43g34.2.6 Channel elements 44g
14、34.2.6.1 single_channel_element - Single channel element 44g34.2.6.2 mono_data - Mono data 44g34.2.6.3 channel_pair_element - Channel pair element 45g34.2.6.4 stereo_data - Stereo data . 46g34.2.6.5 3_0_channel_element - 3.0 channel element. 46g34.2.6.6 5_X_channel_element - 5.X channel element . 46
15、g34.2.6.7 two_channel_data - Two channel data 48g34.2.6.8 three_channel_data - Three channel data 48g34.2.6.9 four_channel_data - Four channel data . 48g34.2.6.10 five_channel_data - Five channel data 48g34.2.6.11 three_channel_info - Three channel info. 49g34.2.6.12 four_channel_info - Four channel
16、 info 49g34.2.6.13 five_channel_info - Five channel info. 49g34.2.6.14 7_X_channel_element - 7.X channel element . 49g34.2.7 Spectral frontend . 50g34.2.7.1 sf_info - Spectral frontend info . 50g34.2.7.2 sf_info_lfe - Spectral frontend info for LFE . 51g3ETSI ETSI TS 103 190-1 V1.2.1 (2015-06)4 4.2.
17、7.3 sf_data - Spectral frontend data . 51g34.2.8 Audio spectral frontend 51g34.2.8.1 asf_transform_info - ASF transform info 51g34.2.8.2 asf_psy_info - ASF scale factor band info 52g34.2.8.3 asf_section_data - ASF section data 53g34.2.8.4 asf_spectral_data - ASF spectral data . 54g34.2.8.5 asf_scale
18、fac_data - ASF scale factor data . 54g34.2.8.6 asf_snf_data - ASF spectral noise fill data 55g34.2.9 Speech spectral frontend . 55g34.2.9.1 ssf_data - Speech spectral frontend data . 55g34.2.9.2 ssf_granule - Speech spectral frontend granule . 56g34.2.9.3 ssf_st_data - Speech spectral frontend stati
19、c data . 56g34.2.9.4 ssf_ac_data - Speech spectral frontend arithmetic coded data 57g34.2.10 Stereo audio processing 57g34.2.10.1 chparam_info -Stereo information 57g34.2.10.2 sap_data - Stereo audio processing data 58g34.2.11 Companding control . 58g34.2.12 Advanced spectral extension - A-SPX 59g34
20、.2.12.1 aspx_config - A-SPX configuration 59g34.2.12.2 aspx_data_1ch - A-SPX 1-channel data 59g34.2.12.3 aspx_data_2ch - A-SPX 2-channel data 60g34.2.12.4 aspx_framing - A-SPX framing 61g34.2.12.5 aspx_delta_dir - A-SPX direction of envelope delta coding . 61g34.2.12.6 aspx_hfgen_iwc_1ch - A-SPX 1-c
21、hannel HF generation and interleaved waveform coding . 62g34.2.12.7 aspx_hfgen_iwc_2ch - A-SPX 2-channel HF generation and interleaved waveform coding . 63g34.2.12.8 aspx_ec_data - A-SPX entropy coded data . 64g34.2.12.9 aspx_huff_data - A-SPX Huffman data 64g34.2.13 Advanced coupling - A-CPL 64g34.
22、2.13.1 acpl_config_1ch - A-CPL 1-channel configuration 64g34.2.13.2 acpl_config_2ch - A-CPL 2-channel configuration 65g34.2.13.3 acpl_data_1ch - A-CPL 1-channel data . 65g34.2.13.4 acpl_data_2ch - A-CPL 2-channel data . 65g34.2.13.5 acpl_framing_data - A-CPL framing data . 65g34.2.13.6 acpl_ec_data
23、- A-CPL entropy coded data 66g34.2.13.7 acpl_huff_data - A-CPL Huffman data . 66g34.2.14 Metadata . 66g34.2.14.1 metadata() - Metadata . 66g34.2.14.2 basic_metadata - Basic metadata . 67g34.2.14.3 further_loudness_info - Additional loudness information . 68g34.2.14.4 extended_metadata - Extended met
24、adata 69g34.2.14.5 drc_frame - DRC frame 70g34.2.14.6 drc_config - DRC configuration . 70g34.2.14.7 drc_decoder_mode_config - DRC decoder mode_config . 70g34.2.14.8 drc_compression_curve - Compression curve parameters 71g34.2.14.9 drc_data -DRC frame-based data 72g34.2.14.10 drc_gains - DRC gains 72
25、g34.2.14.11 dialog_enhancement - Dialog enhancement metadata 73g34.2.14.12 de_config - Dialog enhancement configuration 73g34.2.14.13 de_data - Dialog enhancement data 74g34.2.14.14 emdf_payload_config - EMDF payload configuration . 75g34.2.14.15 emdf_protection - EMDF protection data . 75g34.3 Desc
26、ription of bitstream elements 75g34.3.0 Introduction. 75g34.3.1 raw_ac4_frame - Raw AC-4 frame . 76g34.3.1.1 fill_area - Fill area - variable number of bits . 76g34.3.1.2 fill_bits - Byte alignment bits - variable number of bits 76g34.3.1.3 byte_align - Byte alignment bits - 0 to 7 bits 76g34.3.2 va
27、riable_bits - Variable bits 76g34.3.2.0 Encoding . 76g34.3.2.1 read - Read bits - n_bits bits 76g34.3.2.2 b_read_more - Read more flag - 1 bit . 76g34.3.3 AC-4 frame info 76g3ETSI ETSI TS 103 190-1 V1.2.1 (2015-06)5 4.3.3.1 Purpose 76g34.3.3.2 ac4_toc - AC-4 table of contents . 76g34.3.3.2.1 bitstre
28、am_version - Bitstream version - 2 bits/variable_bits(2) . 76g34.3.3.2.2 sequence_counter - Sequence counter - 10 bits . 77g34.3.3.2.3 b_wait_frames - 1 bit . 77g34.3.3.2.4 wait_frames - 3 bits . 77g34.3.3.2.5 fs_index - Sampling frequency index - 1 bit 78g34.3.3.2.6 frame_rate_index - Frame rate -
29、4 bits 78g34.3.3.2.7 b_iframe_global - Global I-frame flag - 1 bit 78g34.3.3.2.8 b_single_presentation - Single presentation flag - 1 bit . 78g34.3.3.2.9 b_more_presentations - More presentations flag - 1 bit 79g34.3.3.2.10 b_payload_base - Payload base flag - 1 bit 79g34.3.3.2.11 payload_base_minus
30、1 - Payload base offset minus 1 - 5 bits 79g34.3.3.2.12 byte_align - Byte alignment bits - 0 to 7 bits . 79g34.3.3.3 ac4_presentation_info - AC-4 presentation information . 79g34.3.3.3.1 b_single_substream - Single substream flag - 1 bit . 79g34.3.3.3.2 b_belongs_to_presentation_group - Presentation
31、 group assignment flag - 1 bit . 79g34.3.3.3.3 b_hsf_ext - high sampling frequency extension flag - 1 bit . 79g34.3.3.3.4 presentation_config - Presentation configuration - 3 bits/variable_bits(2) 79g34.3.3.3.5 b_pre_virtualized - Pre-virtualized flag - 1 bit 79g34.3.3.3.6 b_add_emdf_substreams - Ad
32、ditional EMDF substreams flag - 1 bit . 79g34.3.3.3.7 n_add_emdf_substreams - Number of additional EMDF substreams - 2 bits/variable_bits(2) . 79g34.3.3.3.8 mdcompat - Compatibility indication - 3 bits 80g34.3.3.4 presentation_version - Presentation version information 80g34.3.3.4.1 b_tmp - Temporar
33、y flag - 1 bit 80g34.3.3.5 frame_rate_multiply_info - Frame rate multiplier information . 80g34.3.3.5.1 b_multiplier - Multiplier flag - 1 bit 80g34.3.3.5.2 multiplier_bit - Multiplier bit - 1 bit 80g34.3.3.5.3 frame_rate_factor - Frame rate factor - via table . 80g34.3.3.6 emdf_info - EMDF informat
34、ion 80g34.3.3.6.1 emdf_version - EMDF syntax version - 2 bits/variable_bits(2) 80g34.3.3.6.2 key_id - authentication ID - 3 bits/variable_bits(3) . 81g34.3.3.6.3 b_emdf_payloads_substream_info - EMDF payloads substream info flag - 1 bit . 81g34.3.3.7 ac4_substream_info - AC-4 substream information 8
35、1g34.3.3.7.1 channel_mode - Channel mode - 1, 2, 4 or 7 bits/variable_bits(2) 81g34.3.3.7.2 b_sf_multiplier - Sampling frequency multiplier flag - 1 bit . 81g34.3.3.7.3 sf_multiplier - Sampling frequency multiplier bit - 1 bit . 81g34.3.3.7.4 b_bitrate_info - Bitrate presence flag - 1 bit 82g34.3.3.
36、7.5 bitrate_indicator - Bitrate indicator - 3 bits or 5 bits . 82g34.3.3.7.6 add_ch_base - Additional channels coupling base - 1 bit 82g34.3.3.7.7 b_content_type - Content type presence flag - 1 bit 82g34.3.3.7.8 b_iframe - I-frame flag - 1 bit 82g34.3.3.7.9 substream_index - Substream index - 2 bit
37、s/variable_bits(2) 82g34.3.3.8 content_type - Content type 83g34.3.3.8.1 content_classifier - Content classifier - 3 bits 83g34.3.3.8.2 b_language_indicator - Programme language indicator flag - 1 bit . 83g34.3.3.8.3 b_serialized_language_tag - Serialized language tag flag - 1 bit . 83g34.3.3.8.4 b_
38、start_tag - Language tag start flag - 1 bit . 83g34.3.3.8.5 language_tag_chunk - Language tag chunk - 16 bits. 83g34.3.3.8.6 n_language_tag_bytes - Number of language tag bytes - 6 bits 83g34.3.3.8.7 language_tag_bytes - Language tag bytes - 8 bits . 83g34.3.3.9 presentation_config_ext_info - Presen
39、tation configuration extended information . 84g34.3.3.9.1 n_skip_bytes - Number of bytes to skip - 5 bits 84g34.3.3.9.2 b_more_skip_bytes - More bytes to skip flag - 1 bit . 84g34.3.3.9.3 reserved - Reserved - 8 bits . 84g34.3.3.10 ac4_hsf_ext_substream_info - AC-4 HSF extension substream informatio
40、n . 84g34.3.3.10.1 substream_index - Substream index - 2 bits/variable_bits(2) 84g34.3.3.11 emdf_payloads_substream_info - EMDF payloads substream information 84g34.3.3.11.1 substream_index - Substream index - 2 bits/variable_bits(2) 84g34.3.3.12 substream_index_table - Substream index table . 84g34
41、.3.3.12.1 n_substreams - Number of substreams - 2 bits/variable_bits(2) 84g34.3.3.12.2 b_size_present - Size present flag - 1 bit . 84g3ETSI ETSI TS 103 190-1 V1.2.1 (2015-06)6 4.3.3.12.3 b_more_bits - More bits flag - 1 bit . 84g34.3.3.12.4 substream_size - Substream size - 10 bits . 84g34.3.4 ac4_
42、substream - AC-4 substream . 85g34.3.4.1 audio_size_value - Audio size value - 15 bits . 85g34.3.4.2 b_more_bits - More bits flag - 1 bit 85g34.3.4.3 byte_align - Byte alignment bits - 0 to 7 bits 85g34.3.5 Channel elements 85g34.3.5.0 Introduction . 85g34.3.5.1 mono_codec_mode - Mono codec mode - 1
43、 bit 85g34.3.5.2 spec_frontend - Spectral frontend selection - 1 bit 85g34.3.5.3 stereo_codec_mode - Stereo codec mode - 2 bits . 85g34.3.5.4 3_0_codec_mode - 3.0 codec mode - 1 bit 86g34.3.5.5 3_0_coding_config - 3.0 coding configuration - 1 bit . 86g34.3.5.6 5_X_codec_mode - 5.X codec mode - 3 bit
44、s 86g34.3.5.7 7_X_codec_mode - 7.X codec mode - 2 bits 86g34.3.5.8 coding_config - Coding configuration - 1 or 2 bits . 86g34.3.5.9 2ch_mode - Channel coupling mode - 1 bit 86g34.3.5.10 b_enable_mdct_stereo_proc - Enable MDCT stereo processing flag - 1 bit . 86g34.3.5.11 chel_matsel - Matrix selecti
45、on code - 4 bits 86g34.3.5.12 b_use_sap_add_ch - Use SAP for additional channels flag - 1 bit 87g34.3.5.13 max_sfb_master - max_sfb indication for related channels - n_side_bits bits 87g34.3.6 Audio spectral frontend 87g34.3.6.1 asf_transform_info - ASF transform info 87g34.3.6.1.1 b_long_frame - Lo
46、ng frame flag - 1 bit . 87g34.3.6.1.2 transf_lengthi - Transform length index i - 2 bits . 87g34.3.6.1.3 transf_length - Transform length - 2 bits . 88g34.3.6.1.4 get_transf_length(g) Get transf_length for group g 89g34.3.6.2 asf_psy_info - ASF psy info . 89g34.3.6.2.1 n_msfb_bits - Number of maxsfb
47、 bits - via table 89g34.3.6.2.2 max_sfbi - Number of transmitted scale factor bands for index i - n_msfb_bits bits . 90g34.3.6.2.3 max_sfb_sidei - Number of transmitted scale factor bands for side channel and index i - 3 to 7 bits 90g34.3.6.2.4 n_grp_bits - Number of grouping bits - via table 90g34.
48、3.6.2.5 scale_factor_grouping_bit - Scale factor grouping bit - 1 bit 91g34.3.6.2.6 asf_psy_info helper elements 91g34.3.6.2.7 get_max_sfb(g) Get max_sfb for group g. 92g34.3.6.3 asf_section_data - ASF section data 93g34.3.6.3.1 sect_cbgi - Section codebook - 4 bits . 93g34.3.6.3.2 sect_len_incr - S
49、ection length increment - 3 or 5 bits . 93g34.3.6.4 asf_spectral_data - ASF spectral data . 93g34.3.6.4.1 asf_qspec_hcw - Huffman coded quantized spectral lines - variable bits . 93g34.3.6.4.2 huff_decode(hcb, hcw) - Huffman decoding . 93g34.3.6.4.3 quad_sign_bits - Quad sign bits - 0 to 4 bits 93g34.3.6.4.4 pair_sign_bits - Pair sign bits -0 to 2 bits 93g34.3.6.4.5 ext_code - Extension code - 5 to 21 bits 94g34.3.6.5 asf_scalefac_data - ASF scale factor data . 94g34.3.6.5.1 reference_scale_factor - Reference scale factor - 8 bit 94g34.3.6.5.2 asf_sf_hcw - Huffm