<?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 Good day. in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/AACDecoder/m-p/938039#M17412</link>
    <description>Good day.

AAC_MPEG4_STREAM is suppose to be decoded in pair with MP4 splitter and splitter always returns one data packet.
In 7.1.1 samples there is umc_audio_dec_con sample where you can see example of audio decoding pipeline for various formats.</description>
    <pubDate>Thu, 01 Nov 2012 10:06:04 GMT</pubDate>
    <dc:creator>Pavel_V_Intel</dc:creator>
    <dc:date>2012-11-01T10:06:04Z</dc:date>
    <item>
      <title>AACDecoder</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AACDecoder/m-p/938038#M17411</link>
      <description>&lt;P&gt;Hi all, I'm develop an AACDecoder in my application using UMC::AACDecoder. I have to decode RTP AAC packet. I have already have a look to&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/forums/topic/287391"&gt;http://software.intel.com/en-us/forums/topic/287391&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/forums/topic/289752"&gt;http://software.intel.com/en-us/forums/topic/289752&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And was very useful. I can decode and hear audio. Anyway I think the documentation is still missing of clear information about that: I mean it's not clear that you have to initialize the decoder in&amp;nbsp;AAC_MPEG4_STREAM mode giving to the init a 2byte buffer from RTSP negotiation.&lt;/P&gt;
&lt;P&gt;Anyway the problem is that documentation explain the "Typical Usage" that fill the input buffer with&amp;nbsp;m_SuggestedInputSize and give it to the GetFrame. The problem is that in&amp;nbsp;AAC_MPEG4_STREAM, after the decoding is performed the MediaData input buffer has always the GetDataSize=0 because of these decoder lines:&lt;/P&gt;
&lt;P&gt;if (AAC_MPEG4_STREAM == m_info.m_init_stream_type) {&lt;BR /&gt;in-&amp;gt;MoveDataPointer((Ipp32s)in-&amp;gt;GetDataSize());&lt;BR /&gt;} else {&lt;BR /&gt;in-&amp;gt;MoveDataPointer(nDecodedBytes);&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;So, why you do a&amp;nbsp;in-&amp;gt;MoveDataPointer((Ipp32s)in-&amp;gt;GetDataSize()); even if&amp;nbsp;nDecodedBytes is less then&amp;nbsp;in-&amp;gt;GetDataSize()? this way I can't fill it with&amp;nbsp;m_SuggestedInputSize but I have to fill exactly 1 AAC packet otherwise I do not know if you have some remain size inside.&lt;/P&gt;
&lt;P&gt;Can I walk around this? and Why there's&amp;nbsp;in-&amp;gt;MoveDataPointer((Ipp32s)in-&amp;gt;GetDataSize()); line?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2012 15:56:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AACDecoder/m-p/938038#M17411</guid>
      <dc:creator>selea</dc:creator>
      <dc:date>2012-10-30T15:56:20Z</dc:date>
    </item>
    <item>
      <title>Good day.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AACDecoder/m-p/938039#M17412</link>
      <description>Good day.

AAC_MPEG4_STREAM is suppose to be decoded in pair with MP4 splitter and splitter always returns one data packet.
In 7.1.1 samples there is umc_audio_dec_con sample where you can see example of audio decoding pipeline for various formats.</description>
      <pubDate>Thu, 01 Nov 2012 10:06:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AACDecoder/m-p/938039#M17412</guid>
      <dc:creator>Pavel_V_Intel</dc:creator>
      <dc:date>2012-11-01T10:06:04Z</dc:date>
    </item>
    <item>
      <title>Ok I understand AAC_MPEG4</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AACDecoder/m-p/938040#M17413</link>
      <description>Ok I understand AAC_MPEG4_STREAM stay for MP4 stream...but I can't understand why you have nDecodedBytes but you move the pointer of in size (probably for mp4 stream behavior). Anyway if you want to decode the AAC audio from a RTP source you have to do some tricks, like 2 byte buffer decoder initialization or change the m_info.m_init_stream_type after initialize: now I do that, for correctly decode AAC stream</description>
      <pubDate>Mon, 05 Nov 2012 07:05:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AACDecoder/m-p/938040#M17413</guid>
      <dc:creator>selea</dc:creator>
      <dc:date>2012-11-05T07:05:57Z</dc:date>
    </item>
    <item>
      <title>This is very old workaround</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AACDecoder/m-p/938041#M17414</link>
      <description>This is very old workaround for some MP4 streams. Probably it has no value anymore, I think it is better to comment out this condition and use only actual decoded size value.</description>
      <pubDate>Wed, 07 Nov 2012 15:25:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AACDecoder/m-p/938041#M17414</guid>
      <dc:creator>Pavel_V_Intel</dc:creator>
      <dc:date>2012-11-07T15:25:21Z</dc:date>
    </item>
    <item>
      <title>I think it's a good idea ;)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AACDecoder/m-p/938042#M17415</link>
      <description>I think it's a good idea ;) just for future release so I don't have to subclass the AACDecoder to change the stream type</description>
      <pubDate>Wed, 07 Nov 2012 15:38:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AACDecoder/m-p/938042#M17415</guid>
      <dc:creator>selea</dc:creator>
      <dc:date>2012-11-07T15:38:53Z</dc:date>
    </item>
  </channel>
</rss>

