<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multimedia.cx/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=QsiYqq</id>
	<title>MultimediaWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multimedia.cx/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=QsiYqq"/>
	<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php/Special:Contributions/QsiYqq"/>
	<updated>2026-05-05T08:55:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.multimedia.cx/index.php?title=Decoding_AAC_SCE_and_LFE&amp;diff=7673</id>
		<title>Decoding AAC SCE and LFE</title>
		<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php?title=Decoding_AAC_SCE_and_LFE&amp;diff=7673"/>
		<updated>2007-04-11T15:53:01Z</updated>

		<summary type="html">&lt;p&gt;QsiYqq: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''Part of [[Understanding AAC]]''&lt;br /&gt;
&lt;br /&gt;
An SCE is a single channel element. An LFE is a special type of SCE and may stand for low frequency element. These elements contain the encoded data (a single audio channel). Presently, this description is only concerned with what it takes to decode low complexity (LC) data. Processing that affects other features is skipped (except if the data needs to be parsed from the bitstream).&lt;br /&gt;
&lt;br /&gt;
A note about the ad-hoc conventions in this syntax description: This notation:&lt;br /&gt;
 6 bits: foo&lt;br /&gt;
indicates that the next 6 bits are to be read from the bitstream and stored in variable foo. Similarily, this notation:&lt;br /&gt;
 foo: bar&lt;br /&gt;
indicates that the next (foo) quantity bits are to be read from the bitstream and stored in variable bar.&lt;br /&gt;
&lt;br /&gt;
== Function Hierarchy ==&lt;br /&gt;
&lt;br /&gt;
When FAAD2 wants to decode a SCE or LFE, this is the sequence of functions it calls in its internal hierarchy:&lt;br /&gt;
&lt;br /&gt;
  syntax.c:decode_sce_lfe()&lt;br /&gt;
     - syntax.c:single_lfe_channel_element()&lt;br /&gt;
       - syntax.c:individual_channel_stream()&lt;br /&gt;
       - ''(SBR decoding stuff)''&lt;br /&gt;
       - specrec.c:reconstruct_single_channel()&lt;br /&gt;
&lt;br /&gt;
== decode_sce_lfe() ==&lt;br /&gt;
 single_lfe_channel_element()&lt;br /&gt;
&lt;br /&gt;
== single_lfe_channel_element() ==&lt;br /&gt;
 declare an ic_stream structure: ics&lt;br /&gt;
 declare an array of 1024 16-bit ints for spectral data: spec_data&lt;br /&gt;
 4 bits: element instance tag&lt;br /&gt;
 individual_channel_stream(ics, spec_data)&lt;br /&gt;
 reconstruct_single_channel(ics, spec_data)&lt;br /&gt;
&lt;br /&gt;
== individual_channel_stream(ic_stream ics, spec_data[1024]) ==&lt;br /&gt;
&lt;br /&gt;
This process is detailed in [[Decoding AAC CPE]].&lt;br /&gt;
&lt;br /&gt;
== Reconstruction ==&lt;/div&gt;</summary>
		<author><name>QsiYqq</name></author>
	</entry>
</feed>