| 1 |
/* Copyright (C) 2008 Vincent Penquerc'h. |
| 2 |
This file is part of the Kate codec library. |
| 3 |
Written by Vincent Penquerc'h. |
| 4 |
|
| 5 |
Use, distribution and reproduction of this library is governed |
| 6 |
by a BSD style source license included with this source in the |
| 7 |
file 'COPYING'. Please read these terms before distributing. */ |
| 8 |
|
| 9 |
|
| 10 |
#ifndef KATE_kate_rle_h_GUARD |
| 11 |
#define KATE_kate_rle_h_GUARD |
| 12 |
|
| 13 |
#include "kate_internal.h" |
| 14 |
#include "kate/kate.h" |
| 15 |
#include "kate_bitwise.h" |
| 16 |
|
| 17 |
extern int kate_rle_encode(size_t width,size_t height,const unsigned char *values,size_t bits,kate_pack_buffer *kpb) kate_internal; |
| 18 |
extern int kate_rle_decode(size_t width,size_t height,unsigned char *values,size_t bits,kate_pack_buffer *kpb) kate_internal; |
| 19 |
|
| 20 |
#endif |
| 21 |
|