reorder.h File Reference

Data-reordering and table initialization. More...


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_tablewv_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().


Detailed Description

Data-reordering and table initialization.


Define Documentation

#define wv_NUM_REORDER_LEVELS   13

Maximum amount of reorder-levels we can possibly need (i.e.

for a 32768x32768 image).


Typedef Documentation

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).


Function Documentation

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.

Parameters:
[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.
Returns:
Reorder table, freed by wv_free_reorder_table().

void wv_free_reorder_table ( t_reorder_table Table  ) 

Frees a reorder-table allocated with wv_create_reorder_table().

Parameters:
[in] Table Table to be freed.


Generated on Tue Jul 10 20:44:34 2007 for wavelet by  doxygen 1.5.2