diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-12-18 21:16:25 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-12-18 21:16:25 (GMT) |
commit | 27a72a9635c6941e29bf980cff1c8d8a22bf096d (patch) | |
tree | 5b67fdf940f861f087ad1190eef41978db4a4697 /tkmpeg/tkmpeg.h | |
parent | 85db3529a797b3639820709c943bce9555812063 (diff) | |
parent | 9ae49643947635c67837c7d60ebde6b03d8b856b (diff) | |
download | blt-27a72a9635c6941e29bf980cff1c8d8a22bf096d.zip blt-27a72a9635c6941e29bf980cff1c8d8a22bf096d.tar.gz blt-27a72a9635c6941e29bf980cff1c8d8a22bf096d.tar.bz2 |
Merge commit '9ae49643947635c67837c7d60ebde6b03d8b856b' as 'tkmpeg'
Diffstat (limited to 'tkmpeg/tkmpeg.h')
-rw-r--r-- | tkmpeg/tkmpeg.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tkmpeg/tkmpeg.h b/tkmpeg/tkmpeg.h new file mode 100644 index 0000000..c84b400 --- /dev/null +++ b/tkmpeg/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 |