File: tkmpeg.h

package info (click to toggle)
tkmpeg 1.0.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 708 kB
  • sloc: ansic: 820; sh: 385; cpp: 182; makefile: 11
file content (33 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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