From 1ad598d6d1b539d1f0158491c104129190594f7d Mon Sep 17 00:00:00 2001 From: iovar Date: Sun, 8 Jul 2007 15:17:45 +0000 Subject: 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 --- recordmydesktop/include/rmdfunc.h | 15 ++++++++++++--- 1 file 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 -- cgit v1.2.1