summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/mqc_inl.h
AgeCommit message (Collapse)Author
2020-05-24T1 encoder: speed-up by aggressive inlining and more cache friendly data ↵Even Rouault
organization ~ 9% speed improvement seen on 10980x10980 uint16 image, T36JTT_20160914T074612_B02.tif opj_compress time from 17.2s to 15.8s
2017-08-14Use const qualifier for mqc_statesStefan Weil
This allows more compiler optimizations. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-07-30src/lib/openjp2/*.h: use OPJ_ prefix for inclusion guards instead of ↵Even Rouault
reserved __ (#587)
2017-07-26T1 decoder: check code stream errors when predictable termination is enabled ↵Even Rouault
and emit a warning when errors are found
2017-06-02MQC/RAW decoder: use an artificial 0xFF 0xFF terminating marker.Even Rouault
This saves comparing the current pointer with the end of buffer pointer. This results at least in tiny speed improvement for raw decoding, and smaller code size for MQC as well. This kills the remains of the raw.h/.c files that were only used for decoding. Encoding using the mqc structure already.
2017-06-02Force inlining of mqc decoding and pass steps through heavy use of macros, ↵Even Rouault
so as to get better register allocation
2017-06-02T1: Transpose coder optimizations to decoder, and cleanup codeEven Rouault
2017-05-15MQC: remove disabled MQC_PERF_OPT mode, which brings no performance ↵Even Rouault
improvements (see #923)
2017-05-15Add comments about non successfull attempt of implementing alternate ↵Even Rouault
INITDEC, DECODE and BYTEIN procedures (refs #921)
2017-05-15Reformat: apply reformattin on .h files (#128)Even Rouault
2016-05-21Move some MQC functions into a header for speedKal Conley
Allow these hot functions to be inlined. This boosts decode performance by ~10%.