Add optimized file codec/commom/mips64/deblock_mmi.c and corresponding unit tests for loongson platform
Showing the changes to test/decoder/DecUT_DeblockCommon.cpp (1 of 11 files). Show all
Unified · Split
| @@ -540,6 +540,17 @@ TEST (DecoderDeblocking, DeblockingInit) { · 539 unmodified lines | ||
| 540 | 540 | DeblockingInit (&sDBFunc, 0x000004); |
| 541 | 541 | DB_FUNC_CPUFLAG (AArch64_neon) |
| 542 | 542 | #endif |
| 543 | + | |
| 544 | +#ifdef HAVE_MMI | |
| 545 | + // pure C | |
| 546 | + DeblockingInit (&sDBFunc, 0x00000000); | |
| 547 | + DB_FUNC_CPUFLAG (c) | |
| 548 | + | |
| 549 | + // mmi | |
| 550 | + DeblockingInit (&sDBFunc, 0x00000001); | |
| 551 | + DB_FUNC_CPUFLAG (mmi) | |
| 552 | +#endif | |
| 553 | + | |
| 543 | 554 | } |
| 544 | 555 | |
| 545 | 556 | TEST (DecoderDeblocking, WelsDeblockingFilterSlice) { |