Results 1 to 3 of 3

Thread: deflate model for paq8?

  1. #1
    Member
    Join Date
    May 2008
    Location
    Estonia
    Posts
    414
    Thanks
    155
    Thanked 245 Times in 134 Posts

    Question deflate model for paq8?

    Is it possible to decode deflate stream the same way as is the case of jpeg paq8 model where huffman codes are used for context.
    As a specific model deflate.

    Or is it meaningless?

    Can someone who is familiar with deflate respond?

    KZo


  2. #2
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,511
    Thanks
    746
    Thanked 668 Times in 361 Posts
    yes, it's possible - you'll get a sequence of chars and (dist,len) pairs. whether it has meaning to reencode output of lz-32kb model is debatable

  3. #3
    Programmer osmanturan's Avatar
    Join Date
    May 2008
    Location
    Mersin, Turkiye
    Posts
    651
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Deflate streams are easy to decompress. But, for me, the hardest thing is to detect any deflate stream within a stream. Because, deflate stream only consist 3 bits header which is not bounded by byte boundries (so, every 3 bits should be checked). But, zLib streams are easier to detect. They consist 2 bytes header+adler32 checksum for decompressed data. I'm working on it already for BIT. If I'll make some progress, I'll report it in here.
    BIT Archiver homepage: www.osmanturan.com

Similar Threads

  1. DEFLATE/zlib implementations
    By GerryB in forum Data Compression
    Replies: 10
    Last Post: 7th May 2009, 18:03
  2. Interesting Deflate source
    By encode in forum Forum Archive
    Replies: 10
    Last Post: 21st April 2008, 16:30
  3. CM Match model
    By toffer in forum Forum Archive
    Replies: 32
    Last Post: 1st February 2008, 20:26
  4. CM model
    By toffer in forum Forum Archive
    Replies: 40
    Last Post: 26th January 2008, 07:59
  5. PAQ8 tests
    By kaitz in forum Forum Archive
    Replies: 4
    Last Post: 17th January 2008, 15:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •