jpeg_c.h File Reference
Go to the source code of this file.
Classes |
| struct | ByteStreamDef |
| struct | BitStreamDef |
Defines |
| #define | MEMORY 1 |
| #define | DISK 0 |
| #define | MALLOC malloc |
| #define | FREE free |
| #define | CHARH unsigned char |
| #define | FAR |
Typedefs |
| typedef enum FmodeDef | Fmode |
| typedef struct ByteStreamDef | ByteStream |
| typedef struct BitStreamDef | BitStream |
Enumerations |
| enum | FmodeDef { INPUT,
OUTPUT
} |
Functions |
| void * | cByteStream (ByteStream *, char *FileName, Fmode FileMode) |
| void * | dByteStream (ByteStream *) |
| short | ByteStream_read (ByteStream *) |
| short | ByteStream_write (ByteStream *, short c) |
| short | ByteStream_status (ByteStream *) |
| void * | cBitStream (BitStream *, char *fn, Fmode fm) |
| void * | dBitStream (BitStream *) |
| short | BitStream_write (BitStream *, short bits, short width) |
| short | BitStream_read (BitStream *, short bits) |
| void | inithuffcode () |
| void | encode (short *, BitStream *) |
| void | decode (short *, BitStream *) |
| void | decomp (BitStream *bs, CHARH *Image, long rows, long cols) |
Variables |
| float | q_table [64] |
| int | zzseq [64] |
| short | dcbits [16] |
| short | acbits [16] |
| char | dchuffval [12] |
| char | achuffval [162] |
Define Documentation
| #define CHARH unsigned char |
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
-
Definition at line 3 of file jpeg_c.h.
Function Documentation
| short BitStream_write |
( |
BitStream * |
, |
|
|
short |
bits, |
|
|
short |
width | |
|
) |
| | |
| short BitStream_read |
( |
BitStream * |
, |
|
|
short |
bits | |
|
) |
| | |
| void decomp |
( |
BitStream * |
bs, |
|
|
CHARH * |
Image, |
|
|
long |
rows, |
|
|
long |
cols | |
|
) |
| | |
Variable Documentation