[PD-cvs] externals/pdp/system/image pdp_imageproc_portable.c, 1.3, 1.4
Tom Schouten
doelie at users.sourceforge.net
Fri Sep 1 15:45:33 CEST 2006
Update of /cvsroot/pure-data/externals/pdp/system/image
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2628/system/image
Modified Files:
pdp_imageproc_portable.c
Log Message:
pdp current darcs merge
Index: pdp_imageproc_portable.c
===================================================================
RCS file: /cvsroot/pure-data/externals/pdp/system/image/pdp_imageproc_portable.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pdp_imageproc_portable.c 16 Dec 2005 01:05:39 -0000 1.3
--- pdp_imageproc_portable.c 1 Sep 2006 13:45:31 -0000 1.4
***************
*** 495,499 ****
void pdp_imageproc_random_process(void *x, u32 width, u32 height, short int *image)
{
! s32 *d = (u32 *)x;
u32 i;
s32 r;
--- 495,499 ----
void pdp_imageproc_random_process(void *x, u32 width, u32 height, short int *image)
{
! u32 *d = (u32 *)x;
u32 i;
s32 r;
***************
*** 587,592 ****
/* affine x, y mappings in screen coordinates */
! double mapx(double x, double y){return cx + izx * ( c * (x-cx) + s * (y-cy));}
! double mapy(double x, double y){return cy + izy * (-s * (x-cx) + c * (y-cy));}
u32 colstate_x = (u32)(scalew * mapx(0,0));
--- 587,592 ----
/* affine x, y mappings in screen coordinates */
! double mapx(double _x, double _y){return cx + izx * ( c * (_x-cx) + s * (_y-cy));}
! double mapy(double _x, double _y){return cy + izy * (-s * (_x-cx) + c * (_y-cy));}
u32 colstate_x = (u32)(scalew * mapx(0,0));
More information about the Pd-cvs
mailing list