summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-07-06 23:09:08 +0200
committerCarl Hetherington <cth@carlh.net>2023-11-29 21:19:55 +0100
commit6f581b976599c893e07f4e0bd767ce661b5aad1c (patch)
treeb8ba9706f6f7a0ba224d1184ce3b0b4573783e78 /src/lib/encoder.h
parentc4fc41b5c4d45f9f4181e4af4d16b1346e956105 (diff)
Patch from Aaron Boxer adding initial support for GPU-powered J2K encoding via his tool "grok".
Diffstat (limited to 'src/lib/encoder.h')
-rw-r--r--src/lib/encoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h
index 9b67720d3..f921fcb51 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -58,6 +58,8 @@ public:
/** @return the number of frames that are done */
virtual Frame frames_done () const = 0;
virtual bool finishing () const = 0;
+ virtual void pause(void) {}
+ virtual void resume(void) {}
protected:
std::shared_ptr<const Film> _film;