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).
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include "codec_def.h"
|
||||
#include "macros.h"
|
||||
#include "mc.h"
|
||||
#include "cpu.h"
|
||||
using namespace WelsDec;
|
||||
using namespace WelsCommon;
|
||||
|
||||
#include "mc_test_common.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user