kviewshell
GScaler.cpp File Reference
#include "GScaler.h"
Include dependency graph for GScaler.cpp:
Go to the source code of this file.
Defines | |
#define | FRACBITS 4 |
#define | FRACMASK (FRACSIZE-1) |
#define | FRACSIZE (1<<FRACBITS) |
#define | FRACSIZE2 (FRACSIZE>>1) |
Functions | |
static int | maxi (int x, int y) |
static int | mini (int x, int y) |
static void | prepare_coord (int *coord, int inmax, int outmax, int in, int out) |
static void | prepare_interp () |
Variables | |
static short | interp [FRACSIZE][512] |
static int | interp_ok = 0 |
Define Documentation
#define FRACBITS 4 |
Definition at line 82 of file GScaler.cpp.
#define FRACMASK (FRACSIZE-1) |
Definition at line 85 of file GScaler.cpp.
#define FRACSIZE (1<<FRACBITS) |
Definition at line 83 of file GScaler.cpp.
#define FRACSIZE2 (FRACSIZE>>1) |
Definition at line 84 of file GScaler.cpp.
Function Documentation
static int maxi | ( | int | x, | |
int | y | |||
) | [inline, static] |
Definition at line 123 of file GScaler.cpp.
static int mini | ( | int | x, | |
int | y | |||
) | [inline, static] |
Definition at line 116 of file GScaler.cpp.
static void prepare_coord | ( | int * | coord, | |
int | inmax, | |||
int | outmax, | |||
int | in, | |||
int | out | |||
) | [static] |
Definition at line 184 of file GScaler.cpp.
static void prepare_interp | ( | ) | [static] |
Definition at line 100 of file GScaler.cpp.
Variable Documentation
short interp[FRACSIZE][512] [static] |
Definition at line 97 of file GScaler.cpp.
int interp_ok = 0 [static] |
Definition at line 96 of file GScaler.cpp.