diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-05-18 20:15:07 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-05-20 20:31:28 +0200 |
| commit | 00cff6f5c02deabb64ccb15f15c13fcb773968fe (patch) | |
| tree | 2f3327cb8617bfb4655112710742be10f695e4f3 /src/lib/openjp2/mct.h | |
| parent | 99107d5e468beef3cf2f7db24633ba8b40732405 (diff) | |
Encoder: use floating-point operations for irreversible transformation
Diffstat (limited to 'src/lib/openjp2/mct.h')
| -rw-r--r-- | src/lib/openjp2/mct.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/openjp2/mct.h b/src/lib/openjp2/mct.h index 2e37ce73..3e1f5e49 100644 --- a/src/lib/openjp2/mct.h +++ b/src/lib/openjp2/mct.h @@ -85,8 +85,9 @@ Apply an irreversible multi-component transform to an image @param c2 Samples blue component @param n Number of samples for each component */ -void opj_mct_encode_real(OPJ_INT32* OPJ_RESTRICT c0, OPJ_INT32* OPJ_RESTRICT c1, - OPJ_INT32* OPJ_RESTRICT c2, OPJ_SIZE_T n); +void opj_mct_encode_real(OPJ_FLOAT32* OPJ_RESTRICT c0, + OPJ_FLOAT32* OPJ_RESTRICT c1, + OPJ_FLOAT32* OPJ_RESTRICT c2, OPJ_SIZE_T n); /** Apply an irreversible multi-component inverse transform to an image @param c0 Samples for luminance component |
