(file) Return to dwt_compress.h CVS log (file) (dir) Up to [Development] / JSOC / proj / datacapture / apps

File: [Development] / JSOC / proj / datacapture / apps / dwt_compress.h (download)
Revision: 1.1, Tue Oct 16 21:48:16 2007 UTC (15 years, 7 months ago) by arta
Branch: MAIN
CVS Tags: Ver_LATEST, Ver_9-5, Ver_9-41, Ver_9-4, Ver_9-3, Ver_9-2, Ver_9-1, Ver_9-0, Ver_8-8, Ver_8-7, Ver_8-6, Ver_8-5, Ver_8-4, Ver_8-3, Ver_8-2, Ver_8-12, Ver_8-11, Ver_8-10, Ver_8-1, Ver_8-0, Ver_7-1, Ver_7-0, Ver_6-4, Ver_6-3, Ver_6-2, Ver_6-1, Ver_6-0, Ver_5-9, Ver_5-8, Ver_5-7, Ver_5-6, Ver_5-5, Ver_5-3, Ver_5-2, Ver_5-14, Ver_5-13, Ver_5-12, Ver_5-11, Ver_5-10, Ver_5-1, Ver_5-0, Ver_4-7, Ver_4-6, Ver_4-5, Ver_4-4, Ver_4-3, Ver_4-2, Ver_4-1, Ver_4-0, NewTree01_cp09_JSOC, NewTree01_cp08_JSOC, NewTree01_cp07_JSOC, NewTree01_cp06_JSOC, NewTree01_cp05_JSOC, HEAD
Move JSOC/src/base to JSOC/base and JSOC/src/proj to JSOC/proj.  86 JSOC/src.

#ifndef __DWT_COMPRESS_H
#define __DWT_COMPRESS_H

/*************** Constants *******************/
#define DWT_HAAR 0
#define DWT_CD22 1
#define DWT_CD12 2




/*************** Prototypes *******************/
int dwt_compress(int transform, int quant, int levels, int width, int height, 
		 short *data, int *lengths, unsigned char *zdata);
int dwt_decompress(int transform, int quant, int levels, int width, int height,
		   int *lengths, unsigned char *zdata, short *data);
void dwt_down(int transform, int quant, int width, int height, 
	      short *input,  short *output);
void dwt_up(int transform, int quant, int width, int height, 
	    short *input,  short *output);

int dwt_rec(int transform, int quant, int levels, int width, int height, 
	    short *tmp, short *data, int *lengths, unsigned char *zdata);
int dwtinv_rec(int transform, int quant, int levels, int width, int height, 
	       short *tmp, int *lengths, unsigned char *zdata, 
	       short *data);



#endif

Karen Tian
Powered by
ViewCVS 0.9.4