summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd_update_image.c
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2009-01-10 20:00:06 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2009-01-10 20:00:06 +0000
commitd98ab1feca39233ea47753dff292f98b717f17f2 (patch)
treeb1319baca584ee440e72a013d41e3179d82f9efa /recordmydesktop/src/rmd_update_image.c
parent61ce53bb92bed72bcf946f425311ef1f55e8064c (diff)
src/*.c: Namescape all functions for consistency and general codebase
sanity (previously only a few rmd functions were namespaced). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@590 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/rmd_update_image.c')
-rw-r--r--recordmydesktop/src/rmd_update_image.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/recordmydesktop/src/rmd_update_image.c b/recordmydesktop/src/rmd_update_image.c
index 502b859..d2bfc39 100644
--- a/recordmydesktop/src/rmd_update_image.c
+++ b/recordmydesktop/src/rmd_update_image.c
@@ -36,17 +36,17 @@
#include <X11/extensions/XShm.h>
-void UpdateImage(Display * dpy,
- yuv_buffer *yuv,
- DisplaySpecs *specs,
- RectArea **root,
- BRWindow *brwin,
- EncData *enc,
- char *datatemp,
- int noshmem,
- XShmSegmentInfo *shminfo,
- int shm_opcode,
- int no_quick_subsample){
+void rmdUpdateImage(Display * dpy,
+ yuv_buffer *yuv,
+ DisplaySpecs *specs,
+ RectArea **root,
+ BRWindow *brwin,
+ EncData *enc,
+ char *datatemp,
+ int noshmem,
+ XShmSegmentInfo *shminfo,
+ int shm_opcode,
+ int no_quick_subsample){
RectArea *temp;
unsigned char *dtap=(unsigned char*)datatemp;
temp=*root;
@@ -54,24 +54,24 @@ void UpdateImage(Display * dpy,
if(temp!=NULL){
do{
if(noshmem){
- GetZPixmap( dpy,
- specs->root,
- datatemp,
- temp->rect.x,
- temp->rect.y,
- temp->rect.width,
- temp->rect.height);
- }
- else{
- GetZPixmapSHM(dpy,
+ rmdGetZPixmap(dpy,
specs->root,
- shminfo,
- shm_opcode,
- datatemp,temp->rect.x,
+ datatemp,
+ temp->rect.x,
temp->rect.y,
temp->rect.width,
temp->rect.height);
}
+ else{
+ rmdGetZPixmapSHM(dpy,
+ specs->root,
+ shminfo,
+ shm_opcode,
+ datatemp,temp->rect.x,
+ temp->rect.y,
+ temp->rect.width,
+ temp->rect.height);
+ }
UPDATE_YUV_BUFFER(yuv,dtap,NULL,
(temp->rect.x-brwin->rrect.x+enc->x_offset),
(temp->rect.y-brwin->rrect.y+enc->y_offset),
© All Rights Reserved