31 #define MAXERRORMAX 200
54 void QuadX(
int startX,
int startY,
int quadSize);
69 void VQ(
const int numEntries,
const int dimension,
const unsigned char *vectors,
float *snr,
VQDATA **codebook,
const bool optimize );
70 void Sort(
float *list,
int *intIndex,
int numElements );
71 void Segment(
int *alist,
float *flist,
int numElements,
float rmse);
108 #endif // __codec_h__
void SetPreviousImage(const char *filename, NSBitmapImageRep *timage)
NSBitmapImageRep * previousImage[2]
float GetCurrentRMSE(quadcel *pquad)
void MakePreviousImage(quadcel *pquad)
int ComputeMotionBlock(byte *old, byte *bnew, int size)
NSBitmapImageRep * newImage
void GetData(unsigned char *iData, int qSize, int startX, int startY, NSBitmapImageRep *bitmap)
void VqData2(byte *cel, quadcel *pquad)
GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte * bitmap
void VqData4(byte *cel, quadcel *pquad)
void VQ(const int numEntries, const int dimension, const unsigned char *vectors, float *snr, VQDATA **codebook, const bool optimize)
int AddQuad(quadcel *pquad, int lownum)
int GetCurrentQuadOutputSize(quadcel *pquad)
void LowestQuad(quadcel *qtemp, int *status, float *snr, int bweigh)
void FvqData(byte *bitmap, int size, int realx, int realy, quadcel *pquad, bool clamp)
void QuadX(int startX, int startY, int quadSize)
void Segment(int *alist, float *flist, int numElements, float rmse)
void Sort(float *list, int *intIndex, int numElements)
int BestCodeword(unsigned char *tempvector, int dimension, VQDATA **codebook)
float Snr(byte *old, byte *bnew, int size)
void VqData8(byte *cel, quadcel *pquad)