Changeset 2800


Ignore:
Timestamp:
08/29/08 02:03:41 (5 years ago)
Author:
sam
Message:
  • blur.c: fix the separate filter optimisation in the blur code by not interpolating the Gaussian kernel integral when dx = dy = angle = 0.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/filter/blur.c

    r2743 r2800  
    9898                ey = Ky * v * v; 
    9999                d += samples[k * 3 + 2] * exp(ex + ey); 
     100 
     101                /* Do not interpolate if this is a standard gaussian. */ 
     102                if(!dx && !dy && !angle) 
     103                    break; 
    100104            } 
    101105 
Note: See TracChangeset for help on using the changeset viewer.