Changeset 4699 for trunk/MagicSoft/Cosy


Ignore:
Timestamp:
08/23/04 09:32:08 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/Changelog

    r4617 r4699  
    11                                                                  -*-*- END -*-*-
     2
     3 2004/08/23 - Thomas Bretz
     4
     5   * videodev/FilterLed.cc:
     6     - tried to fix a possible crash in FindStar. Maybe the edges
     7       exceeded the area of the image in memory
     8
     9
    210
    311 2004/08/16 - Thomas Bretz
  • 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.