<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic AAC Encoder/Decoder codec &amp;quot;precharge&amp;quot; in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-Decoder-codec-quot-precharge-quot/m-p/771565#M740</link>
    <description>I am trying to wrap aac encoder and decoder codecs (they came with the 
ipp sample) into DirectShow filters. I need to understand the 
"precharging" of the decoder. According to a document from Apple(&lt;P&gt;&lt;A href="http://developer.apple.com/iphone/library/technotes/tn2009/tn2258.html"&gt;http://developer.apple.com/iphone/library/technotes/tn2009/tn2258.html&lt;/A&gt;), all 
their AAC streams have 2112 samples of audio to precharge the decoder. 
Since we will support loop play, shuffle forward/backword, I need to 
understand how Intel IPP codecs deal with this precharging issue. Is 
there precharging needed? The encoded AAC streams has extra data at the 
beginning and the end of the bit streams?&lt;/P&gt;&lt;BR /&gt;Any information and pointers will be very helpful. Thanks.</description>
    <pubDate>Wed, 28 Jul 2010 22:14:01 GMT</pubDate>
    <dc:creator>GrassValley_Eng</dc:creator>
    <dc:date>2010-07-28T22:14:01Z</dc:date>
    <item>
      <title>AAC Encoder/Decoder codec "precharge"</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-Decoder-codec-quot-precharge-quot/m-p/771565#M740</link>
      <description>I am trying to wrap aac encoder and decoder codecs (they came with the 
ipp sample) into DirectShow filters. I need to understand the 
"precharging" of the decoder. According to a document from Apple(&lt;P&gt;&lt;A href="http://developer.apple.com/iphone/library/technotes/tn2009/tn2258.html"&gt;http://developer.apple.com/iphone/library/technotes/tn2009/tn2258.html&lt;/A&gt;), all 
their AAC streams have 2112 samples of audio to precharge the decoder. 
Since we will support loop play, shuffle forward/backword, I need to 
understand how Intel IPP codecs deal with this precharging issue. Is 
there precharging needed? The encoded AAC streams has extra data at the 
beginning and the end of the bit streams?&lt;/P&gt;&lt;BR /&gt;Any information and pointers will be very helpful. Thanks.</description>
      <pubDate>Wed, 28 Jul 2010 22:14:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-Decoder-codec-quot-precharge-quot/m-p/771565#M740</guid>
      <dc:creator>GrassValley_Eng</dc:creator>
      <dc:date>2010-07-28T22:14:01Z</dc:date>
    </item>
    <item>
      <title>AAC Encoder/Decoder codec "precharge"</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-Decoder-codec-quot-precharge-quot/m-p/771566#M741</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello, &lt;/P&gt;&lt;P&gt;Our AAC expert suggested that IPP AAC encoder delay is 2048 samples (actually it encoder + decoder delay). You could check it comparing input and decoded streams.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2010 05:03:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-Decoder-codec-quot-precharge-quot/m-p/771566#M741</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2010-08-02T05:03:38Z</dc:date>
    </item>
    <item>
      <title>AAC Encoder/Decoder codec "precharge"</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-Decoder-codec-quot-precharge-quot/m-p/771567#M742</link>
      <description>&lt;BR /&gt;Hi Chao,&lt;BR /&gt;&lt;BR /&gt;Thank you for the answer.&lt;BR /&gt;&lt;BR /&gt;Now I have several following up questions and hopefully you can enlight me.&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;1. How do we detect
this precharge in the bitstream generated by the IPP (anything in the AAC acess
unit headers)? Because apparently, different decoders will assume different numbers of precharging samples.&lt;/P&gt;

&lt;P&gt;2. Is the "precharging" in IPP encoder configurable? I mean how can we configure
the IPP encoder to say use x number of samples as precharge? &lt;/P&gt;3. What value is a
good value and why? I assume in IPP case, is it 2048? I am a little confused about your comment on "encoder + decoder delay".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Wes</description>
      <pubDate>Wed, 04 Aug 2010 18:33:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-Decoder-codec-quot-precharge-quot/m-p/771567#M742</guid>
      <dc:creator>GrassValley_Eng</dc:creator>
      <dc:date>2010-08-04T18:33:08Z</dc:date>
    </item>
    <item>
      <title>AAC Encoder/Decoder codec "precharge"</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-Decoder-codec-quot-precharge-quot/m-p/771568#M743</link>
      <description>&lt;P&gt;&lt;BR /&gt;Wes, &lt;/P&gt;&lt;P&gt;We are checking this problem, and will provide more information. &lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao &lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2010 01:02:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-Decoder-codec-quot-precharge-quot/m-p/771568#M743</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2010-09-10T01:02:26Z</dc:date>
    </item>
    <item>
      <title>AAC Encoder/Decoder codec "precharge"</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-Decoder-codec-quot-precharge-quot/m-p/771569#M744</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;some more suggestion from the engineer owner: &lt;/P&gt;&lt;P&gt;How do we detect this precharge in the bitstream generated by the IPP (anything in the AAC acess unit headers)? Because apparently, different decoders will assume different numbers of precharging samples.&lt;/P&gt;&lt;P&gt;&amp;gt; There is no such possibility. The following is the quote from document mentioned below (http://developer.apple.com/iphone/library/technotes/tn2009/tn2258.html)&lt;/P&gt;&lt;P&gt;With MPEG-4 and ADTS/MPEG-2 bitstreams and file containers, there is still no satisfactory and explicit signaling mechanism for either the encoding delay or remainder padding.&lt;/P&gt;&lt;P&gt;Is the "precharging" in IPP encoder configurable? I mean how can we configure the IPP encoder to say use x number of samples as precharge? &lt;/P&gt;&lt;P&gt;&amp;gt; No, precharging is not configurable in IPP encoder. You can increase this delay by additionally delaying input signal (for example on 64 samples to achieve 2112 samples delay recommended by Apple (2112 = 2048+64). &lt;/P&gt;&lt;P&gt;What value is a good value and why? I assume in IPP case, is it 2048? I am a little confused about your comment on "encoder + decoder delay".&lt;/P&gt;&lt;P&gt;&amp;gt;For the good value? Encoder delay is implementation dependent. It depended on encoders algorithms. I think that the less delay the better. &lt;/P&gt;&lt;P&gt;AAC uses MDCT for stream transformation. Forward and inverse MDCTs introduce 1024 samples delay together. Encoder performs forward MDCT, decoder  inverse one. Additional delay (1024 samples in IPP encoder case) is needed as look ahead to choose which types of transform should be used (short or long). &lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao &lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 02:08:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Encoder-Decoder-codec-quot-precharge-quot/m-p/771569#M744</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2010-09-13T02:08:06Z</dc:date>
    </item>
  </channel>
</rss>

