History

refine common moudle for part of intra prediction function

ruil2 committed 12 years ago

Commit ed341041 parent ffebbdb20 files · +482 −193Browse files

Showing the changes to codec/processing/src/complexityanalysis (1 of 20 files). Show all

Unified · Split

codec/processing/src/complexityanalysis/ComplexityAnalysis.cpp+9−1
@@ -33,10 +33,10 @@ · 32 unmodified lines
3333 #include "ComplexityAnalysis.h"
3434 #include "cpu.h"
3535 #include "macros.h"
36+#include "intra_pred_common.h"
3637
3738 WELSVP_NAMESPACE_BEGIN
3839
39−
4040 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
4141
4242 CComplexityAnalysis::CComplexityAnalysis (int32_t iCpuFlag) {
@@ -280,18 +280,26 @@ CComplexityAnalysisScreen::CComplexityAnalysisScreen (int32_t iCpuFlag) { · 237 unmodified lines
280280 #ifdef X86_ASM
281281 if (iCpuFlag & WELS_CPU_SSE2) {
282282 m_pSadFunc = WelsSampleSad16x16_sse2;
283+ m_pIntraFunc[0] = WelsI16x16LumaPredV_sse2;
284+ m_pIntraFunc[1] = WelsI16x16LumaPredH_sse2;
285+
283286 }
284287 #endif
285288
286289 #if defined (HAVE_NEON)
287290 if (iCpuFlag & WELS_CPU_NEON) {
288291 m_pSadFunc = WelsSampleSad16x16_neon;
292+ m_pIntraFunc[0] = WelsI16x16LumaPredV_neon;
293+ m_pIntraFunc[1] = WelsI16x16LumaPredH_neon;
294+
289295 }
290296 #endif
291297
292298 #if defined (HAVE_NEON_AARCH64)
293299 if (iCpuFlag & WELS_CPU_NEON) {
294300 m_pSadFunc = WelsSampleSad16x16_AArch64_neon;
301+ m_pIntraFunc[0] = WelsI16x16LumaPredV_AArch64_neon;
302+ m_pIntraFunc[1] = WelsI16x16LumaPredH_AArch64_neon;
295303 }
296304 #endif
297305

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t