1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

gapi(simd): initialize accumulator values

original commit: 99502e99cc
This commit is contained in:
Alexander Alekhin
2020-03-26 16:27:23 +00:00
committed by Alexander Alekhin
parent 1b5c2bb363
commit 4d34934d25
2 changed files with 3 additions and 3 deletions
@@ -1831,7 +1831,7 @@ static void run_sepfilter5x5_char2short(short out[], const uchar *in[], int widt
for (; l <= length - nlanes; l += nlanes)
{
v_uint16 t[kxLen];
v_int16 sum;
v_int16 sum = vx_setzero_s16();
for (int i = 0; i < kxLen; ++i)
{
@@ -1862,7 +1862,7 @@ static void run_sepfilter5x5_char2short(short out[], const uchar *in[], int widt
for (; l <= length - nlanes; l += nlanes)
{
v_int16 s[buffSize];
v_int16 sum;
v_int16 sum = vx_setzero_s16();
for (int i = 0; i < kyLen; ++i)
{