diff options
| author | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-11-13 17:35:12 +0000 |
|---|---|---|
| committer | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-11-13 17:35:12 +0000 |
| commit | dbeebe72b9d35f6ff807c21c7f217b569fa894f6 (patch) | |
| tree | d9ecfc6b2eba42119552405212cceea2a72b26a1 /libopenjpeg/dwt.h | |
| parent | 014694b04f94ff0844a91244b8242f9d09af656d (diff) | |
Patch by Dzonatas and Callum Lerwick. Fp/vectorization patch which basically converts most of the irreversible decode codepath to floating point, eliminating a few rounds of int/fp conversion, resulting in a vast performance improvement, and an increase in accuracy.
Diffstat (limited to 'libopenjpeg/dwt.h')
| -rw-r--r-- | libopenjpeg/dwt.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libopenjpeg/dwt.h b/libopenjpeg/dwt.h index 5c95c760..adf73e54 100644 --- a/libopenjpeg/dwt.h +++ b/libopenjpeg/dwt.h @@ -57,9 +57,9 @@ void dwt_encode(opj_tcd_tilecomp_t * tilec); Inverse 5-3 wavelet tranform in 2-D. Apply a reversible inverse DWT transform to a component of an image. @param tilec Tile component information (current tile) -@param stop FIXME Number of decoded resolution levels ? +@param numres Number of resolution levels to decode */ -void dwt_decode(opj_tcd_tilecomp_t * tilec, int stop); +void dwt_decode(opj_tcd_tilecomp_t* tilec, int numres); /** Get the gain of a subband for the reversible 5-3 DWT. @param orient Number that identifies the subband (0->LL, 1->HL, 2->LH, 3->HH) @@ -83,9 +83,9 @@ void dwt_encode_real(opj_tcd_tilecomp_t * tilec); Inverse 9-7 wavelet transform in 2-D. Apply an irreversible inverse DWT transform to a component of an image. @param tilec Tile component information (current tile) -@param stop FIXME Number of decoded resolution levels ? +@param numres Number of resolution levels to decode */ -void dwt_decode_real(opj_tcd_tilecomp_t * tilec, int stop); +void dwt_decode_real(opj_tcd_tilecomp_t* tilec, int numres); /** Get the gain of a subband for the irreversible 9-7 DWT. @param orient Number that identifies the subband (0->LL, 1->HL, 2->LH, 3->HH) @@ -100,9 +100,9 @@ Get the norm of a wavelet function of a subband at a specified level for the irr */ double dwt_getnorm_real(int level, int orient); /** -FIXME : comment ??? -@param tccp -@param prec +Explicit calculation of the Quantization Stepsizes +@param tccp Tile-component coding parameters +@param prec Precint analyzed */ void dwt_calc_explicit_stepsizes(opj_tccp_t * tccp, int prec); /* ----------------------------------------------------------------------- */ |
