<?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 Decoding with ipp samples in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Decoding-with-ipp-samples/m-p/887696#M11019</link>
    <description>Hello Everton,&lt;BR /&gt;&lt;BR /&gt;Were you able to make any progress?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Paul</description>
    <pubDate>Fri, 10 Sep 2010 16:41:42 GMT</pubDate>
    <dc:creator>PaulF_IntelCorp</dc:creator>
    <dc:date>2010-09-10T16:41:42Z</dc:date>
    <item>
      <title>AAC Decoding with ipp samples</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Decoding-with-ipp-samples/m-p/887695#M11018</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt; I'm trying to decoding a AAC sound from a IP camera. To do this I'm developing a C++ dll.&lt;/P&gt;
&lt;P&gt;Actually I don't know how exactly to do this, I'm following the steps bellow:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; 1 - Initializing the Decoder&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; { code }&lt;/P&gt;
&lt;P&gt; m_Params.m_info_in.stream_type = UMC::UNDEF_AUDIO;&lt;/P&gt;
&lt;P&gt; m_Params.lpMemoryAllocator = NULL;&lt;/P&gt;
&lt;P&gt; m_Params.m_pData = NULL;&lt;/P&gt;
&lt;P&gt; m_Params.ModeDecodeHEAACprofile = HEAAC_LP_MODE;&lt;/P&gt;
&lt;P&gt; m_Params.ModeDwnsmplHEAACprofile = HEAAC_DWNSMPL_ON;&lt;/P&gt;
&lt;P&gt; m_Params.flag_SBR_support_lev = SBR_DISABLE;&lt;/P&gt;
&lt;P&gt; m_Params.m_info_out.bitPerSample = 16;&lt;/P&gt;
&lt;P&gt; m_Params.m_info_out.channels = 2;&lt;/P&gt;
&lt;P&gt; m_Params.m_info_out.sample_frequency = 44100;&lt;/P&gt;
&lt;P&gt; m_Params.m_info_in.bitrate = 128000;&lt;/P&gt;
&lt;P&gt; // Initialization of AAC decoder&lt;/P&gt;
&lt;P&gt; UMC::Status status = m_Decoder.Init(&amp;amp;m_Params);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;{ code }&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;2 - Getting the Suggested input and output buffers&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;{ code }&lt;/P&gt;
&lt;P&gt; // Audio Paramas functions&lt;/P&gt;
&lt;P&gt; UMC::AudioCodecParams audio_codec_params;&lt;/P&gt;
&lt;P&gt; m_Decoder.GetInfo(&amp;amp;audio_codec_params);&lt;/P&gt;
&lt;P&gt; // Get Buffers Size&lt;/P&gt;
&lt;P&gt; *inBuffer = int(audio_codec_params.m_SuggestedInputSize);&lt;/P&gt;
&lt;P&gt; *outBuffer = int(audio_codec_params.m_SuggestedOutputSize);&lt;/P&gt;
&lt;P&gt;{ code }&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;3 - Sending the camera audio according to suggested sizes&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;{ code }&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;AACDecStatus AACAudioDecoder::DecodeData(void *Data, int *Len, void *Out, int *OutLen, int *OutSize){&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; // Status&lt;/P&gt;
&lt;P&gt; UMC::Status status;&lt;/P&gt;
&lt;P&gt; // Set the input buffer pointer to the input data&lt;/P&gt;
&lt;P&gt; m_inMediaBuffer.SetBufferPointer((Ipp8u *)Data, (size_t)*Len);&lt;/P&gt;
&lt;P&gt; m_inMediaBuffer.SetDataSize((size_t)*Len);&lt;/P&gt;
&lt;P&gt; // Set the output buffer pointer to the output data&lt;/P&gt;
&lt;P&gt; m_outMediaBuffer.SetBufferPointer((Ipp8u *)Out, (size_t )*OutLen);&lt;/P&gt;
&lt;P&gt; m_outMediaBuffer.SetDataSize((size_t)*OutLen);&lt;/P&gt;
&lt;P&gt;// Encode audio pack&lt;/P&gt;
&lt;P&gt; status = m_Decoder.GetFrame(&amp;amp;m_inMediaBuffer, &amp;amp;m_outMediaBuffer);&lt;/P&gt;
&lt;P&gt;// Return Data Out size&lt;/P&gt;
&lt;P&gt; *OutSize = m_outMediaBuffer.GetDataSize();&lt;/P&gt;
&lt;P&gt; // Check if the encoding was sucessfull&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;{ code }&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;But in the 3 part I always receive status = UMC_ERR_UNSUPPORTED;&lt;/P&gt;
&lt;P&gt;I'm sending bellow the camera information of thedata:&lt;/P&gt;
&lt;P&gt;v=0&lt;/P&gt;
&lt;P&gt;o=RTSP 948498866 755 IN IP4 0.0.0.0&lt;/P&gt;
&lt;P&gt;s=RTSP server&lt;/P&gt;
&lt;P&gt;c=IN IP4 0.0.0.0&lt;/P&gt;
&lt;P&gt;t=0 0&lt;/P&gt;
&lt;P&gt;a=charset:Shift_JIS&lt;/P&gt;
&lt;P&gt;a=range:npt=0-&lt;/P&gt;
&lt;P&gt;a=control:*&lt;/P&gt;
&lt;P&gt;a=etag:1234567890&lt;/P&gt;
&lt;P&gt;m=video 0 RTP/AVP 96&lt;/P&gt;
&lt;P&gt;b=AS:0&lt;/P&gt;
&lt;P&gt;a=rtpmap:96 MP4V-ES/30000&lt;/P&gt;
&lt;P&gt;a=control:trackID=1&lt;/P&gt;
&lt;P&gt;a=fmtp:96 profile-level-id=3;config=000001B003000001B509000001000000012000C488800F519044C1463F;decode_buf=76800&lt;/P&gt;
&lt;P&gt;m=audio 0 RTP/AVP 97&lt;/P&gt;
&lt;P&gt;a=control:trackID=6&lt;/P&gt;
&lt;P&gt;a=rtpmap:97 &lt;STRONG&gt;mpeg4-generic/44100/2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1210;SizeLength=13; IndexLength=3; IndexDeltaLength=3; CTSDeltaLength=0; DTSDeltaLength=0;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I saw that the format is mpeg4-generic but I can't initialize with this specifications AAC_MPEG4_STREAM without this error: UMC_ERR_INVALID_PARAM;&lt;/P&gt;
&lt;P&gt;I'm not find anyexampleto initialize with this header.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;AnyoneKnow what I'm doing wrong?&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Everton Soares Manso&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2010 18:00:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Decoding-with-ipp-samples/m-p/887695#M11018</guid>
      <dc:creator>evertonesm</dc:creator>
      <dc:date>2010-02-19T18:00:16Z</dc:date>
    </item>
    <item>
      <title>AAC Decoding with ipp samples</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Decoding-with-ipp-samples/m-p/887696#M11019</link>
      <description>Hello Everton,&lt;BR /&gt;&lt;BR /&gt;Were you able to make any progress?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Paul</description>
      <pubDate>Fri, 10 Sep 2010 16:41:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-Decoding-with-ipp-samples/m-p/887696#M11019</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2010-09-10T16:41:42Z</dc:date>
    </item>
  </channel>
</rss>

