Home
last modified time | relevance | path

Searched refs:iSadSum (Results 1 – 3 of 3) sorted by relevance

/third_party/openh264/codec/common/src/
Dsad_common.cpp45 int32_t iSadSum = 0; in WelsSampleSad4x4_c() local
50 iSadSum += WELS_ABS ((pSrc1[0] - pSrc2[0])); in WelsSampleSad4x4_c()
51 iSadSum += WELS_ABS ((pSrc1[1] - pSrc2[1])); in WelsSampleSad4x4_c()
52 iSadSum += WELS_ABS ((pSrc1[2] - pSrc2[2])); in WelsSampleSad4x4_c()
53 iSadSum += WELS_ABS ((pSrc1[3] - pSrc2[3])); in WelsSampleSad4x4_c()
59 return iSadSum; in WelsSampleSad4x4_c()
63 int32_t iSadSum = 0; in WelsSampleSad8x4_c() local
64 iSadSum += WelsSampleSad4x4_c (pSample1, iStride1, pSample2, iStride2); in WelsSampleSad8x4_c()
65 iSadSum += WelsSampleSad4x4_c (pSample1 + 4, iStride1, pSample2 + 4, iStride2); in WelsSampleSad8x4_c()
66 return iSadSum; in WelsSampleSad8x4_c()
[all …]
/third_party/openh264/codec/common/mips/
Dsatd_sad_mmi.c517 int32_t iSadSum = 0; in WelsSampleSad16x16_mmi() local
541 : [pSample1]"+&r"((unsigned char *)pSample1), [iSadSum]"=r"((int)iSadSum), in WelsSampleSad16x16_mmi()
548 return iSadSum; in WelsSampleSad16x16_mmi()
553 int32_t iSadSum = 0; in WelsSampleSad16x8_mmi() local
586 : [pSample1]"+&r"((unsigned char *)pSample1), [iSadSum]"=r"((int)iSadSum), in WelsSampleSad16x8_mmi()
593 return iSadSum; in WelsSampleSad16x8_mmi()
598 int32_t iSadSum = 0; in WelsSampleSad8x16_mmi() local
610 : [pSample1]"+&r"((unsigned char *)pSample1), [iSadSum]"=r"((int)iSadSum), in WelsSampleSad8x16_mmi()
617 return iSadSum; in WelsSampleSad8x16_mmi()
622 int32_t iSadSum = 0; in WelsSampleSad4x4_mmi() local
[all …]
/third_party/openh264/codec/common/loongarch/
Dsatd_sad_lasx.c334 int32_t iSadSum = 0; in WelsSampleSad8x16_lasx() local
336 iSadSum += WelsSampleSad8x8_lasx (pSample1, iStride1, in WelsSampleSad8x16_lasx()
338 iSadSum += WelsSampleSad8x8_lasx (pSample1 + (iStride1 << 3), iStride1, in WelsSampleSad8x16_lasx()
340 return iSadSum; in WelsSampleSad8x16_lasx()
345 int32_t iSadSum = 0; in WelsSampleSad16x16_lasx() local
347 iSadSum += WelsSampleSad8x8x2_lasx (pSample1, iStride1, in WelsSampleSad16x16_lasx()
349 iSadSum += WelsSampleSad8x8x2_lasx (pSample1 + (iStride1 << 3), iStride1, in WelsSampleSad16x16_lasx()
351 return iSadSum; in WelsSampleSad16x16_lasx()