summaryrefslogtreecommitdiff
path: root/src/lib/j2k_encoder_thread.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-29 01:39:30 +0200
committerCarl Hetherington <cth@carlh.net>2025-09-30 00:19:53 +0200
commit7482e2f584d2a9a8917171b9ed04ce4f21d2ea62 (patch)
tree547db66195303f3c8e7e2a8558bf6a92818e4f6d /src/lib/j2k_encoder_thread.h
parent24fc7b5d990044c7e9f2c95ea82ce12f024b1bfc (diff)
fixup! wip: CUDA with nvjpeg2k
Diffstat (limited to 'src/lib/j2k_encoder_thread.h')
-rw-r--r--src/lib/j2k_encoder_thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/j2k_encoder_thread.h b/src/lib/j2k_encoder_thread.h
index b03b6f356..f117c7c9b 100644
--- a/src/lib/j2k_encoder_thread.h
+++ b/src/lib/j2k_encoder_thread.h
@@ -46,6 +46,7 @@ protected:
J2KEncoder& _encoder;
private:
+ void remove_threads(int wanted, int current, std::function<bool (std::shared_ptr<J2KEncoderThread>)> predicate);
boost::thread _thread;
};