summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/recordmydesktop.h
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-13 21:35:43 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-13 21:35:43 +0000
commit2cf3c4864635a5761c5a9f45857abeb9ac363dcd (patch)
tree62a436d611485195a5f2c554e0741d45972879c5 /recordmydesktop/src/recordmydesktop.h
parent700ec4aebc1ea833b2f7b50bff3aba119913b355 (diff)
include/rmdmacro.h
include/rmdtypes.h include/skeleton.h include/recordmydesktop.h: Moved from here src/rmdmacro.h src/rmdtypes.h src/skeleton.h src/recordmydesktop.h: to here. include include/Makefile.am: Removed, no need for a separate include dir. Makefile.am configure.ac src/Makefile.am: Adjusted accordingly. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@539 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/recordmydesktop.h')
-rw-r--r--recordmydesktop/src/recordmydesktop.h65
1 files changed, 65 insertions, 0 deletions
diff --git a/recordmydesktop/src/recordmydesktop.h b/recordmydesktop/src/recordmydesktop.h
new file mode 100644
index 0000000..3ee6e83
--- /dev/null
+++ b/recordmydesktop/src/recordmydesktop.h
@@ -0,0 +1,65 @@
+/******************************************************************************
+* recordMyDesktop *
+*******************************************************************************
+* *
+* Copyright (C) 2006,2007,2008 John Varouhakis *
+* *
+* *
+* This program is free software; you can redistribute it and/or modify *
+* it under the terms of the GNU General Public License as published by *
+* the Free Software Foundation; either version 2 of the License, or *
+* (at your option) any later version. *
+* *
+* This program is distributed in the hope that it will be useful, *
+* but WITHOUT ANY WARRANTY; without even the implied warranty of *
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+* GNU General Public License for more details. *
+* *
+* You should have received a copy of the GNU General Public License *
+* along with this program; if not, write to the Free Software *
+* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
+* *
+* *
+* *
+* For further information contact me at johnvarouhakis@gmail.com *
+******************************************************************************/
+
+
+#ifndef RECORDMYDESKTOP_H
+#define RECORDMYDESKTOP_H 1
+
+#ifdef HAVE_CONFIG_H
+ #include "config.h"
+#endif
+
+//header inclusion is completely fucked up
+//I'll fix it, I promise
+#include "rmdtypes.h"
+
+//These are the cache blocks. They need to be accesible in the
+//dbuf macros
+u_int32_t *yblocks,
+ *ublocks,
+ *vblocks;
+
+#include "rmdmacro.h"
+
+
+
+/**Globals*/
+//I've read somewhere that I'll go to hell for using globals...
+
+//the following values are of no effect
+//but they might be usefull later for profiling
+unsigned int frames_total, //frames calculated by total time expirations
+ frames_lost; //the value of shame
+
+
+
+//used to determine frame drop which can
+//happen on failure to receive a signal over a condition variable
+int capture_busy,
+ encoder_busy;
+
+#endif
+
© All Rights Reserved