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,13 +34,19 @@
#if COMPILE_INTEL_AVX2 && defined X86_64
#include "uvg266.h"
#include "cu.h"
#include "tables.h"
#if UVG_BIT_DEPTH == 8
#include <immintrin.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include "strategyselector.h"
#include "strategies/missing-intel-intrinsics.h"
#include "intra-avx2.h"
#include "strategyselector.h"
#include "strategies/missing-intel-intrinsics.h"
/**
* \brief Generate angular predictions.
@ -1066,8 +1072,10 @@ static void uvg_pdpc_planar_dc_avx2(
}
}
#endif //UVG_BIT_DEPTH == 8
#endif //COMPILE_INTEL_AVX2 && defined X86_64
#endif // UVG_BIT_DEPTH == 8
#endif // COMPILE_INTEL_AVX2 && defined X86_64
int uvg_strategy_register_intra_avx2(void* opaque, uint8_t bitdepth)
{