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>2024-01-28 02:01:57 +0100
commitc80eca531e01860e6714f526b2efb07a58c2e26e (patch)
tree8b2ca4b071b6def5f2e9e85809b6bc25caa81586 /src/lib/encoder.h
parent3299d48531d631264dacd01faf1fa3c069b28e62 (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;