Threading enhancements, cleanups

This commit is contained in:
Oliver Duis
2011-07-03 20:12:31 +02:00
parent 488aba1dd2
commit ae3d85337c
20 changed files with 160 additions and 163 deletions

View File

@@ -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;