Add globals required by intra avx2 code. Remove unnecessary stuff from intra avx2.

This commit is contained in:
siivonek 2023-08-31 13:20:17 +03:00 committed by Joose Sainio
parent e5e32d67f4
commit c91b76a668

View file

@ -34,10 +34,16 @@
#if COMPILE_INTEL_AVX2 && defined X86_64 #if COMPILE_INTEL_AVX2 && defined X86_64
#include "uvg266.h" #include "uvg266.h"
#include "cu.h"
#include "tables.h"
#if UVG_BIT_DEPTH == 8 #if UVG_BIT_DEPTH == 8
#include <immintrin.h> #include <immintrin.h>
#include <stdlib.h> #include <stdlib.h>
#include <assert.h>
#include <string.h>
#include "intra-avx2.h"
#include "strategyselector.h" #include "strategyselector.h"
#include "strategies/missing-intel-intrinsics.h" #include "strategies/missing-intel-intrinsics.h"
@ -1067,8 +1073,10 @@ static void uvg_pdpc_planar_dc_avx2(
} }
#endif // UVG_BIT_DEPTH == 8 #endif // UVG_BIT_DEPTH == 8
#endif // COMPILE_INTEL_AVX2 && defined X86_64 #endif // COMPILE_INTEL_AVX2 && defined X86_64
int uvg_strategy_register_intra_avx2(void* opaque, uint8_t bitdepth) int uvg_strategy_register_intra_avx2(void* opaque, uint8_t bitdepth)
{ {
bool success = true; bool success = true;