mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 15:27:30 +09:00
Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
This commit is contained in:
parent
bb61121b44
commit
48f6d2e034
1087 changed files with 154333 additions and 265310 deletions
15
third_party/aom/test/obmc_sad_test.cc
vendored
15
third_party/aom/test/obmc_sad_test.cc
vendored
|
|
@ -14,8 +14,9 @@
|
|||
#include "test/function_equivalence_test.h"
|
||||
#include "test/register_state_check.h"
|
||||
|
||||
#include "./aom_config.h"
|
||||
#include "./aom_dsp_rtcd.h"
|
||||
#include "config/aom_config.h"
|
||||
#include "config/aom_dsp_rtcd.h"
|
||||
|
||||
#include "aom/aom_integer.h"
|
||||
|
||||
#define MAX_SB_SQUARE (MAX_SB_SIZE * MAX_SB_SIZE)
|
||||
|
|
@ -84,13 +85,10 @@ TEST_P(ObmcSadTest, ExtremeValues) {
|
|||
}
|
||||
|
||||
#if HAVE_SSE4_1
|
||||
#if CONFIG_MOTION_VAR
|
||||
const ObmcSadTest::ParamType sse4_functions[] = {
|
||||
#if CONFIG_EXT_PARTITION
|
||||
TestFuncs(aom_obmc_sad128x128_c, aom_obmc_sad128x128_sse4_1),
|
||||
TestFuncs(aom_obmc_sad128x64_c, aom_obmc_sad128x64_sse4_1),
|
||||
TestFuncs(aom_obmc_sad64x128_c, aom_obmc_sad64x128_sse4_1),
|
||||
#endif // CONFIG_EXT_PARTITION
|
||||
TestFuncs(aom_obmc_sad64x64_c, aom_obmc_sad64x64_sse4_1),
|
||||
TestFuncs(aom_obmc_sad64x32_c, aom_obmc_sad64x32_sse4_1),
|
||||
TestFuncs(aom_obmc_sad32x64_c, aom_obmc_sad32x64_sse4_1),
|
||||
|
|
@ -108,14 +106,12 @@ const ObmcSadTest::ParamType sse4_functions[] = {
|
|||
|
||||
INSTANTIATE_TEST_CASE_P(SSE4_1, ObmcSadTest,
|
||||
::testing::ValuesIn(sse4_functions));
|
||||
#endif // CONFIG_MOTION_VAR
|
||||
#endif // HAVE_SSE4_1
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// High bit-depth
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if CONFIG_HIGHBITDEPTH
|
||||
class ObmcSadHBDTest : public FunctionEquivalenceTest<ObmcSadF> {};
|
||||
|
||||
TEST_P(ObmcSadHBDTest, RandomValues) {
|
||||
|
|
@ -169,13 +165,10 @@ TEST_P(ObmcSadHBDTest, ExtremeValues) {
|
|||
}
|
||||
|
||||
#if HAVE_SSE4_1
|
||||
#if CONFIG_MOTION_VAR
|
||||
ObmcSadHBDTest::ParamType sse4_functions_hbd[] = {
|
||||
#if CONFIG_EXT_PARTITION
|
||||
TestFuncs(aom_highbd_obmc_sad128x128_c, aom_highbd_obmc_sad128x128_sse4_1),
|
||||
TestFuncs(aom_highbd_obmc_sad128x64_c, aom_highbd_obmc_sad128x64_sse4_1),
|
||||
TestFuncs(aom_highbd_obmc_sad64x128_c, aom_highbd_obmc_sad64x128_sse4_1),
|
||||
#endif // CONFIG_EXT_PARTITION
|
||||
TestFuncs(aom_highbd_obmc_sad64x64_c, aom_highbd_obmc_sad64x64_sse4_1),
|
||||
TestFuncs(aom_highbd_obmc_sad64x32_c, aom_highbd_obmc_sad64x32_sse4_1),
|
||||
TestFuncs(aom_highbd_obmc_sad32x64_c, aom_highbd_obmc_sad32x64_sse4_1),
|
||||
|
|
@ -193,7 +186,5 @@ ObmcSadHBDTest::ParamType sse4_functions_hbd[] = {
|
|||
|
||||
INSTANTIATE_TEST_CASE_P(SSE4_1, ObmcSadHBDTest,
|
||||
::testing::ValuesIn(sse4_functions_hbd));
|
||||
#endif // CONFIG_MOTION_VAR
|
||||
#endif // HAVE_SSE4_1
|
||||
#endif // CONFIG_HIGHBITDEPTH
|
||||
} // namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue