kviewshell
DjVuPalette.cpp File Reference
#include "GException.h"
#include "ByteStream.h"
#include "BSByteStream.h"
#include "DjVuPalette.h"
#include <stdlib.h>
#include <math.h>
Include dependency graph for DjVuPalette.cpp:
Go to the source code of this file.
Defines | |
#define | BMUL 2 |
#define | CUBEBITS 4 |
#define | CUBESIDE (1<<CUBEBITS) |
#define | CUBESIZE (CUBESIDE*CUBESIDE*CUBESIDE) |
#define | DJVUPALETTEVERSION 0 |
#define | GMUL 9 |
#define | MAXPALETTESIZE 65535 |
#define | RMUL 5 |
#define | SMUL (RMUL+GMUL+BMUL) |
Functions | |
float | fmin (float a, float b) |
unsigned char | umax (unsigned char a, unsigned char b) |
unsigned char | umin (unsigned char a, unsigned char b) |
Define Documentation
#define BMUL 2 |
Definition at line 86 of file DjVuPalette.cpp.
#define CUBEBITS 4 |
Definition at line 80 of file DjVuPalette.cpp.
#define CUBESIDE (1<<CUBEBITS) |
Definition at line 81 of file DjVuPalette.cpp.
#define CUBESIZE (CUBESIDE*CUBESIDE*CUBESIDE) |
Definition at line 82 of file DjVuPalette.cpp.
#define DJVUPALETTEVERSION 0 |
Definition at line 472 of file DjVuPalette.cpp.
#define GMUL 9 |
Definition at line 85 of file DjVuPalette.cpp.
#define MAXPALETTESIZE 65535 |
Definition at line 89 of file DjVuPalette.cpp.
#define RMUL 5 |
Definition at line 84 of file DjVuPalette.cpp.
#define SMUL (RMUL+GMUL+BMUL) |
Definition at line 87 of file DjVuPalette.cpp.
Function Documentation
float fmin | ( | float | a, | |
float | b | |||
) | [inline] |
Definition at line 101 of file DjVuPalette.cpp.
unsigned char umax | ( | unsigned char | a, | |
unsigned char | b | |||
) | [inline] |
Definition at line 93 of file DjVuPalette.cpp.
unsigned char umin | ( | unsigned char | a, | |
unsigned char | b | |||
) | [inline] |
Definition at line 97 of file DjVuPalette.cpp.