| 612 | } |
| 613 | |
| 614 | void WelsInitIntraPredFuncs (SWelsFuncPtrList* pFuncList, const uint32_t kuiCpuFlag) { |
| 615 | pFuncList->pfGetLumaI16x16Pred[I16_PRED_V] = WelsI16x16LumaPredV_c; |
| 616 | pFuncList->pfGetLumaI16x16Pred[I16_PRED_H] = WelsI16x16LumaPredH_c; |
| 617 | pFuncList->pfGetLumaI16x16Pred[I16_PRED_DC] = WelsI16x16LumaPredDc_c; |
| 618 | pFuncList->pfGetLumaI16x16Pred[I16_PRED_P] = WelsI16x16LumaPredPlane_c; |
| 619 | pFuncList->pfGetLumaI16x16Pred[I16_PRED_DC_L] = WelsI16x16LumaPredDcLeft_c; |
| 620 | pFuncList->pfGetLumaI16x16Pred[I16_PRED_DC_T] = WelsI16x16LumaPredDcTop_c; |
| 621 | pFuncList->pfGetLumaI16x16Pred[I16_PRED_DC_128] = WelsI16x16LumaPredDcNA_c; |
| 622 | |
| 623 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_V] = WelsI4x4LumaPredV_c; |
| 624 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_H] = WelsI4x4LumaPredH_c; |
| 625 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_DC] = WelsI4x4LumaPredDc_c; |
| 626 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_DC_L] = WelsI4x4LumaPredDcLeft_c; |
| 627 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_DC_T] = WelsI4x4LumaPredDcTop_c; |
| 628 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_DC_128] = WelsI4x4LumaPredDcNA_c; |
| 629 | |
| 630 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_DDL] = WelsI4x4LumaPredDDL_c; |
| 631 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_DDL_TOP] = WelsI4x4LumaPredDDLTop_c; |
| 632 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_DDR] = WelsI4x4LumaPredDDR_c; |
| 633 | |
| 634 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_VL] = WelsI4x4LumaPredVL_c; |
| 635 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_VL_TOP] = WelsI4x4LumaPredVLTop_c; |
| 636 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_VR] = WelsI4x4LumaPredVR_c; |
| 637 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_HU] = WelsI4x4LumaPredHU_c; |
| 638 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_HD] = WelsI4x4LumaPredHD_c; |
| 639 | |
| 640 | pFuncList->pfGetChromaPred[C_PRED_DC] = WelsIChromaPredDc_c; |
| 641 | pFuncList->pfGetChromaPred[C_PRED_H] = WelsIChromaPredH_c; |
| 642 | pFuncList->pfGetChromaPred[C_PRED_V] = WelsIChromaPredV_c; |
| 643 | pFuncList->pfGetChromaPred[C_PRED_P] = WelsIChromaPredPlane_c; |
| 644 | pFuncList->pfGetChromaPred[C_PRED_DC_L] = WelsIChromaPredDcLeft_c; |
| 645 | pFuncList->pfGetChromaPred[C_PRED_DC_T] = WelsIChromaPredDcTop_c; |
| 646 | pFuncList->pfGetChromaPred[C_PRED_DC_128] = WelsIChromaPredDcNA_c; |
| 647 | #ifdef HAVE_NEON |
| 648 | if (kuiCpuFlag & WELS_CPU_NEON) { |
| 649 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_DDR] = WelsI4x4LumaPredDDR_neon; |
| 650 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_HD] = WelsI4x4LumaPredHD_neon; |
| 651 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_HU] = WelsI4x4LumaPredHU_neon; |
| 652 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_VR] = WelsI4x4LumaPredVR_neon; |
| 653 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_DDL] = WelsI4x4LumaPredDDL_neon; |
| 654 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_VL] = WelsI4x4LumaPredVL_neon; |
| 655 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_H] = WelsI4x4LumaPredH_neon; |
| 656 | pFuncList->pfGetLumaI4x4Pred[I4_PRED_V] = WelsI4x4LumaPredV_neon; |
| 657 | |
| 658 | pFuncList->pfGetLumaI16x16Pred[I16_PRED_V] = WelsI16x16LumaPredV_neon; |
| 659 | pFuncList->pfGetLumaI16x16Pred[I16_PRED_H] = WelsI16x16LumaPredH_neon; |
| 660 | pFuncList->pfGetLumaI16x16Pred[I16_PRED_DC] = WelsI16x16LumaPredDc_neon; |
| 661 | pFuncList->pfGetLumaI16x16Pred[I16_PRED_P] = WelsI16x16LumaPredPlane_neon; |
| 662 | |
| 663 | pFuncList->pfGetChromaPred[C_PRED_DC] = WelsIChromaPredDc_neon; |
| 664 | pFuncList->pfGetChromaPred[C_PRED_V] = WelsIChromaPredV_neon; |
| 665 | pFuncList->pfGetChromaPred[C_PRED_P] = WelsIChromaPredPlane_neon; |
| 666 | pFuncList->pfGetChromaPred[C_PRED_H] = WelsIChromaPredH_neon; |
| 667 | } |
| 668 | #endif |
| 669 | |
| 670 | #if defined(HAVE_NEON_AARCH64) |
| 671 | if (kuiCpuFlag & WELS_CPU_NEON) { |
no outgoing calls
no test coverage detected