diff options
author | enselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2008-09-14 07:01:35 +0000 |
---|---|---|
committer | enselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2008-09-14 07:01:35 +0000 |
commit | c2da14838a03eb8450d06c0d0b95d38c9acb4964 (patch) | |
tree | 184ade625c089371f26f2f4717e50a2104686837 /recordmydesktop/src/block_utils.c | |
parent | 2cf3c4864635a5761c5a9f45857abeb9ac363dcd (diff) |
src/recordmydesktop.h: Move away the [yuv]blocks globals.
src/yuv_utils.h: Move out the DBUF- and the MARK_BACK_BUFFER_C() macros.
src/block_utils.[ch]: New files hosting the [yuv]blocks globals and DBUF-macros.
src/get_frame.c: Put MARK_BACK_BUFFER_C() locally here.
src/Makefile.am
src/rmd_rescue.c
src/cache_frame.c
src/initialize_data.c: Adapt to changes.
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@540 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/block_utils.c')
-rw-r--r-- | recordmydesktop/src/block_utils.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recordmydesktop/src/block_utils.c b/recordmydesktop/src/block_utils.c new file mode 100644 index 0000000..7cc29e5 --- /dev/null +++ b/recordmydesktop/src/block_utils.c @@ -0,0 +1,35 @@ +/****************************************************************************** +* 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 * +******************************************************************************/ + +#include "block_utils.h" + + +// FIXME: These globals are modified in other source files! We keep +// thsee here for now. These are the cache blocks. They need to be +// accesible in the dbuf macros +u_int32_t *yblocks, + *ublocks, + *vblocks; |