www.pudn.com > EZW_.rar > subbandsymbol.h
#ifndef __SUBBANDSYMBOL_H_ #define __SUBBANDSYMBOL_H_ /*----------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------*/ /* * Mow-Song, Ng 2/9/2002 * msng@mmu.edu.my * http://www.pesona.mmu.edu.my/~msng * * I do not claim copyright to the code, but if you use them or modify them, * please drop me a mail. * */ /*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/ #include#include #include #include #include "memchk.h" typedef struct SubbandSymbolStruct{ int hsize, vsize; int nsteps; int nSubbands; int *subbandSize; int *subbandHSize; int *subbandVSize; int *symbol; int **subbandPtr; } SubbandSymbol; SubbandSymbol *SubbandSymbolAlloc(int hsize, int vsize, int nsteps); int SubbandSymbolGetNodeSymbol(SubbandSymbol *symbol, int scale, int orientation, int x, int y); void SubbandSymbolSetNodeSymbol(SubbandSymbol *symbol, int scale, int orientation, int x, int y, int s); void SubbandSymbolDealloc(SubbandSymbol *symbol); void SubbandSymbolError(char *fmt, ...); #endif