Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Commit

Permalink
Fix clang compilation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
HolyWu committed Mar 12, 2018
1 parent 728627e commit 40cb190
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TDeintMod/TDeintMod_AVX2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ void combineMasks_avx2(const VSFrameRef * src, VSFrameRef * dst, const int plane
const T2 count = T2().load(srcpp0 + x - 1) + T2().load_a(srcpp0 + x) + T2().load(srcpp0 + x + 1) +
T2().load(srcp0 + x - 1) + T2().load(srcp0 + x + 1) +
T2().load(srcpn0 + x - 1) + T2().load_a(srcpn0 + x) + T2().load(srcpn0 + x + 1);
select(T2().load_a(srcp0 + x) == zero_256b() && T2().load_a(srcp1 + x) != zero_256b() && count >= d->cstr, peak, T2().load_a(dstp + x)).stream(dstp + x);
select(T2().load_a(srcp0 + x) == T2(zero_256b()) && T2().load_a(srcp1 + x) != T2(zero_256b()) && count >= d->cstr, peak, T2().load_a(dstp + x)).stream(dstp + x);
}

srcpp0 = srcp0;
Expand Down
2 changes: 1 addition & 1 deletion TDeintMod/TDeintMod_SSE2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ void combineMasks_sse2(const VSFrameRef * src, VSFrameRef * dst, const int plane
const T2 count = T2().load(srcpp0 + x - 1) + T2().load_a(srcpp0 + x) + T2().load(srcpp0 + x + 1) +
T2().load(srcp0 + x - 1) + T2().load(srcp0 + x + 1) +
T2().load(srcpn0 + x - 1) + T2().load_a(srcpn0 + x) + T2().load(srcpn0 + x + 1);
select(T2().load_a(srcp0 + x) == zero_128b() && T2().load_a(srcp1 + x) != zero_128b() && count >= d->cstr, peak, T2().load_a(dstp + x)).stream(dstp + x);
select(T2().load_a(srcp0 + x) == T2(zero_128b()) && T2().load_a(srcp1 + x) != T2(zero_128b()) && count >= d->cstr, peak, T2().load_a(dstp + x)).stream(dstp + x);
}

srcpp0 = srcp0;
Expand Down

0 comments on commit 40cb190

Please sign in to comment.