mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge pull request #7462 from alalek:cpu_multi_target
This commit is contained in:
@@ -1649,7 +1649,7 @@ struct VResizeLanczos4
|
||||
{
|
||||
CastOp castOp;
|
||||
VecOp vecOp;
|
||||
int k, x = vecOp((const uchar**)src, (uchar*)dst, (const uchar*)beta, width);
|
||||
int x = vecOp((const uchar**)src, (uchar*)dst, (const uchar*)beta, width);
|
||||
#if CV_ENABLE_UNROLLED
|
||||
for( ; x <= width - 4; x += 4 )
|
||||
{
|
||||
@@ -1657,7 +1657,7 @@ struct VResizeLanczos4
|
||||
const WT* S = src[0];
|
||||
WT s0 = S[x]*b, s1 = S[x+1]*b, s2 = S[x+2]*b, s3 = S[x+3]*b;
|
||||
|
||||
for( k = 1; k < 8; k++ )
|
||||
for( int k = 1; k < 8; k++ )
|
||||
{
|
||||
b = beta[k]; S = src[k];
|
||||
s0 += S[x]*b; s1 += S[x+1]*b;
|
||||
|
||||
Reference in New Issue
Block a user