]> git.sesse.net Git - nageru/commitdiff
Comment LiveInputWrapper slightly better.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 8 Apr 2017 15:50:19 +0000 (17:50 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 8 Apr 2017 15:50:19 +0000 (17:50 +0200)
theme.h

diff --git a/theme.h b/theme.h
index ee9389e0fb1f96cf289b13700f4de741007440e1..ad963d6cdb0cb8bec9f59d7ccb73b167e0f06b7e 100644 (file)
--- a/theme.h
+++ b/theme.h
@@ -81,6 +81,11 @@ private:
        friend class LiveInputWrapper;
 };
 
+// LiveInputWrapper is a facade on top of an YCbCrInput, exposed to
+// the Lua code. It contains a function (connect_signal()) intended
+// to be called during chain setup, that picks out the current frame
+// (in the form of a set of textures) from the input state given by
+// the mixer, and communicates that state over to the actual YCbCrInput.
 class LiveInputWrapper {
 public:
        LiveInputWrapper(Theme *theme, movit::EffectChain *chain, bool override_bounce, bool deinterlace);