Data Structures | |
struct | t_reorder_table |
Reorder table which stories information needed to shuffle the data from each level of the wavelet decomposition into 1D array. More... | |
Defines | |
#define | wv_NUM_REORDER_LEVELS 13 |
Maximum amount of reorder-levels we can possibly need (i.e. | |
Typedefs | |
typedef unsigned int(*) | t_reorder_function (wv_pel *dst, wv_pel *src, const unsigned int *idx, const unsigned int num, const int width2, const unsigned int coefficient_pitch, const unsigned int xlimit, const unsigned int ylimit) |
Reorder function (determines the direction). | |
Functions | |
t_reorder_table * | wv_create_reorder_table (const int Width, const int Height) |
Creates a reorder-table that is used to permute 2D wavelet coefficients into a 1D array. | |
void | wv_free_reorder_table (t_reorder_table *Table) |
Frees a reorder-table allocated with wv_create_reorder_table(). |
#define wv_NUM_REORDER_LEVELS 13 |
Maximum amount of reorder-levels we can possibly need (i.e.
for a 32768x32768 image).
typedef unsigned int(*) t_reorder_function(wv_pel *dst, wv_pel *src, const unsigned int *idx, const unsigned int num, const int width2, const unsigned int coefficient_pitch, const unsigned int xlimit, const unsigned int ylimit) |
Reorder function (determines the direction).
t_reorder_table* wv_create_reorder_table | ( | const int | MaxImageWidth, | |
const int | MaxImageHeight | |||
) |
Creates a reorder-table that is used to permute 2D wavelet coefficients into a 1D array.
This reordering is based on the Hilbert space-filling curve. Tables can be reused between images as long as it has been created for the largest dimension. Only the smallest given dimension is actually relevant. See Reordering Process for more information.
[in] | MaxImageWidth | Largest width of an image to be processed with by table. |
[in] | MaxImageHeight | Largest height of an image to be processed with by table. |
void wv_free_reorder_table | ( | t_reorder_table * | Table | ) |
Frees a reorder-table allocated with wv_create_reorder_table().
[in] | Table | Table to be freed. |