summaryrefslogtreecommitdiff
path: root/recordmydesktop/include/rmdfunc.h
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-07-08 15:17:45 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-07-08 15:17:45 +0000
commit1ad598d6d1b539d1f0158491c104129190594f7d (patch)
tree993063ab63b04701c560ea917dbc5eb594e69f6d /recordmydesktop/include/rmdfunc.h
parenta9d2aafd2c5e9a2c78315ec8bd8f8af6c4db726a (diff)
rmdfunc.h: added BlocksFromList func, changed args of UpdateImage
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@364 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/include/rmdfunc.h')
-rw-r--r--recordmydesktop/include/rmdfunc.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/recordmydesktop/include/rmdfunc.h b/recordmydesktop/include/rmdfunc.h
index 4c8e964..7734640 100644
--- a/recordmydesktop/include/rmdfunc.h
+++ b/recordmydesktop/include/rmdfunc.h
@@ -133,8 +133,6 @@ void RegisterCallbacks(ProgArgs *args);
*
* \param yuv yuv_buffer that is to be modified
*
-* \param yuv_mutex lock on the buffer
-*
* \param specs DisplaySpecs struct with
* information about the display to be recorded
*
@@ -154,7 +152,6 @@ void RegisterCallbacks(ProgArgs *args);
*/
void UpdateImage(Display * dpy,
yuv_buffer *yuv,
- pthread_mutex_t *yuv_mutex,
DisplaySpecs *specs,
RectArea **root,
BRWindow *brwin,
@@ -660,6 +657,18 @@ int StopJackClient(JackData *jdata);
#endif
+/**
+* Extract cache blocks from damage list
+*
+* \param root Root entry of the list with damaged areas
+*
+* \param blocknum_x Width of image in blocks
+*
+* \param blocknum_y Height of image in blocks
+*/
+void BlocksFromList(RectArea **root,
+ unsigned int blocknum_x,
+ unsigned int blocknum_y);
#endif
© All Rights Reserved