ref: 587a8b20f472f77ba0ac6e51c022455f2dcbb7d5
parent: e388bfc3712e05bdb591e679a1dae3bcbf2ea61f
parent: fa137a93e94f9259768f3521977765acbfd2b0db
author: ruil2 <[email protected]>
date: Wed Jun 11 06:43:45 EDT 2014
Merge pull request #951 from dongzha/AddArm64UnitTestEP Ignore a special case for expand chroma picture under X86_ASM to fix issue #947
--- a/test/decoder/DecUT_ExpandPicture.cpp
+++ b/test/decoder/DecUT_ExpandPicture.cpp
@@ -156,6 +156,10 @@
for (int32_t iTestIdx = 0; iTestIdx < EXPAND_PIC_TEST_NUM; iTestIdx++) {
int32_t iPicWidth = (8 + (rand() % 200) * 8);
+ if(uiCpuFlag && WELS_CPU_SSE2)
+ {
+ iPicWidth = WELS_MAX(iPicWidth, 16);
+ }
int32_t iPicHeight = (8 + (rand() % 100) * 8);
int32_t iStride = (iPicWidth + H264_PADDING_LENGTH_CHROMA * 2 + 8) >> 4 << 4;