<?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 Ogg Vorbis Decoder on NXP LPCs? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Ogg-Vorbis-Decoder-on-NXP-LPCs/m-p/513315#M114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nsmith17044 on Tue Apr 28 13:34:40 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This is more of a general LPC questions but I'm currently working with the LPC1518.&amp;nbsp; I currently have a design that streams and merges two 32KHz 16 bit WAV files stored on a quad SPI flash (FAT16) and outputs the PCM data on the 12 bit DAC.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I started a separate project to port the Ogg Vorbis 'Tremor' branch.&amp;nbsp; I have successfully ported the project and have my hooks in place.&amp;nbsp; What I quickly realized is how 'in-efficient' this branch is for small embedded parts.&amp;nbsp; I've found references to some ports needing 350KByte of dynamic space for operation. Ouch!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know of the dynamic (stack and heap) memory requirements of the Tremor port while decoding 32KHz Vorbis single stream files?&amp;nbsp; Or does anyone know of a Vorbis port for low memory NXP parts other than Tremor?&amp;nbsp; I know its possible based on embedded solutions like VLSI Solutions parts.&amp;nbsp; I'm trying to find our own solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nathan&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:06:06 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:06:06Z</dc:date>
    <item>
      <title>Ogg Vorbis Decoder on NXP LPCs?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Ogg-Vorbis-Decoder-on-NXP-LPCs/m-p/513315#M114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nsmith17044 on Tue Apr 28 13:34:40 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This is more of a general LPC questions but I'm currently working with the LPC1518.&amp;nbsp; I currently have a design that streams and merges two 32KHz 16 bit WAV files stored on a quad SPI flash (FAT16) and outputs the PCM data on the 12 bit DAC.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I started a separate project to port the Ogg Vorbis 'Tremor' branch.&amp;nbsp; I have successfully ported the project and have my hooks in place.&amp;nbsp; What I quickly realized is how 'in-efficient' this branch is for small embedded parts.&amp;nbsp; I've found references to some ports needing 350KByte of dynamic space for operation. Ouch!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know of the dynamic (stack and heap) memory requirements of the Tremor port while decoding 32KHz Vorbis single stream files?&amp;nbsp; Or does anyone know of a Vorbis port for low memory NXP parts other than Tremor?&amp;nbsp; I know its possible based on embedded solutions like VLSI Solutions parts.&amp;nbsp; I'm trying to find our own solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nathan&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Ogg-Vorbis-Decoder-on-NXP-LPCs/m-p/513315#M114</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ogg Vorbis Decoder on NXP LPCs?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Ogg-Vorbis-Decoder-on-NXP-LPCs/m-p/513316#M115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by arw on Wed Apr 29 20:10:34 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi nsmith,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Well... this is quite a specific type of request which we are not likely to have direct experience with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But perhaps you can find some useful tools or tips from the following link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fheap-checking-redlib" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/heap-checking-redlib&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might find it easier to start with one of our LPC4300 MCUs with external SDRAM support, and then scale back to your smaller target MCU.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-arw&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Ogg-Vorbis-Decoder-on-NXP-LPCs/m-p/513316#M115</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ogg Vorbis Decoder on NXP LPCs?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Ogg-Vorbis-Decoder-on-NXP-LPCs/m-p/513317#M116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nsmith17044 on Sat May 02 08:26:45 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the link.&amp;nbsp; I was not aware of some of the details here.&amp;nbsp; I already had moved my heap and stack locations by creating a custom LD to allow me to manage this more closely.&amp;nbsp; The Vorbis code uses alloca in several places as well that I couldn't not find compiler support for.&amp;nbsp; Here I already created my own functions that 'reallocates in a circular buffer' to fulfill these calls.&amp;nbsp; I already built in some crude metrics to keep track of those allocations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an LPC 18xx board that might give me enough ram to see if I can get some measurements.&amp;nbsp; If that doesn't work certainly I'll look at the 4300s.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nathan&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:06:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Ogg-Vorbis-Decoder-on-NXP-LPCs/m-p/513317#M116</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:06:07Z</dc:date>
    </item>
  </channel>
</rss>

