Skip to content

Commit 5b6f79b

Browse files
committed
InterpolationFilter_neon.cpp: Fix !TARGET_SIMD_X86 compilation
When TARGET_SIMD_X86 is not defined we do not include InterpolationFilterX86.h, causing us to miss the transitive include of Rom.h. This causes compilation to fail due to missing definitions of g_GeoParams and other global arrays. Fix this by just including Rom.h directly, matching what is already present in InterpolationFilterX86.h.
1 parent 2474b2b commit 5b6f79b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/Lib/CommonLib/arm/neon/InterpolationFilter_neon.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ POSSIBILITY OF SUCH DAMAGE.
5151
#include "../InterpolationFilter.h"
5252
#include "CommonDefARM.h"
5353
#include "CommonLib/CommonDef.h"
54+
#include "Rom.h"
5455
#include "reverse_neon.h"
5556
#include "sum_neon.h"
5657

0 commit comments

Comments
 (0)