su 的源代码库

源代码在线查看: wbuffalloc.comp.dwpt.1d.lib

软件大小: 13691 K
上传用户: goocool
关键词: su 源代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				WBUFFALLOC -  routines to allocate/initialize and free buffers in wavelet						packet compresson codes								buffAlloc1 - allocate a 1D  buffer of size n and initialize				buffRealloc1 - reallocate a 1D buffer of size to n and set the position 						to end of buffer if n is less than buff->pos 				buffFree1 - free a 1D buffer				buffAlloc2 - allocate an array[n1] of buffers each with size n2 and initialize				buffFree2 - free a 2d buffer								Function Prototypes:				void *buffAlloc1(int n);				void buffRealloc1(void *inbuff, int n);				void buffFree1(void *inbuff);				void **buffAlloc2(int n1, int n2);				void buffFree2(void **inbuff, int n1)								buffAlloc1:				Input:				n		size of buffer				Returns:				(void *)buff								buffRealloc1:				inbuff		input buffer				n		size of input buffer								buffFree1:				Input:				inbuff		buffer to be freed								buffAlloc2:				Input:				n1		buffer size in fast dimension				n2		buffer size in slow dimension								Author:  CWP: Tong Chen, 1995							

相关资源