#include <it/types.h>
#include <it/wavelet.h>
#include <it/io.h>
Go to the source code of this file.
#define shift_up | ( | x, | |||
l | ) | (((x) + ~(-1 << (l))) >> (l)) |
Definition at line 59 of file wavelet.c.
Referenced by __wavelet2D_merge(), __wavelet2D_split(), __wavelet_merge(), __wavelet_pack(), __wavelet_split(), and __wavelet_unpack().
static void __wavelet_destructor | ( | it_object_t * | it_this | ) | [static] |
Definition at line 385 of file wavelet.c.
References _it_wavelet_::current, _it_wavelet_::it_overloaded(), IT_WAVELET, _it_wavelet_::length, _it_wavelet_::next, and vec_delete().
Referenced by it_instanciate().
static void __wavelet_get_output_size | ( | it_transform_t * | transform, | |
idx_t * | input_size | |||
) | [static] |
static void __wavelet_get_size | ( | it_transform_t * | transform, | |
idx_t * | length | |||
) | [static] |
Definition at line 379 of file wavelet.c.
References IT_WAVELET, and _it_wavelet_::length.
Referenced by it_instanciate().
static Vec __wavelet_itransform | ( | it_transform_t * | transform, | |
Vec | __flat | |||
) | [static] |
Definition at line 320 of file wavelet.c.
References __wavelet_merge(), __wavelet_unpack(), _it_wavelet_::current, it_transform_clear_size, it_transform_set_size, IT_WAVELET, _it_wavelet_::length, _it_wavelet_::level, _it_wavelet_::levels, _it_wavelet_::next, vec_clone(), Vec_header, and vec_length().
Referenced by it_instanciate().
static int __wavelet_merge | ( | it_wavelet_t * | wavelet | ) | [static] |
Definition at line 141 of file wavelet.c.
References _wavelet_lifting_::count, _it_wavelet_::current, IT_EINVAL, _it_wavelet_::length, _it_wavelet_::level, _it_wavelet2D_::level, _it_wavelet_::levels, _it_wavelet2D_::levels, _it_wavelet_::lifting, _it_wavelet_::next, _wavelet_lifting_::scale, scale, shift_up, and _wavelet_lifting_::step.
Referenced by __wavelet_itransform().
Definition at line 219 of file wavelet.c.
References shift_up, and vec_length().
Referenced by __wavelet_transform().
static void __wavelet_set_size | ( | it_transform_t * | transform, | |
idx_t | length | |||
) | [static] |
Definition at line 362 of file wavelet.c.
References _it_wavelet_::current, IT_WAVELET, _it_wavelet_::length, _it_wavelet_::next, vec_delete(), and vec_new().
Referenced by it_instanciate().
static int __wavelet_split | ( | it_wavelet_t * | wavelet | ) | [static] |
Definition at line 62 of file wavelet.c.
References _wavelet_lifting_::count, _it_wavelet_::current, IT_EINVAL, _it_wavelet_::length, _it_wavelet_::level, _it_wavelet2D_::level, _it_wavelet_::levels, _it_wavelet2D_::levels, _it_wavelet_::lifting, _it_wavelet_::next, _wavelet_lifting_::scale, scale, shift_up, and _wavelet_lifting_::step.
Referenced by __wavelet_transform().
static Vec __wavelet_transform | ( | it_transform_t * | transform, | |
Vec | __input | |||
) | [static] |
Definition at line 281 of file wavelet.c.
References __wavelet_pack(), __wavelet_split(), _it_wavelet_::current, it_transform_clear_size, it_transform_set_size, IT_WAVELET, _it_wavelet_::length, _it_wavelet_::level, _it_wavelet_::levels, _it_wavelet_::next, vec_copy(), Vec_header, vec_length(), and vec_new().
Referenced by it_instanciate().
Definition at line 249 of file wavelet.c.
References shift_up, and vec_length().
Referenced by __wavelet_itransform().
const it_wavelet_lifting_t __it_wavelet_lifting_53 [static] |
Initial value:
{ 2, 1.41421, __it_wavelet_lifting_53_steps }
const double __it_wavelet_lifting_53_steps[] = { -0.5, 0.25 } [static] |
const it_wavelet_lifting_t __it_wavelet_lifting_97 [static] |
Initial value:
{ 4, 1.149604398, __it_wavelet_lifting_97_steps }
const double __it_wavelet_lifting_97_steps[] [static] |
|
|