00001
#ifndef CAMTILE_HPP
00002
#define CAMTILE_HPP
00003
00004
#include <qglobal.h>
00005
00006 struct CCamTile
00007 {
00008
public:
00009 int x,
y;
00010 int in_offsets[8][8];
00011 int out_offsets[8][8];
00013 int abs_value,
nb_value;
00014 int PCount;
00015
00016 CCamTile *
Left, *
Top, *
Right, *
Bottom;
00017 CCamTile *
NextZag;
00018 CCamTile *
pUsedPrev, *
pUsedNext;
00019
00020
void CalculateForward(uchar *dst, uchar *src);
00021
void CalculateInverse(uchar *dst, uchar *src);
00022
00023
void CalcDiffValue(
const uchar *src);
00024
void CopyTile(uchar *dst,
const uchar *src);
00025
void ClearInTile(uchar *dst);
00026
void ClearOutTile(uchar *dst);
00027
00028
static int CompareTile(
const void *t1,
const void *t2);
00029 };
00030
00031
#endif