kviewshell
IW44Image.cpp File Reference
#include "IW44Image.h"
#include "ZPCodec.h"
#include "GBitmap.h"
#include "GPixmap.h"
#include "IFFByteStream.h"
#include "GRect.h"
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "MMX.h"
#include <assert.h>
Go to the source code of this file.
Defines | |
#define | DECIBEL_PRUNE 5.0 |
#define | IW44IMAGE_IMPLIMENTATION |
#define | IWALLOCSIZE 4080 |
#define | IWCODEC_MAJOR 1 |
#define | IWCODEC_MINOR 2 |
Functions | |
static void | filter_bh (short *p, int w, int h, int rowsize, int scale) |
static void | filter_bv (short *p, int w, int h, int rowsize, int scale) |
static int | max (const int x, const int y) |
static int | min (const int x, const int y) |
Variables | |
struct { | |
int size | |
int start | |
} | bandbuckets [] |
static const int | iw_border = 3 |
static const float | iw_norm [16] |
static const int | iw_quant [16] |
static const int | iw_round = (1<<(iw_shift-1)) |
static const int | iw_shift = 6 |
static int | zigzagloc [1024] |
Define Documentation
#define DECIBEL_PRUNE 5.0 |
Definition at line 105 of file IW44Image.cpp.
#define IW44IMAGE_IMPLIMENTATION |
Definition at line 70 of file IW44Image.cpp.
#define IWALLOCSIZE 4080 |
Definition at line 102 of file IW44Image.cpp.
#define IWCODEC_MAJOR 1 |
Definition at line 103 of file IW44Image.cpp.
#define IWCODEC_MINOR 2 |
Definition at line 104 of file IW44Image.cpp.
Function Documentation
static void filter_bh | ( | short * | p, | |
int | w, | |||
int | h, | |||
int | rowsize, | |||
int | scale | |||
) | [static] |
Definition at line 364 of file IW44Image.cpp.
static void filter_bv | ( | short * | p, | |
int | w, | |||
int | h, | |||
int | rowsize, | |||
int | scale | |||
) | [static] |
Definition at line 256 of file IW44Image.cpp.
static int max | ( | const int | x, | |
const int | y | |||
) | [inline, static] |
Definition at line 1289 of file IW44Image.cpp.
static int min | ( | const int | x, | |
const int | y | |||
) | [inline, static] |
Definition at line 1280 of file IW44Image.cpp.
Variable Documentation
struct { ... }
bandbuckets[] [static] |
const int iw_border = 3 [static] |
Definition at line 137 of file IW44Image.cpp.
const float iw_norm[16] [static] |
Initial value:
{ 2.627989e+03F, 1.832893e+02F, 1.832959e+02F, 5.114690e+01F, 4.583344e+01F, 4.583462e+01F, 1.279225e+01F, 1.149671e+01F, 1.149712e+01F, 3.218888e+00F, 2.999281e+00F, 2.999476e+00F, 8.733161e-01F, 1.074451e+00F, 1.074511e+00F, 4.289318e-01F }
Definition at line 128 of file IW44Image.cpp.
const int iw_quant[16] [static] |
Initial value:
{ 0x004000, 0x008000, 0x008000, 0x010000, 0x010000, 0x010000, 0x020000, 0x020000, 0x020000, 0x040000, 0x040000, 0x040000, 0x080000, 0x040000, 0x040000, 0x080000 }
Definition at line 119 of file IW44Image.cpp.
Definition at line 139 of file IW44Image.cpp.
const int iw_shift = 6 [static] |
Definition at line 138 of file IW44Image.cpp.
int size |
Definition at line 886 of file IW44Image.cpp.
int start |
Definition at line 886 of file IW44Image.cpp.
int zigzagloc[1024] [static] |
Definition at line 477 of file IW44Image.cpp.