153#define CK_POW_2(dimen) { \
155 register size_t ok; \
156 for (ok=0, j=0; j < sizeof(size_t) * 8; j++) { \
157 if ((size_t)(1<<j) == dimen) { ok = 1; break; } \
160 bu_log("%s:%d value %ld should be power of 2 (2^%ld)\n", \
161 __FILE__, __LINE__, (long)dimen, (long)j); \
162 bu_bomb("CK_POW_2"); \
175 size_t subimage_size,
187 size_t subimage_size,
198 size_t subimage_size,
208 size_t subimage_size,
219 size_t subimage_size,
229 size_t subimage_size,
242 size_t subimage_size,
254 size_t subimage_size,
266 size_t subimage_size,
278 size_t subimage_size,
290 size_t subimage_size,
302 size_t subimage_size,
317 size_t subimage_size,
331 size_t subimage_size,
345 size_t subimage_size,
359 size_t subimage_size,
373 size_t subimage_size,
387 size_t subimage_size,
Header file for the BRL-CAD common definitions.
void bn_wlt_haar_2d_float_decompose(float *tbuf, float *buf, size_t dimen, size_t depth, size_t limit)
void bn_wlt_haar_2d_double_decompose(double *tbuf, double *buf, size_t dimen, size_t depth, size_t limit)
void bn_wlt_haar_2d_double_reconstruct(double *tbuf, double *buf, size_t dimen, size_t depth, size_t subimage_size, size_t limit)
void bn_wlt_haar_2d_int_reconstruct(int *tbuf, int *buf, size_t dimen, size_t depth, size_t subimage_size, size_t limit)
void bn_wlt_haar_1d_char_reconstruct(char *tbuf, char *buf, size_t dimen, size_t depth, size_t subimage_size, size_t limit)
void bn_wlt_haar_1d_double_reconstruct(double *tbuf, double *buf, size_t dimen, size_t depth, size_t subimage_size, size_t limit)
void bn_wlt_haar_2d_int_decompose2(int *tbuf, int *buf, size_t dimen, size_t width, size_t height, size_t limit)
void bn_wlt_haar_2d_float_reconstruct2(float *tbuf, float *buf, size_t dimen, size_t width, size_t height, size_t subimage_size, size_t limit)
void bn_wlt_haar_2d_char_reconstruct(char *tbuf, char *buf, size_t dimen, size_t depth, size_t subimage_size, size_t limit)
void bn_wlt_haar_2d_long_reconstruct(long *tbuf, long *buf, size_t dimen, size_t depth, size_t subimage_size, size_t limit)
void bn_wlt_haar_2d_double_reconstruct2(double *tbuf, double *buf, size_t dimen, size_t width, size_t height, size_t subimage_size, size_t limit)
void bn_wlt_haar_1d_float_reconstruct(float *tbuf, float *buf, size_t dimen, size_t depth, size_t subimage_size, size_t limit)
void bn_wlt_haar_1d_char_decompose(char *tbuf, char *buf, size_t dimen, size_t depth, size_t limit)
void bn_wlt_haar_2d_short_decompose2(short *tbuf, short *buf, size_t dimen, size_t width, size_t height, size_t limit)
void bn_wlt_haar_2d_short_reconstruct2(short *tbuf, short *buf, size_t dimen, size_t width, size_t height, size_t subimage_size, size_t limit)
void bn_wlt_haar_1d_long_reconstruct(long *tbuf, long *buf, size_t dimen, size_t depth, size_t subimage_size, size_t limit)
void bn_wlt_haar_1d_short_reconstruct(short *tbuf, short *buf, size_t dimen, size_t depth, size_t subimage_size, size_t limit)
void bn_wlt_haar_2d_short_reconstruct(short *tbuf, short *buf, size_t dimen, size_t depth, size_t subimage_size, size_t limit)
void bn_wlt_haar_2d_long_reconstruct2(long *tbuf, long *buf, size_t dimen, size_t width, size_t height, size_t subimage_size, size_t limit)
void bn_wlt_haar_1d_int_reconstruct(int *tbuf, int *buf, size_t dimen, size_t depth, size_t subimage_size, size_t limit)
void bn_wlt_haar_2d_short_decompose(short *tbuf, short *buf, size_t dimen, size_t depth, size_t limit)
void bn_wlt_haar_2d_char_decompose(char *tbuf, char *buf, size_t dimen, size_t depth, size_t limit)
void bn_wlt_haar_2d_double_decompose2(double *tbuf, double *buf, size_t dimen, size_t width, size_t height, size_t limit)
void bn_wlt_haar_2d_float_decompose2(float *tbuf, float *buf, size_t dimen, size_t width, size_t height, size_t limit)
void bn_wlt_haar_2d_float_reconstruct(float *tbuf, float *buf, size_t dimen, size_t depth, size_t subimage_size, size_t limit)
void bn_wlt_haar_2d_char_reconstruct2(char *tbuf, char *buf, size_t dimen, size_t width, size_t height, size_t subimage_size, size_t limit)
void bn_wlt_haar_1d_short_decompose(short *tbuf, short *buf, size_t dimen, size_t depth, size_t limit)
void bn_wlt_haar_2d_long_decompose(long *tbuf, long *buf, size_t dimen, size_t depth, size_t limit)
void bn_wlt_haar_1d_long_decompose(long *tbuf, long *buf, size_t dimen, size_t depth, size_t limit)
void bn_wlt_haar_1d_double_decompose(double *tbuf, double *buf, size_t dimen, size_t depth, size_t limit)
void bn_wlt_haar_1d_int_decompose(int *tbuf, int *buf, size_t dimen, size_t depth, size_t limit)
void bn_wlt_haar_2d_long_decompose2(long *tbuf, long *buf, size_t dimen, size_t width, size_t height, size_t limit)
void bn_wlt_haar_1d_float_decompose(float *tbuf, float *buf, size_t dimen, size_t depth, size_t limit)
void bn_wlt_haar_2d_char_decompose2(char *tbuf, char *buf, size_t dimen, size_t width, size_t height, size_t limit)
void bn_wlt_haar_2d_int_reconstruct2(int *tbuf, int *buf, size_t dimen, size_t width, size_t height, size_t subimage_size, size_t limit)
void bn_wlt_haar_2d_int_decompose(int *tbuf, int *buf, size_t dimen, size_t depth, size_t limit)