Additional speedup for lcp vignette correction
This commit is contained in:
@@ -42,10 +42,6 @@ public:
|
||||
float x0, y0, fx, fy; // prepared params
|
||||
float rfx, rfy;
|
||||
float vignParam[4];
|
||||
#if defined( __SSE2__ ) && defined( __x86_64__ )
|
||||
vfloat vignParamv[4] ALIGNED16;
|
||||
vfloat x0v, y0v, rfxv, rfyv;
|
||||
#endif
|
||||
LCPModelCommon();
|
||||
bool empty() const; // is it empty
|
||||
void print() const; // printf all values
|
||||
@@ -137,9 +133,8 @@ public:
|
||||
void correctDistortion(double& x, double& y) const; // MUST be the first stage
|
||||
void correctCA(double& x, double& y, int channel) const;
|
||||
float calcVignetteFac (int x, int y) const; // MUST be in RAW
|
||||
#if defined( __SSE2__ ) && defined( __x86_64__ )
|
||||
vfloat calcVignetteFac(vfloat x, vfloat y) const;
|
||||
#endif
|
||||
void processVignetteLine(int width, int y, float *line) const;
|
||||
void processVignetteLine3Channels(int width, int y, float *line) const;
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user