kviewshell
IW44EncodeCodec.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_fh (short *p, int w, int h, int rowsize, int scale) |
static void | filter_fv (short *p, int w, int h, int rowsize, int scale) |
static void | forward_mask (short *data16, int w, int h, int rowsize, int begin, int end, const signed char *mask8, int mskrowsize) |
static void | interpolate_mask (short *data16, int w, int h, int rowsize, const signed char *mask8, int mskrowsize) |
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 float | iw_norm [16] |
static const int | iw_round = (1<<(iw_shift-1)) |
static const int | iw_shift = 6 |
static const float | rgb_to_ycc [3][3] |
Define Documentation
#define DECIBEL_PRUNE 5.0 |
Definition at line 106 of file IW44EncodeCodec.cpp.
#define IW44IMAGE_IMPLIMENTATION |
Definition at line 69 of file IW44EncodeCodec.cpp.
#define IWALLOCSIZE 4080 |
Definition at line 103 of file IW44EncodeCodec.cpp.
#define IWCODEC_MAJOR 1 |
Definition at line 104 of file IW44EncodeCodec.cpp.
#define IWCODEC_MINOR 2 |
Definition at line 105 of file IW44EncodeCodec.cpp.
Function Documentation
static void filter_fh | ( | short * | p, | |
int | w, | |||
int | h, | |||
int | rowsize, | |||
int | scale | |||
) | [static] |
Definition at line 513 of file IW44EncodeCodec.cpp.
static void filter_fv | ( | short * | p, | |
int | w, | |||
int | h, | |||
int | rowsize, | |||
int | scale | |||
) | [static] |
Definition at line 403 of file IW44EncodeCodec.cpp.
static void forward_mask | ( | short * | data16, | |
int | w, | |||
int | h, | |||
int | rowsize, | |||
int | begin, | |||
int | end, | |||
const signed char * | mask8, | |||
int | mskrowsize | |||
) | [static] |
Definition at line 823 of file IW44EncodeCodec.cpp.
static void interpolate_mask | ( | short * | data16, | |
int | w, | |||
int | h, | |||
int | rowsize, | |||
const signed char * | mask8, | |||
int | mskrowsize | |||
) | [static] |
Definition at line 723 of file IW44EncodeCodec.cpp.
static int max | ( | const int | x, | |
const int | y | |||
) | [inline, static] |
Definition at line 661 of file IW44EncodeCodec.cpp.
static int min | ( | const int | x, | |
const int | y | |||
) | [inline, static] |
Definition at line 657 of file IW44EncodeCodec.cpp.
Variable Documentation
struct { ... }
bandbuckets[] [static] |
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 118 of file IW44EncodeCodec.cpp.
Definition at line 128 of file IW44EncodeCodec.cpp.
const int iw_shift = 6 [static] |
Definition at line 127 of file IW44EncodeCodec.cpp.
const float rgb_to_ycc[3][3] [static] |
Initial value:
{ { 0.304348F, 0.608696F, 0.086956F }, { 0.463768F, -0.405797F, -0.057971F }, {-0.173913F, -0.347826F, 0.521739F } }
Definition at line 624 of file IW44EncodeCodec.cpp.
int size |
Definition at line 130 of file IW44EncodeCodec.cpp.
int start |
Definition at line 130 of file IW44EncodeCodec.cpp.