<?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>ColdFire/68K Microcontrollers and Processors中的主题 Re: Data compression algoithm for MCF5328</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Data-compression-algoithm-for-MCF5328/m-p/164133#M5488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Mark&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you for your hint&lt;/DIV&gt;&lt;DIV&gt;We tryed to zip a 100k bitmap&amp;nbsp;with the code from &lt;A href="http://www.zlib.net/" rel="nofollow" target="_blank"&gt;http://www.zlib.net/&lt;/A&gt;&amp;nbsp;an it took about 3 s to compress it to 30 k. There are 6 frames/s coming in and it looks like there was quite a bit of optimisation necessary.&lt;/DIV&gt;&lt;DIV&gt;Decompression took about 200 ms.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Gruss&lt;/DIV&gt;&lt;DIV&gt;Jürg&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2007 16:52:36 GMT</pubDate>
    <dc:creator>Juerg</dc:creator>
    <dc:date>2007-11-16T16:52:36Z</dc:date>
    <item>
      <title>Data compression algoithm for MCF5328</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Data-compression-algoithm-for-MCF5328/m-p/164131#M5486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi all,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am looking for a simple&amp;nbsp;data compression algorithm to run on a MCF5328. We are conducting bitmaps with a camera and I would like to compress the collected datablock (Huffman, ZIP, ..). Does anybody know a simple and efficient ANSI-C code for compression and decompression?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance&lt;/DIV&gt;&lt;DIV&gt;Jürg&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 00:28:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Data-compression-algoithm-for-MCF5328/m-p/164131#M5486</guid>
      <dc:creator>Juerg</dc:creator>
      <dc:date>2007-11-15T00:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Data compression algoithm for MCF5328</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Data-compression-algoithm-for-MCF5328/m-p/164132#M5487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Jürg&lt;BR /&gt;&lt;BR /&gt;Take a look at zlib: &lt;A href="http://en.wikipedia.org/wiki/Zlib" rel="nofollow" target="_blank"&gt;http://en.wikipedia.org/wiki/Zlib&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It is open source and free to use.&lt;BR /&gt;&lt;BR /&gt;I have used it for extraction of compressed BMPs (mini GZIP format as recognised by 7-ZIP) - eg. 4k gz extracts to 45k BMP - it works with a few kBytes or working memoiry (when set up appropriately). Expect about 3ms extraction time for 2k of extracted data (with 50MHz processor).&lt;BR /&gt;&lt;BR /&gt;I have heard that the compression is more complicated but I haven't actually done this side.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_blank"&gt;www.uTasker.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 04:21:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Data-compression-algoithm-for-MCF5328/m-p/164132#M5487</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2007-11-16T04:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Data compression algoithm for MCF5328</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Data-compression-algoithm-for-MCF5328/m-p/164133#M5488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Mark&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you for your hint&lt;/DIV&gt;&lt;DIV&gt;We tryed to zip a 100k bitmap&amp;nbsp;with the code from &lt;A href="http://www.zlib.net/" rel="nofollow" target="_blank"&gt;http://www.zlib.net/&lt;/A&gt;&amp;nbsp;an it took about 3 s to compress it to 30 k. There are 6 frames/s coming in and it looks like there was quite a bit of optimisation necessary.&lt;/DIV&gt;&lt;DIV&gt;Decompression took about 200 ms.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Gruss&lt;/DIV&gt;&lt;DIV&gt;Jürg&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 16:52:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Data-compression-algoithm-for-MCF5328/m-p/164133#M5488</guid>
      <dc:creator>Juerg</dc:creator>
      <dc:date>2007-11-16T16:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Data compression algoithm for MCF5328</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Data-compression-algoithm-for-MCF5328/m-p/164134#M5489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Jürg&lt;BR /&gt;&lt;BR /&gt;I have heard that the compression side is more complicated but I didn't expect these times.&lt;BR /&gt;I had to change some settings so that the RAM workspace was reduced - originally it required about 70k for the work space and did buffer conversions in steps of 32k. Since I use devices with rather less memory than that I had to reduce to 2k buffer conversions (I think they are called windows) and I was getting about 3ms extraction times per 2k buffer. (I understand that the 32k window also results in an optimum performance).&lt;BR /&gt;&lt;BR /&gt;Programs like 7ZIP have a fixed 32k windows size and can not compress to use smaller ones. Therefore MiniGZIP has to be used.&lt;BR /&gt;&lt;BR /&gt;Unfortunately I am not what one calls an expert on this subject. I just used it recently and had to solve the windowing problem to get it working in my system. But my knowledge stops about there...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 21:30:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Data-compression-algoithm-for-MCF5328/m-p/164134#M5489</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2007-11-16T21:30:21Z</dc:date>
    </item>
  </channel>
</rss>

