2018.01.15 22:02 "Re: [Tiff] Strategies for multi-core speedups", by Olivier Paquet
2018-01-15 14:17 GMT-05:00 Larry Gritz <firstname.lastname@example.org>:
But my plan was thwarted because it sure seems that the API for the codecs is inherently stateful and non-reentrant.
Has anybody tried something like this? Any advice on how to compress/decompress multiple strips or tiles simultaneously? Is there some workaround, or perhaps I just don't understand the libtiff internals enough to see the solution?
On the read side, you can use several TIFF handles (one per thread). It's not nice but it works. I don't know of any way to do it on the write side. I did look several years ago and found the same codec state issue you did.