T1 encoder: speed-up by aggressive inlining and more cache friendly data organization 1253/head
authorEven Rouault <even.rouault@spatialys.com>
Sun, 24 May 2020 13:38:21 +0000 (15:38 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Sun, 24 May 2020 13:38:48 +0000 (15:38 +0200)
commit1c5627ee7406f84cfb40809b7ac31c63342427df
treeaf950f3432f4983fc45316d35240d3bc0e5fe5bb
parent1e931fdb3655c64ab60ea5657f79309331a86485
T1 encoder: speed-up by aggressive inlining and more cache friendly data organization

~ 9% speed improvement seen on 10980x10980 uint16 image, T36JTT_20160914T074612_B02.tif
opj_compress time from 17.2s to 15.8s
src/lib/openjp2/mqc.c
src/lib/openjp2/mqc.h
src/lib/openjp2/mqc_inl.h
src/lib/openjp2/t1.c
src/lib/openjp2/t1.h