mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Fix intra_sad and satd_tests
The tests were not being run, because the names have changed.
This commit is contained in:
parent
63ab4068be
commit
09baa6bd5e
|
@ -180,15 +180,15 @@ SUITE(intra_sad_tests)
|
|||
for (unsigned i = 0; i < strategies.count; ++i) {
|
||||
const char * type = strategies.strategies[i].type;
|
||||
|
||||
if (strcmp(type, "sad_8bit_4x4") == 0) {
|
||||
if (strcmp(type, "sad_4x4") == 0) {
|
||||
test_env.log_width = 2;
|
||||
} else if (strcmp(type, "sad_8bit_8x8") == 0) {
|
||||
} else if (strcmp(type, "sad_8x8") == 0) {
|
||||
test_env.log_width = 3;
|
||||
} else if (strcmp(type, "sad_8bit_16x16") == 0) {
|
||||
} else if (strcmp(type, "sad_16x16") == 0) {
|
||||
test_env.log_width = 4;
|
||||
} else if (strcmp(type, "sad_8bit_32x32") == 0) {
|
||||
} else if (strcmp(type, "sad_32x32") == 0) {
|
||||
test_env.log_width = 5;
|
||||
} else if (strcmp(type, "sad_8bit_64x64") == 0) {
|
||||
} else if (strcmp(type, "sad_64x64") == 0) {
|
||||
test_env.log_width = 6;
|
||||
} else {
|
||||
continue;
|
||||
|
|
|
@ -170,19 +170,19 @@ SUITE(satd_tests)
|
|||
for (unsigned i = 0; i < strategies.count; ++i) {
|
||||
const char * type = strategies.strategies[i].type;
|
||||
|
||||
if (strcmp(type, "satd_8bit_4x4") == 0) {
|
||||
if (strcmp(type, "satd_4x4") == 0) {
|
||||
satd_test_env.log_width = 2;
|
||||
}
|
||||
else if (strcmp(type, "satd_8bit_8x8") == 0) {
|
||||
else if (strcmp(type, "satd_8x8") == 0) {
|
||||
satd_test_env.log_width = 3;
|
||||
}
|
||||
else if (strcmp(type, "satd_8bit_16x16") == 0) {
|
||||
else if (strcmp(type, "satd_16x16") == 0) {
|
||||
satd_test_env.log_width = 4;
|
||||
}
|
||||
else if (strcmp(type, "satd_8bit_32x32") == 0) {
|
||||
else if (strcmp(type, "satd_32x32") == 0) {
|
||||
satd_test_env.log_width = 5;
|
||||
}
|
||||
else if (strcmp(type, "satd_8bit_64x64") == 0) {
|
||||
else if (strcmp(type, "satd_64x64") == 0) {
|
||||
satd_test_env.log_width = 6;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue