History

Move the MC routines to the common library

Use the decoder versions of the functions (which are capable of handling widths 4/8/16 for luma, not only 16 as in the encoder). By using the more generic versions, there may be a small performance loss since the functions need to check the width in every call. Actual measurements show that the actual change is very small (and the shared routines turn out to actually be faster than the existing ones in ARM NEON setups).

Martin Storsjö committed 11 years ago

Commit 9a066361 parent 1a7d0ab18 files · +176 −1082Browse files

Showing the changes to codec/encoder/core/src/encoder.cpp (1 of 18 files). Show all

Unified · Split

codec/encoder/core/src/encoder.cpp+1−1
@@ -209,7 +209,7 @@ int32_t InitFunctionPointers (sWelsEncCtx* pEncCtx, SWelsSvcCodingParam* pParam, · 208 unmodified lines
209209 /* Motion compensation */
210210 /*init pixel average function*/
211211 /*get one column or row pixel when refinement*/
212− WelsInitMcFuncs (&pFuncList->sMcFuncs, uiCpuFlag);
212+ InitMcFunc (&pFuncList->sMcFuncs, uiCpuFlag);
213213 InitCoeffFunc (pFuncList,uiCpuFlag,pParam->iEntropyCodingModeFlag);
214214
215215 WelsInitEncodingFuncs (pFuncList, uiCpuFlag);

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