mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Define headers
This commit is contained in:
parent
48b996d195
commit
e7922432d9
|
@ -30,10 +30,11 @@
|
||||||
* INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "strategies/strategies-depquant.h"
|
#include "strategies-depquant.h"
|
||||||
|
#if defined(__AVX512F__)
|
||||||
#include "strategies/avx2/depquant-avx2.h"
|
#include "avx2/depquant-avx2.h"
|
||||||
#include "strategies/generic/depquant-generic.h"
|
#endif
|
||||||
|
#include "depquant-generic.h"
|
||||||
#include "strategyselector.h"
|
#include "strategyselector.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,9 +48,10 @@ int uvg_strategy_register_depquant(void *opaque, uint8_t bitdepth)
|
||||||
bool success = true;
|
bool success = true;
|
||||||
|
|
||||||
success &= uvg_strategy_register_depquant_generic(opaque, bitdepth);
|
success &= uvg_strategy_register_depquant_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_depquant_avx2(opaque, bitdepth);
|
success &= uvg_strategy_register_depquant_avx2(opaque, bitdepth);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue