Ignore:
Timestamp:
08/23/04 09:32:08 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/videodev/FilterLed.cc

    r4105 r4699  
    367367    //
    368368    // Define outer box (excluding inner box) having almost
    369     // the same nuymber of pixels in which the background
     369    // the same number of pixels in which the background
    370370    // is calculated
    371371    //
     
    391391
    392392    int n=0;
    393     for (int x=xa; x<xb+1; x++)
    394         for (int y=ya; y<yb+1; y++)
    395         {
    396             if (x>x0 && x<x1 && y>y0 && y<y1)
     393    for (int x=xa; x<xb; x++)
     394        for (int y=ya; y<yb; y++)
     395        {
     396            if (x>=x0 && x<x1 && y>=y0 && y<y1)
    397397                continue;
    398398
     
    429429    // Mark the background region
    430430    //
    431     for (int x=xa; x<xb+1; x+=2)
     431    for (int x=xa; x<xb; x+=2)
    432432    {
    433433        fImg[ya*fW+x]=0xf0;
    434434        fImg[yb*fW+x]=0xf0;
    435435    }
    436     for (int y=ya; y<yb+1; y+=2)
     436    for (int y=ya; y<yb; y+=2)
    437437    {
    438438        fImg[y*fW+xa]=0xf0;
Note: See TracChangeset for help on using the changeset viewer.