Threading enhancements, cleanups
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
inline void cubintch (float** src, int xs, int ys, double Dx, double Dy, float *r, double mul) {
|
||||
|
||||
register double w[4];
|
||||
double w[4];
|
||||
|
||||
{
|
||||
register double t1, t2;
|
||||
@@ -31,7 +31,7 @@ inline void cubintch (float** src, int xs, int ys, double Dx, double Dy, float *
|
||||
w[0] = -t1*(Dx-1.0);
|
||||
}
|
||||
|
||||
register double rd;
|
||||
double rd;
|
||||
double yr[4];
|
||||
|
||||
for (int k=ys, kx=0; k<ys+4; k++, kx++) {
|
||||
@@ -44,7 +44,7 @@ inline void cubintch (float** src, int xs, int ys, double Dx, double Dy, float *
|
||||
|
||||
|
||||
{
|
||||
register double t1, t2;
|
||||
double t1, t2;
|
||||
t1 = -A*(Dy-1.0)*Dy;
|
||||
t2 = (3.0-2.0*Dy)*Dy*Dy;
|
||||
w[3] = t1*Dy;
|
||||
|
Reference in New Issue
Block a user