git-svn-id: svn://code.dyne.org/veejay/trunk@105 eb8d1916-c9e9-0310-b8de-cf0c9472ead5

This commit is contained in:
Niels Elburg
2005-01-01 21:21:11 +00:00
parent cbf301d255
commit c41dd53f53
23 changed files with 1051 additions and 24 deletions

View File

@@ -104,6 +104,7 @@ void lumamask_apply( VJFrame *frame, VJFrame *frame2, int width,
ny = y + dy;
if(nx < 0) nx+=width;
if(nx < 0) nx = 0; else if (nx > width) nx = width;
if(ny < 0) ny+=height;
if(ny < 0) ny = 0; else if (ny >= height) ny = height-1;
// put pixels from local copy
Y[y*width+x] = buf[0][ny * width + x];