Window Size in Zlib

This is a discussion on Window Size in Zlib within the C Programming forums, part of the General Programming Boards category; In Zlib (DEFLATE LZ77) code I found Window size but I am not able to understand Window size properly.If any ...

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    10

    Window Size in Zlib

    In Zlib (DEFLATE LZ77) code I found Window size but I am not able to understand Window size properly.If any one help me to understand about window size I will be thank full to him.

    In site http://www.zlib.net/
    you see zlib source code,in this site you go to the line ---- version 1.2.3, tar.bz2 format (415K, MD5 checksum dee233bf288ee795ac96a98cc2e369b6); and chose US will get the code

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    What DO you understand about the Window size?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User slingerland3g's Avatar
    Join Date
    Jan 2008
    Location
    Seattle
    Posts
    602
    Read up on how LZ77 Data Compression works as this better explains the use of this "window" size to move forward for any matched buffer of data.

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,506
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 07:14 AM
  2. Why only 32x32? (OpenGL) [Please help]
    By Queatrix in forum Game Programming
    Replies: 2
    Last Post: 01-23-2006, 01:39 PM
  3. Adding colour & bmps to a Win 32 Window??
    By carey_sizer in forum Windows Programming
    Replies: 4
    Last Post: 09-04-2004, 05:55 PM
  4. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 09:01 PM
  5. Invoking MSWord
    By Donn in forum C Programming
    Replies: 21
    Last Post: 09-08-2001, 04:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21