aboutsummaryrefslogtreecommitdiff
path: root/src/sparse/sparse.h
blob: 12f62b526d0f26f8eb68ef0a4a1eca26e1005b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*****************************************************************************/
/* sparse.h                               Copyright (c) Ladislav Zezula 2010 */
/*---------------------------------------------------------------------------*/
/* implementation of Sparse compression, used in Starcraft II                */
/*---------------------------------------------------------------------------*/
/*   Date    Ver   Who  Comment                                              */
/* --------  ----  ---  -------                                              */
/* 05.03.10  1.00  Lad  The first version of sparse.h                        */
/*****************************************************************************/

#ifndef __SPARSE_H__
#define __SPARSE_H__

void CompressSparse(void * pvOutBuffer, int * pcbOutBuffer, void * pvInBuffer, int cbInBuffer);
int  DecompressSparse(void * pvOutBuffer, int * pcbOutBuffer, void * pvInBuffer, int cbInBuffer);

#endif // __SPARSE_H__