ref: f897029034b2e4e67620dba487f1c73369902ba9
parent: d4145ee76cc5cf7110c25c25fc35332234610a1f
parent: 82b875c388d2f33036d2e32ed9a10643f21d9b8d
author: huili2 <huili2@cisco.com>
date: Tue May 6 10:00:32 EDT 2014
Merge pull request #791 from zhilwang/intraSad Add func init for welsfillingPred
--- a/test/encoder/EncUT_Sample.cpp
+++ b/test/encoder/EncUT_Sample.cpp
@@ -7,6 +7,7 @@
#include "cpu.h"
#include "sample.h"
#include "sad_common.h"
+#include "get_intra_predictor.h"
using namespace WelsSVCEnc;
#ifdef X86_ASM
@@ -86,6 +87,7 @@
uint8_t* pDec = (uint8_t *)cMemoryAlign.WelsMalloc(iLineSizeDec<<5,"pDec");
uint8_t* pEnc = (uint8_t *)cMemoryAlign.WelsMalloc(iLineSizeEnc<<5,"pEnc");
uint8_t* pDst = (uint8_t *)cMemoryAlign.WelsMalloc(512,"pDst");
+ WelsInitFillingPredFuncs(WELS_CPU_SSE2);
srand((uint32_t)time(NULL));
for(int i=0;i<(iLineSizeDec<<5);i++)
pDec[i]=rand()%256;