Skip to main content

Module transform

Module transform 

Source
Expand description

Wavelet and color transforms (DWT 5/3, 9/7, RCT, ICT).

Port of ojph_transform.h/cpp and ojph_colour.h/cpp.

Structs§

ColourTransformFns
Runtime-dispatched colour transform function table.
IrvLiftingStep
Irreversible lifting step parameters (9/7 DWT).
ParamAtk
Arbitrary Transformation Kernel parameters.
RevLiftingStep
Reversible lifting step parameters (5/3 DWT).
WaveletTransformFns
Runtime-dispatched wavelet transform function table.

Enums§

LiftingStep
A single lifting step — either reversible (integer) or irreversible (float).

Functions§

colour_fns
Returns a reference to the lazily-initialized colour function table.
init_colour_transform_functions
Initializes colour transform function pointers (called once, lazily).
init_wavelet_transform_functions
Initializes wavelet transform function pointers (called once, lazily).
wavelet_fns
Returns a reference to the lazily-initialized wavelet function table.

Type Aliases§

IctFn
ICT forward/backward (float buffers).
IrvConvertToFloatFn
Irreversible: integer → float dequantization.
IrvConvertToIntegerFn
Irreversible: float → integer quantization.
IrvHorzAnaFn
Irreversible horizontal analysis.
IrvHorzSynFn
Irreversible horizontal synthesis.
IrvVertStepFn
Irreversible vertical lifting step (same shape as reversible).
IrvVertTimesKFn
Multiply line by normalization constant K.
RctFn
RCT forward/backward (integer buffers).
RevConvertFn
Reversible sample conversion (integer shift).
RevHorzAnaFn
Reversible horizontal analysis (forward DWT, split into low/high).
RevHorzSynFn
Reversible horizontal synthesis (inverse DWT, merge low/high).
RevVertStepFn
Reversible / irreversible vertical lifting step.