mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Define headers
This commit is contained in:
parent
9c158adf08
commit
424253b526
|
@ -31,9 +31,10 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "strategies/strategies-dct.h"
|
#include "strategies/strategies-dct.h"
|
||||||
|
#if defined(__AVX512F__)
|
||||||
#include "avx2/dct-avx2.h"
|
#include "strategies/avx2/dct-avx2.h"
|
||||||
#include "generic/dct-generic.h"
|
#endif
|
||||||
|
#include "strategies/generic/dct-generic.h"
|
||||||
#include "strategyselector.h"
|
#include "strategyselector.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -76,11 +77,11 @@ int uvg_strategy_register_dct(void* opaque, uint8_t bitdepth) {
|
||||||
bool success = true;
|
bool success = true;
|
||||||
|
|
||||||
success &= uvg_strategy_register_dct_generic(opaque, bitdepth);
|
success &= uvg_strategy_register_dct_generic(opaque, bitdepth);
|
||||||
|
#if defined(__AVX512F__)
|
||||||
if (uvg_g_hardware_flags.intel_flags.avx2) {
|
if (uvg_g_hardware_flags.intel_flags.avx2) {
|
||||||
success &= uvg_strategy_register_dct_avx2(opaque, bitdepth);
|
success &= uvg_strategy_register_dct_avx2(opaque, bitdepth);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue