Index: source/planar_functions.cc |
diff --git a/source/planar_functions.cc b/source/planar_functions.cc |
index 459df6fe0792de0ad4b1513e2c376dc5e4fb5dd2..c73fa8ab4e585dad9c18654a386a0f96ba80cdd1 100644 |
--- a/source/planar_functions.cc |
+++ b/source/planar_functions.cc |
@@ -620,7 +620,7 @@ int BlendPlane(const uint8* src_y0, int src_stride_y0, |
#if defined(HAS_BLENDPLANEROW_AVX2) |
if (TestCpuFlag(kCpuHasAVX2)) { |
// BlendPlaneRow = BlendPlaneRow_Any_AVX2; |
- if (IS_ALIGNED(width, 16)) { |
+ if (IS_ALIGNED(width, 32)) { |
BlendPlaneRow = BlendPlaneRow_AVX2; |
} |
} |
@@ -688,7 +688,7 @@ int I420Blend(const uint8* src_y0, int src_stride_y0, |
#if defined(HAS_BLENDPLANEROW_AVX2) |
if (TestCpuFlag(kCpuHasAVX2)) { |
// BlendPlaneRow = BlendPlaneRow_Any_AVX2; |
- if (IS_ALIGNED(halfwidth, 16)) { |
+ if (IS_ALIGNED(halfwidth, 32)) { |
BlendPlaneRow = BlendPlaneRow_AVX2; |
} |
} |