21.12.2013 Views

05-compression-02-entropy coding.pptx - ICSY

05-compression-02-entropy coding.pptx - ICSY

05-compression-02-entropy coding.pptx - ICSY

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Lempel - Ziv (LZ77)<br />

}<br />

Algorithm for <strong>compression</strong> of character sequences<br />

(cont.)<br />

2. Find the longest match between<br />

• the first characters of the look ahead buffer<br />

• and an arbitrary character sequence in the search buffer<br />

3. Produces output <br />

• offset + length = reference to earlier occurence<br />

• next_character = the first character following the match in the look<br />

ahead buffer<br />

Prof. Dr. Paul Müller, University of Kaiserslautern<br />

33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!