summaryrefslogtreecommitdiffstats
path: root/tkmpeg.h
diff options
context:
space:
mode:
Diffstat (limited to 'tkmpeg.h')
-rw-r--r--tkmpeg.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/tkmpeg.h b/tkmpeg.h
new file mode 100644
index 0000000..c84b400
--- /dev/null
+++ b/tkmpeg.h
@@ -0,0 +1,33 @@
+// Copyright (C) 1999-2015
+// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
+// For conditions of distribution and use, see copyright notice in "copyright"
+
+#ifndef __tkmpeg_h__
+#define __tkmpeg_h__
+
+extern "C" {
+#include "ezmpeg.h"
+}
+
+class TkMPEG {
+ private:
+ Tcl_Interp* interp;
+ ezMPEGStream ms;
+ int width;
+ int height;
+ int fps;
+ int gop;
+ int quality;
+
+ public:
+ TkMPEG(Tcl_Interp*);
+ ~TkMPEG();
+
+ int create(int, const char*[]);
+ int add(int, const char*[]);
+ int close(int, const char*[]);
+};
+
+extern TkMPEG* tkmpeg;
+
+#endif