Revision ffb481f4
Added by David Sorber almost 8 years ago
| software/libpackjpg/lib_src/packjpg.h | ||
|---|---|---|
|
#ifndef PACKJPG_H
|
||
|
#define PACKJPG_H
|
||
|
|
||
|
#include "bitops.h"
|
||
|
#include "aricoder.h"
|
||
|
#include "pjpgtbl.h"
|
||
|
#include "dct8x8.h"
|
||
|
|
||
|
#define MEM_ERRMSG "out of memory error"
|
||
|
#define FRD_ERRMSG "could not read file / file not found: %s"
|
||
|
#define FWR_ERRMSG "could not write file / file write-protected: %s"
|
||
|
#define MSG_SIZE 128
|
||
|
#define BARLEN 36
|
||
|
|
||
|
// Forward declarations -- real includes are in the source file so we can use
|
||
|
// this header externally
|
||
|
class ArithmeticDecoder;
|
||
|
class ArithmeticEncoder;
|
||
|
class BitReader;
|
||
|
class BitWriter;
|
||
|
class Reader;
|
||
|
class Writer;
|
||
|
|
||
|
/* -----------------------------------------------
|
||
|
struct declarations
|
||
|
----------------------------------------------- */
|
||
Move includes to source file and add forward declarations in their place
so that the packjpg.h header can be used externally.