unused
This commit is contained in:
parent
b35319960e
commit
763a16bec4
2 changed files with 1 additions and 6 deletions
|
@ -296,9 +296,6 @@ proc minifyBy2Avx2*(image: Image, power = 1): Image {.simd.} =
|
||||||
)
|
)
|
||||||
let
|
let
|
||||||
oddMask = mm256_set1_epi16(0xff00)
|
oddMask = mm256_set1_epi16(0xff00)
|
||||||
mergedMask = mm256_set_epi32(
|
|
||||||
0, uint32.high, 0, uint32.high, 0, uint32.high, 0, uint32.high
|
|
||||||
)
|
|
||||||
permuteControl = mm256_set_epi32(7, 7, 7, 7, 6, 4, 2, 0)
|
permuteControl = mm256_set_epi32(7, 7, 7, 7, 6, 4, 2, 0)
|
||||||
for y in 0 ..< resultEvenHeight:
|
for y in 0 ..< resultEvenHeight:
|
||||||
let
|
let
|
||||||
|
|
|
@ -350,9 +350,7 @@ proc minifyBy2Sse2*(image: Image, power = 1): Image {.simd.} =
|
||||||
if srcWidthIsOdd: resultEvenWidth + 1 else: resultEvenWidth,
|
if srcWidthIsOdd: resultEvenWidth + 1 else: resultEvenWidth,
|
||||||
if srcHeightIsOdd: resultEvenHeight + 1 else: resultEvenHeight
|
if srcHeightIsOdd: resultEvenHeight + 1 else: resultEvenHeight
|
||||||
)
|
)
|
||||||
let
|
let oddMask = mm_set1_epi16(0xff00)
|
||||||
oddMask = mm_set1_epi16(0xff00)
|
|
||||||
mergedMask = mm_set_epi32(0, uint32.high, 0, uint32.high)
|
|
||||||
for y in 0 ..< resultEvenHeight:
|
for y in 0 ..< resultEvenHeight:
|
||||||
let
|
let
|
||||||
topRowStart = src.dataIndex(0, y * 2)
|
topRowStart = src.dataIndex(0, y * 2)
|
||||||
|
|
Loading…
Reference in a new issue