Import simple RLE algorithm.
[bertos.git] / mware / rle.h
1 /*!
2  * \file
3  * <!--
4  * Copyright 2004 Develer S.r.l. (http://www.develer.com/)
5  * Copyright 1999, 2000, 2001 Bernardo Innocenti <bernie@develer.com>
6  * This file is part of DevLib - See devlib/README for information.
7  * -->
8  *
9  * \brief General-purpose run-length {en,de}coding algorithm (interface)
10  *
11  * \version $Id$
12  * \author Bernardo Innocenti <bernie@develer.com>
13  */
14
15 /*
16  * $Log$
17  * Revision 1.1  2004/08/04 02:35:54  bernie
18  * Import simple RLE algorithm.
19  *
20  */
21 #ifndef RLE_H
22 #define RLE_H
23
24 int rle(unsigned char *output, const unsigned char *input, int length);
25 int unrle(unsigned char *output, const unsigned char *input);
26
27 #endif /* RLE_H */