OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [zlib/] [examples/] [README.examples] - Diff between revs 745 and 783

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 745 Rev 783
This directory contains examples of the use of zlib.
This directory contains examples of the use of zlib.
fitblk.c
fitblk.c
    compress just enough input to nearly fill a requested output size
    compress just enough input to nearly fill a requested output size
    - zlib isn't designed to do this, but fitblk does it anyway
    - zlib isn't designed to do this, but fitblk does it anyway
gun.c
gun.c
    uncompress a gzip file
    uncompress a gzip file
    - illustrates the use of inflateBack() for high speed file-to-file
    - illustrates the use of inflateBack() for high speed file-to-file
      decompression using call-back functions
      decompression using call-back functions
    - is approximately twice as fast as gzip -d
    - is approximately twice as fast as gzip -d
    - also provides Unix uncompress functionality, again twice as fast
    - also provides Unix uncompress functionality, again twice as fast
gzappend.c
gzappend.c
    append to a gzip file
    append to a gzip file
    - illustrates the use of the Z_BLOCK flush parameter for inflate()
    - illustrates the use of the Z_BLOCK flush parameter for inflate()
    - illustrates the use of deflatePrime() to start at any bit
    - illustrates the use of deflatePrime() to start at any bit
gzjoin.c
gzjoin.c
    join gzip files without recalculating the crc or recompressing
    join gzip files without recalculating the crc or recompressing
    - illustrates the use of the Z_BLOCK flush parameter for inflate()
    - illustrates the use of the Z_BLOCK flush parameter for inflate()
    - illustrates the use of crc32_combine()
    - illustrates the use of crc32_combine()
gzlog.c
gzlog.c
gzlog.h
gzlog.h
    efficiently maintain a message log file in gzip format
    efficiently maintain a message log file in gzip format
    - illustrates use of raw deflate and Z_SYNC_FLUSH
    - illustrates use of raw deflate and Z_SYNC_FLUSH
    - illustrates use of gzip header extra field
    - illustrates use of gzip header extra field
zlib_how.html
zlib_how.html
    painfully comprehensive description of zpipe.c (see below)
    painfully comprehensive description of zpipe.c (see below)
    - describes in excruciating detail the use of deflate() and inflate()
    - describes in excruciating detail the use of deflate() and inflate()
zpipe.c
zpipe.c
    reads and writes zlib streams from stdin to stdout
    reads and writes zlib streams from stdin to stdout
    - illustrates the proper use of deflate() and inflate()
    - illustrates the proper use of deflate() and inflate()
    - deeply commented in zlib_how.html (see above)
    - deeply commented in zlib_how.html (see above)
zran.c
zran.c
    index a zlib or gzip stream and randomly access it
    index a zlib or gzip stream and randomly access it
    - illustrates the use of Z_BLOCK, inflatePrime(), and
    - illustrates the use of Z_BLOCK, inflatePrime(), and
      inflateSetDictionary() to provide random access
      inflateSetDictionary() to provide random access
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.