hash
stringlengths
32
32
doc_id
stringlengths
7
13
section
stringlengths
3
121
content
stringlengths
0
2.2M
d42eb522967d110c6c642c9d4bb78e76
103 190
4.2.14.4 extended_metadata - Extended metadata
Table 69: Syntax of extended_metadata() Syntax No. of bits extended_metadata(channel_mode, b_associated, b_dialog) { if (b_associated) { if (b_scale_main) { 1 scale_main; 8 } if (b_scale_main_center) { 1 scale_main_center; 8 } if (b_scale_main_front) { 1 scale_main_front; 8 } if (channel_mode == mono) { pan_associated;...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.2.14.5 drc_frame - DRC frame
Table 70: Syntax of drc_frame() Syntax No. of bits drc_frame(b_iframe) { if (b_drc_present) { 1 if (b_iframe) { drc_config(); } drc_data(); } }
d42eb522967d110c6c642c9d4bb78e76
103 190
4.2.14.6 drc_config - DRC configuration
Table 71: Syntax of drc_config() Syntax No. of bits drc_config() { drc_decoder_nr_modes; 3 for (p = 0; p <= drc_decoder_nr_modes; p++) { drc_decoder_mode_config(p); } drc_eac3_profile; 3 }
d42eb522967d110c6c642c9d4bb78e76
103 190
4.2.14.7 drc_decoder_mode_config - DRC decoder mode_config
Table 72: Syntax of drc_decoder_mode_config() Syntax No. of bits drc_decoder_mode_config(pcount) { drc_decoder_mode_id[pcount]; 3 if (drc_decoder_mode_id[pcount] > 3) { drc_output_level_from; 5 drc_output_level_to; 5 } if (drc_repeat_profile_flag) { 1 drc_repeat_id; 3 drc_compression_curve_flag[drc_decoder_mode_id[pcou...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.2.14.8 drc_compression_curve - Compression curve parameters
Table 73: Syntax of drc_compression_curve() Syntax No. of bits drc_compression_curve() { drc_lev_nullband_low; 4 drc_lev_nullband_high; 4 drc_gain_max_boost; 4 if (drc_gain_max_boost > 0) { drc_lev_max_boost; 5 drc_nr_boost_sections; 1 if (drc_nr_boost_sections > 0) { drc_gain_section_boost; 4 drc_lev_section_boost; 5 ...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.2.14.9 drc_data -DRC frame-based data
Table 74: Syntax of drc_data() Syntax No. of bits drc_data() { curve_present = 0; for (p = 0; p <= drc_decoder_nr_modes; p++) { if (drc_compression_curve_flag[drc_decoder_mode_id[p]] == 0) { drc_gainset_size = drc_gainset_size_value; 6 if (b_more_bits) { 1 drc_gainset_size += variable_bits(2) << 6; } drc_version; 2 use...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.2.14.10 drc_gains - DRC gains
Table 75: Syntax of drc_gains() Syntax No. of bits drc_gains(mode) { drc_gain[0][0][0] = drc_gain_val; 7 if (drc_gains_config[mode] > 0) { for (ch = 0; ch < nr_drc_channels; ch++) { for (band = 0; band < nr_drc_bands; band++) for (sf = 0; sf < nr_drc_subframes; sf++) { if (sf != 0 || band != 0 || ch != 0) { diff = huff...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.2.14.11 dialog_enhancement - Dialog enhancement metadata
Table 76: Syntax of dialog_enhancement() Syntax No. of bits dialog_enhancement(b_iframe) { if (b_de_data_present) { 1 if (b_iframe) { de_config(); } elseif (de_config_flag) { 1 de_config(); } de_data(de_method, de_nr_channels, b_iframe); } } NOTE: de_nr_channels is defined in table 165.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.2.14.12 de_config - Dialog enhancement configuration
Table 77: Syntax of de_config() Syntax No. of bits de_config() { de_method; 2 de_max_gain; 2 de_channel_config; 3 } ETSI ETSI TS 103 190 V1.1.1 (2014-04) 62
d42eb522967d110c6c642c9d4bb78e76
103 190
4.2.14.13 de_data - Dialog enhancement data
Table 78: Syntax of de_data() Syntax No. of bits de_data(de_method, de_nr_channels, b_iframe) { if (de_nr_channels > 0) { if ((de_method == 1 || de_method == 3) && de_nr_channels > 1) { if (b_iframe) { de_keep_pos_flag = 0; } else { de_keep_pos_flag; 1 } if (!de_keep_pos_flag) { de_mix_coef1_idx; 5 if (de_nr_channels =...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.2.14.14 umd_payload_config - Universal metadata payload configuration
Table 79: Syntax of umd_payload_config() Syntax No. of bits umd_payload_config() { if (b_smpoffst) { 1 smpoffst = variable_bits(11); } if (b_duration) { 1 duration = variable_bits(11); } if (b_groupid) { 1 groupid = variable_bits(2); } if (b_codecdata) { 1 codecdata; 8 } if (!b_discard_unknown_payload) { 1 if (b_smpoff...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.2.14.15 umd_protection - Universal metadata protection data
Table 80: Syntax of umd_protection() Syntax No. of bits umd_protection() { protection_length_primary; 2 protection_length_secondary; 2 protection_bits_primary; 8/32/128 protection_bits_secondary; 0/8/32/128 }
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3 Description of bitstream elements
A number of bitstream elements have values which may be transmitted, but whose meaning has been reserved. If a decoder receives a bitstream which contains reserved values, the decoder may or may not be able to decode and produce audio. In the description of bitstream elements which have reserved codes, there is an indi...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.1 raw_ac4_frame - Raw AC-4 frame
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.1.1 fill_area - Fill area - variable number of bits
This variable size field is used to pad the raw_ac4_frame to a certain frame size. Padding can occur before the first ac4_substream_data or after the last ac4_substream_data. This split of the padding bits can be beneficial for editing purposes. The start of the first ac4_substream_data is given by the payload base off...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.1.2 fill_bits - Byte alignment bits - variable number of bits
These bits can be used by an AC-4 encoder to achieve an ABR stream. Decoders should ignore these bits.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.1.3 byte_align - Byte alignment bits - 0 to 7 bits
This bit field of size 0 to 7 bits is used for the byte alignment of the raw_ac4_frame() element. Byte alignment is defined relative to the start of the enclosing syntactic element.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.2 variable_bits - Variable bits
The variable_bits() method is an extension mechanism for variable bit-length elements to use more bits for the element than the minimum element length. This method enables efficient coding of small field values with extensibility to be able to express arbitrarily large field values. Field values are split into one or m...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.2.1 read - Read bits - n_bits bits
The size of this bit field is specified by the parameter n_bits. The bit field value is used to determine the value of variable_bits as specified by the syntax box in table 3.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.2.2 b_read_more - Read more flag - 1 bit
This bit indicates the presence of additional read bits.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3 AC-4 frame info
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.1 Purpose
The ac4_toc contains the configuration for an AC-4 decoder. An AC-4 decoder shall only be configured by the ac4_toc() (as opposed to information available on system level).
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2 ac4_toc - AC-4 table of contents
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2.1 bitstream_version - Bitstream version - 2 bits/variable_bits(2)
This 2-bit code which is extendable by variable_bits() indicates the bitstream version of the AC-4 frame. Only bitstreams with a bitstream version of 0 and 1 are decodable using this version of the AC-4 specification. Bitstreams with a bitstream version of 2 or higher are not decodable according to the present document...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2.2 sequence_counter - Sequence counter - 10 bits
This 10-bit code contains the sequence counter value for the current AC-4 frame. Using the sequence counter, a decoder may detect uncontrolled changes in the stream source, such as might occur in splicing operation. • "Normal operation" A decoder may continue its usual processing under the following three conditions: -...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2.3 b_wait_frames - 1 bit
This bit, if set, indicates that wait_frames information shall follow in the bitstream. If not set, wait_frames is undefined.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2.4 wait_frames - 3 bits
For ABR streams, this 3-bit field indicates when decoding of this frame can commence. After having received the frame carrying wait_frames, a decoding system should wait for wait_frames frames before the decoded frame is placed into the output buffer, unless other timing information exists. Please refer to table 81 for...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2.5 fs_index - Sampling frequency index - 1 bit
This bit indicates the base sampling frequency, indicated by the variable base_samp_freq, as shown in table 82. Table 82: Base sampling frequency fs_index base_samp_freq (kHz) 0 44,1 1 48
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2.6 frame_rate_index - Frame rate - 4 bits
The 4-bit frame_rate_index indicates the rate of frames frame_rate in units of 1/s, the value frame_length indicating the length of the frame in samples (dependent on the external sample rate) and the decoder resampling ratio as shown in tables 83 and 84. The base frame length value frame_len_base is defined as the fra...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2.7 b_iframe_global - Global I-frame flag - 1 bit
This bit, if set, indicates that all substreams in all presentations have b_iframe = 1. In case frame_rate_factor!=1, the first b_iframe of a series of 2 or 4 substreams has to be 1 (true) to fulfill this. ETSI ETSI TS 103 190 V1.1.1 (2014-04) 67
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2.8 b_single_presentation - Single presentation flag - 1 bit
This bit, if set, indicates the presence of a single presentation. If not set, b_more_presentations and additional variable_bits are used to derive the number of presentations contained in the AC-4 frame.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2.9 b_more_presentations - More presentations flag - 1 bit
This bit, if set, indicates that the number of presentations, n_presentations, is derived from additional variable_bits. If not set, no presentation is contained in the AC-4 frame.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2.10 b_payload_base - Payload base flag - 1 bit
This bit, if set, indicates that payload base offset information shall follow in the bitstream. If not set, the payload base offset is 0 and the first ac4_substream_data shall immediately follow the ac4_toc.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2.11 payload_base_minus1 - Payload base offset minus 1 - 5 bits
This 5-bit code indicates the start of the ac4_substream_data for substream 0 relative to the end of the byte-aligned ac4_toc element in bytes minus 1. An extension via variable_bits is done for a value of 0x1f.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.2.12 byte_align - Byte alignment bits - 0 to 7 bits
This bit field of size 0 to 7 bits is used for the byte alignment of the ac4_toc() element.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.3 ac4_presentation_info - AC-4 presentation information
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.3.1 b_single_substream - Single substream flag - 1 bit
This bit indicates that the presentation contains a single substream.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.3.2 b_belongs_to_presentation_group - Presentation group assignment flag - 1 bit
This bit, if set, indicates that the presentation belongs to a presentation group. The presentation group identifier presentation_group is derived from additional variable_bits.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.3.3 b_hsf_ext - high sampling frequency extension flag - 1 bit
This bit, if set, indicates that additional spectral data is available which can be used for decoding a presentation into 96 kHz or 192 kHz.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.3.4 presentation_config - Presentation configuration - 3 bits/variable_bits(2)
This 3-bit code which is extendable by variable_bits()indicates the presentation configuration as shown in table 85. Table 85: presentation_config presentation_config Presentation configuration 0 Dry Main + Dialog 1 Main + DE 2 Main + Associate 3 Dry Main + Dialog + Associate 4 Main + DE + Associate 5 HSF extended ≥ 6 ...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.3.5 b_pre_virtualized - Pre-virtualized flag - 1 bit
This bit, if set, indicates that the audio content in the current presentation was pre-rendered by a headphone virtualizer. In this case, the receiving device/service may chose to turn off device-side content post-processing.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.3.6 b_add_umd_substreams - Additional universal metadata substreams flag - 1 bit
This bit indicates the presence of additional universal metadata substreams. 4.3.3.3.7 n_add_umd_substreams - Number of additional universal metadata substreams - 2 bits/variable_bits(2) This 2-bit code which is extendable by variable_bits() indicates the number of additional metadata substreams.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.4 presentation_version - Presentation version information
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.4.1 b_tmp - Temporary flag - 1 bit
This bit, which might be present multiple times, is used to signal the version of the presentation. An encoder conforming to the present document shall write a presentation version value of 0. A decoder implemented in accordance to the present document shall skip the ac4_presentation_info if the version of the presenta...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.5 frame_rate_multiply_info - Frame rate multiplier information
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.5.1 b_multiplier - Multiplier flag - 1 bit
This bit, if set, indicates a frame_rate_factor value different to 1. If not set or if not present, the frame_rate_factor value is 1. See clause 4.3.3.5.3.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.5.2 multiplier_bit - Multiplier bit - 1 bit
This bit, if set, indicates a frame_rate_factor value of 4 and if not set, a frame_rate_factor value of 2. See clause 4.3.3.5.3.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.5.3 frame_rate_factor - Frame rate factor - via table
Dependent on the frame_rate_factor, as specified in table 86, an ac4_substream_info() element refers to 1, 2 or 4 substreams. Each of those substreams shall be decoded consecutively. Table 86: frame_rate_factor frame_rate_index b_multiplier multiplier_bit frame_rate_factor 2, 3, 4 0 X 1 1 0 2 1 1 4 0, 1, 7, 8, 9 0 X 1 ...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.6 umd_info - Universal metadata information
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.6.1 umd_version - UMD syntax version - 2 bits/variable_bits(2)
The 2-bit umd_version field which is extendable by variable_bits()indicates the syntax version that the UMD substream conforms with. For substreams that conform to the syntax defined in this version of the AC-4 specification, the umd_version field shall be set to '0'. ETSI ETSI TS 103 190 V1.1.1 (2014-04) 69
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.6.2 key_id - cryptographic key identification - 3 bits/variable_bits(3)
The value of the 3-bit key_id field which is extendable by variable_bits() identifies the cryptographic key used to calculate the value of the protection_bits_primary and protection_bits_secondary fields of the umd_protection element. The values of key_id are implementation dependent and are not defined in the present ...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.6.3 b_umd_payloads_substream_info - UMD payloads substream info flag - 1 bit
This bit indicates the presence of a umd_payloads_substream_info() element.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.7 ac4_substream_info - AC-4 substream information
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.7.1 channel_mode - Channel mode - 1, 2, 4 or 7 bits/variable_bits(2)
This variable length field (1, 2, 4 or 7 bits plus variable_bits()) indicates the channel mode and the variable ch_mode as shown in table 87. Table 87: channel_mode Value of channel_mode Channel mode ch_mode 0 Mono 0 10 Stereo 1 1100 3.0 2 1101 5.0 3 1110 5.1 4 1111000 7.0: 3/4/0 (L,C,R,Ls,Rs,Lrs,Rrs) 5 1111001 7.1: 3/...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.7.2 b_sf_multiplier - Sampling frequency multiplier flag - 1 bit
This bit, if set, indicates that the sampling frequency of the AC-4 substream is a multiple of the base sampling frequency. If not set, the sampling frequency of the AC-4 substream is identical to the base sampling frequency. NOTE: This bit is only available if the base sampling frequency is 48 kHz.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.7.3 sf_multiplier - Sampling frequency multiplier bit - 1 bit
This bit indicates the sampling frequency multiplier. Since this bit is only available if the base sampling frequency is 48 kHz, the sampling frequency of the AC-4 substream is given by table 88. Table 88: AC-4 substream sampling frequency for a base sampling frequency of 48 kHz b_sf_multiplier sf_multiplier sampling f...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.7.4 b_bitrate_info - Bitrate presence flag - 1 bit
This bit indicates whether a bitrate indicator is specified.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.7.5 bitrate_indicator - Bitrate indicator - 3 bits or 5 bits
This 3 or 5-bit field indicates the upper average bitrate limit per channel in the substream and the variable brate_ind as shown in table 89. Table 89: bitrate_indicator Value of bitrate_indicator Bitrate (kbit/s) brate_ind 000 16 0 010 20 1 100 24 2 110 28 3 00100 32 4 00101 40 5 00110 48 6 00111 56 7 01100 64 8 01101...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.7.6 add_ch_base - Additional channels coupling base - 1 bit
This 1-bit code indicates whether the A-CPL coding of the additional channels (Lw/Rw or Vhl/Vhr depending on the channel_mode) is based on the L/R pair (add_ch_base=0) or on the Ls/Rs pair (add_ch_base=1). See clause 5.7.7.6.3 for details.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.7.7 b_content_type - Content type presence flag - 1 bit
This bit indicates whether a content type is specified.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.7.8 b_iframe - I-frame flag - 1 bit
This bit indicates for each of the frame_rate_factor substreams whether the contained frame is an I-frame.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.7.9 substream_index - Substream index - 2 bits/variable_bits(2)
This 2-bit code which is extendable by variable_bits() indicates the substream index the ac4_substream_info() refers to. The substream index is used as index in the substream_index_table() to get the offset to the ac4_substream().In case frame_rate_factor is not 1, substream_index refers to the first of frame_rate_fact...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.8 content_type - Content type
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.8.1 content_classifier - Content classifier - 3 bits
This 3-bit code classifies the content as shown in table 90. Table 90: content_classifier Value of content_classifier Content classification 000 Main audio service: complete main (CM) 001 Main audio service: music and effects (ME) 010 Associated service: visually impaired (VI) 011 Any associated service: hearing impair...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.8.2 b_language_indicator - Programme language indicator flag - 1 bit
This bit indicates that programme language indication data is available.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.8.3 b_serialized_language_tag - Serialized language tag flag - 1 bit
The 1-bit b_serialized_language_tag field is used to indicate whether the language tag is delivered using multiple payloads in a sequence of AC-4 frames, or whether the complete language tag is delivered in the current payload. A value of '1' indicates that the language tag is delivered using multiple payloads delivere...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.8.4 b_start_tag - Language tag start flag - 1 bit
The 1-bit b_start_tag field is used to indicate the start of a multi-frame sequence of language tag data. A value of '1' indicates that this payload contains the first chunk of the language tag, and decoders shall start decoding the language tag beginning with the data in this payload. A value of '0' indicates that thi...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.8.5 language_tag_chunk - Language tag chunk - 16 bits
The 16-bit language_tag_chunk field shall contain a two byte section of a language tag that conforms to the syntax and semantics defined in IETF BCP 47 [4]. The most significant byte of the language tag shall be stored in the most significant byte of the language_tag_chunk in a programme language payload that has a b_s...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.8.6 n_language_tag_bytes - Number of language tag bytes - 6 bits
The 6-bit n_language_tag_bytes field indicates the total length, in bytes, of the language tag. Values of 0 and 1 and values of 43 to 63 are reserved. ETSI ETSI TS 103 190 V1.1.1 (2014-04) 72
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.8.7 language_tag_bytes - Language tag bytes - 8 bits
The sequence of language_tag_bytes shall contain a language tag that conforms to the syntax and semantics defined in IETF BCP 47 [4]. The minimum sequence length shall be two bytes, supporting a two-character language tag as specified in ISO 639 [5]. The maximum supported length of the language tag shall be 336 bits or...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.9.1 n_skip_bytes - Number of bytes to skip - 5 bits
This 5-bit code specifies the number of bytes to skip.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.9.2 b_more_skip_bytes - More bytes to skip flag - 1 bit
This bit indicates that the number of bytes to skip, n_skip_bytes, is extended by the use of variable_bits().
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.9.3 reserved - Reserved - 8 bits
This 8-bit field is reserved for future use and the content shall be skipped by an AC-4 decoder conforming to the present document.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.10 ac4_hsf_ext_substream_info - AC-4 HSF extension substream information
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.10.1 substream_index - Substream index - 2 bits/variable_bits(2)
This 2-bit code which is extendable by variable_bits() indicates the substream index the ac4_hsf_ext_substream_info refers to. The substream index is used as index in the substream_index_table() to get the offset to the ac4_substream() for the high sampling frequency extension substream. 4.3.3.11 umd_payloads_substream...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.11.1 substream_index - Substream index - 2 bits/variable_bits(2)
This 2-bit code which is extendable by variable_bits() indicates the substream index the umd_payloads_substream_info refers to. The substream index is used as index in the substream_index_table() to get the offset to the umd_payloads_substream().
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.12 substream_index_table - Substream index table
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.12.1 n_substreams - Number of substreams - 2 bits/variable_bits(2)
This 2-bit code which is extendable by variable_bits() indicates the number of substreams available in the substream_index_table.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.12.2 b_size_present - Size present flag - 1 bit
This bit indicates the presence of the substream size.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.12.3 b_more_bits - More bits flag - 1 bit
This bit indicates that additional variable_bits() are used to determine the substream size. ETSI ETSI TS 103 190 V1.1.1 (2014-04) 73
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.3.12.4 substream_size - Substream size - 10 bits
This 10-bit code which is extendable by variable_bits() if b_more_bits is set indicates the substream size in bytes for the substream with index s. To get the offset for the nth substream relative to the end of the ac4_toc, the substream sizes of the substreams with a substream index less than n need to be accumulated ...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.4 ac4_substream - AC-4 substream
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.4.1 audio_size_value - Audio size value - 15 bits
This 15-bit field indicates, together with potential variable_bits, the audio_size in bytes. The audio_size is the size of the ac4_substream element including any following fill_bits and byte_alignment but not including the size of the metadata element. NOTE: This enables decoders to directly access metadata without th...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.4.2 b_more_bits - More bits flag - 1 bit
This bit indicates the presence of additional variable_bits to be used for the audio_size determination.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.4.3 byte_align - Byte alignment bits - 0 to 7 bits
This bit field of size 0 to 7 bits is used for the byte alignment within the ac4_substream() element. An encoder shall use this field to pad the length of an ac4_substream to an integer number of bytes.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5 Channel elements
This clause describes the bitstream elements which can be found in single_channel_element, mono_data, channel_pair_element, stereo_data, 5_X_channel_element and 7_X_channel_element.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.1 mono_codec_mode - Mono codec mode - 1 bit
This bit indicates the mono codec mode as shown in table 91. Table 91: Mono codec mode mono_codec_mode Mono codec mode 0 = SIMPLE Simple 1 = ASPX A-SPX ETSI ETSI TS 103 190 V1.1.1 (2014-04) 74
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.2 spec_frontend - Spectral frontend selection - 1 bit
This bit indicates the used spectral frontend as shown in table 92. Table 92: Spectral frontend selection spec_frontend Spectral frontend 0 = ASF Audio Spectral Frontend 1 = SSF Speech Spectral Frontend The bitstream elements spec_frontend_m, spec_frontend_s, spec_frontend_l and spec_frontend_r are also spectral fronte...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.3 stereo_codec_mode - Stereo codec mode - 2 bits
This 2-bit code indicates the stereo codec mode as shown in table 93. Table 93: stereo_codec_mode stereo_codec_mode Stereo codec mode 0 = SIMPLE Simple 1 = ASPX A-SPX 2 = ASPX_ACPL_1 A-SPX, A-CPL mode 1 3 = ASPX_ACPL_2 A-SPX, A-CPL mode 2
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.4 3_0_codec_mode - 3.0 codec mode - 1 bit
This bit indicates the 3.0 codec mode as shown in table 94. Table 94: 3_0_codec_mode mono_codec_mode Mono codec mode 0 = SIMPLE Simple 1 = ASPX A-SPX
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.5 3_0_coding_config - 3.0 coding configuration - 1 bit
This 1-bit code indicates the coding configuration for the 3.0 channel mode.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.6 5_X_codec_mode - 5.X codec mode - 3 bits
This 3-bit code indicates the 5.X codec mode as shown in table 95. Table 95: 5_X_codec_mode 5_X_codec_mode 5.X codec mode 0 = SIMPLE Simple 1 = ASPX A-SPX 2 = ASPX_ACPL_1 A-SPX, A-CPL mode 1 3 = ASPX_ACPL_2 A-SPX, A-CPL mode 2 4 = ASPX_ACPL_3 A-SPX, A-CPL mode 3 5…7 Reserved ETSI ETSI TS 103 190 V1.1.1 (2014-04) 75
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.7 7_X_codec_mode - 7.X codec mode - 2 bits
This 2-bit code indicates the 7.X codec mode as shown in table 96. Table 96: 7_X_codec_mode 7_X_codec_mode 7.X codec mode 0 = SIMPLE Simple 1 = ASPX A-SPX 2 = ASPX_ACPL_1 A-SPX, A-CPL mode 1 3 = ASPX_ACPL_2 A-SPX, A-CPL mode 2
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.8 coding_config - Coding configuration - 1 or 2 bits
This 1-bit or 2-bit code, depending on the context, indicates the coding configuration for the 5.X and the 7.X channel modes.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.9 2ch_mode - Channel coupling mode - 2 bits
This 2-bit code indicates the way channel pairs are coupled into the output channels. See clauses 5.3.4.3 and 5.3.4.4 for details.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.10 b_enable_mdct_stereo_proc - Enable MDCT stereo processing flag - 1 bit
This bit indicates the presence of MDCT domain stereo processing data stored in a chparam_info element. The sf_info element, which is also enabled by this bit, holds ASF information which is valid for the decoding of both sf_data elements that follow.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.11 chel_matsel - Matrix selection code - 4 bits
This 4-bit code selects the matrix for multichannel coupling.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.12 b_use_sap_add_ch - Use SAP for additional channels flag - 1 bit
This bit, if set, indicates that the SAP tool shall be used for the additional channels and that SAP data stored in two chparam_info() elements shall follow in the bitstream.
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.5.13 max_sfb_master - max_sfb indication for related channels - n_side_bits bits
This element of size n_side_bits indicates the max_sfb value to be used when decoding the two sf_data() elements which follow the max_sfb_master element and the two chparam_info() elements. The max_sfb value for a block is determined by one entry in one of the tables B.8 to B.19. The table to use depends on the largest...
d42eb522967d110c6c642c9d4bb78e76
103 190
4.3.6 Audio spectral frontend