/third_party/openh264/codec/common/src/ |
D | deblocking_common.cpp | 16 bool bDetaP0Q0 = WELS_ABS (p0 - q0) < iAlpha; in DeblockLumaLt4_c() 17 bool bDetaP1P0 = WELS_ABS (p1 - p0) < iBeta; in DeblockLumaLt4_c() 18 bool bDetaQ1Q0 = WELS_ABS (q1 - q0) < iBeta; in DeblockLumaLt4_c() 21 bool bDetaP2P0 = WELS_ABS (p2 - p0) < iBeta; in DeblockLumaLt4_c() 22 bool bDetaQ2Q0 = WELS_ABS (q2 - q0) < iBeta; in DeblockLumaLt4_c() 50 iDetaP0Q0 = WELS_ABS (p0 - q0); in DeblockLumaEq4_c() 51 bDetaP1P0 = WELS_ABS (p1 - p0) < iBeta; in DeblockLumaEq4_c() 52 bDetaQ1Q0 = WELS_ABS (q1 - q0) < iBeta; in DeblockLumaEq4_c() 55 bool bDetaP2P0 = WELS_ABS (p2 - p0) < iBeta; in DeblockLumaEq4_c() 56 bool bDetaQ2Q0 = WELS_ABS (q2 - q0) < iBeta; in DeblockLumaEq4_c() [all …]
|
D | sad_common.cpp | 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() 82 iSadSum += WELS_ABS ((pSrc1[0] - pSrc2[0])); in WelsSampleSad8x8_c() 83 iSadSum += WELS_ABS ((pSrc1[1] - pSrc2[1])); in WelsSampleSad8x8_c() 84 iSadSum += WELS_ABS ((pSrc1[2] - pSrc2[2])); in WelsSampleSad8x8_c() 85 iSadSum += WELS_ABS ((pSrc1[3] - pSrc2[3])); in WelsSampleSad8x8_c() 86 iSadSum += WELS_ABS ((pSrc1[4] - pSrc2[4])); in WelsSampleSad8x8_c() 87 iSadSum += WELS_ABS ((pSrc1[5] - pSrc2[5])); in WelsSampleSad8x8_c() [all …]
|
/third_party/openh264/codec/processing/src/vaacalc/ |
D | vaacalcfuncs.cpp | 65 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadSsd_c() 85 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadSsd_c() 105 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadSsd_c() 125 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadSsd_c() 176 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadVar_c() 194 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadVar_c() 212 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadVar_c() 230 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadVar_c() 278 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSad_c() 292 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSad_c() [all …]
|
/third_party/openh264/test/processing/ |
D | ProcessUT_VaaCalc.cpp | 39 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadSsd_ref() 59 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadSsd_ref() 79 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadSsd_ref() 99 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadSsd_ref() 150 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadVar_ref() 168 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadVar_ref() 186 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadVar_ref() 204 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSadVar_ref() 251 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSad_ref() 265 int32_t diff = WELS_ABS (tmp_cur_row[l] - tmp_ref_row[l]); in VAACalcSad_ref() [all …]
|
D | ProcessUT_AdaptiveQuantization.cpp | 27 uint32_t uiDiff = WELS_ABS (pRefY[x] - pSrcY[x]); in SampleVariance16x16_ref()
|
/third_party/openh264/test/encoder/ |
D | EncUT_EncoderMb.cpp | 139 int16_t iDeta = WELS_ABS (pDct[i] - pDctCompare[i]); in TestQuant() 157 int16_t iDeta = WELS_ABS (pDct[i] - pDctCompare[i]); in TestQuant() 175 int16_t iDeta = WELS_ABS (pDct[i] - pDctCompare[i]); in TestQuant()
|
D | EncUT_MotionEstimate.cpp | 238 if ((WELS_ABS (sMe.sMv.iMvX) > m_iMvRange)) in TEST_F() 240 ASSERT_TRUE (! (WELS_ABS (sMe.sMv.iMvX) > m_iMvRange)); in TEST_F() 241 if ((WELS_ABS (sMe.sMv.iMvY) > m_iMvRange)) in TEST_F() 243 ASSERT_TRUE (! (WELS_ABS (sMe.sMv.iMvY) > m_iMvRange)); in TEST_F() 285 if ((WELS_ABS (sMe.sMv.iMvX) > m_iMvRange)) in TEST_F() 287 ASSERT_TRUE (! (WELS_ABS (sMe.sMv.iMvX) > m_iMvRange)); in TEST_F() 288 if ((WELS_ABS (sMe.sMv.iMvY) > m_iMvRange)) in TEST_F() 290 ASSERT_TRUE (! (WELS_ABS (sMe.sMv.iMvY) > m_iMvRange)); in TEST_F()
|
D | EncUT_EncoderMbAux.cpp | 591 …return ((WELS_ABS (pDct[0]) > threshold) || (WELS_ABS (pDct[1]) > threshold) || (WELS_ABS (pDct[2]… in WelsHadamardQuant2x2SkipAnchor() 592 || (WELS_ABS (pDct[3]) > threshold)); in WelsHadamardQuant2x2SkipAnchor()
|
/third_party/openh264/codec/processing/src/common/ |
D | util.h | 79 #ifndef WELS_ABS 80 #define WELS_ABS(a) ((WELS_SIGN(a) ^ (int32_t)(a)) - WELS_SIGN(a)) macro
|
/third_party/openh264/codec/encoder/core/src/ |
D | svc_set_mb_syn_cabac.cpp | 305 const int32_t iAbsMvd = WELS_ABS (sMvd); in WelsCabacMbMvdLx() 362 iAbsMvd0 = WELS_ABS (sMvdLeft.iMvX) + WELS_ABS (sMvdTop.iMvX); in WelsCabacMbMvd() 363 iAbsMvd1 = WELS_ABS (sMvdLeft.iMvY) + WELS_ABS (sMvdTop.iMvY); in WelsCabacMbMvd() 496 iPrefix = WELS_ABS (iLevel[iNonZeroIdx]) - 1; in WelsWriteBlockResidualCabac() 505 if (WELS_ABS (iLevel[iNonZeroIdx]) < 15) in WelsWriteBlockResidualCabac() 508 WelsCabacEncodeUeBypass (pCabacCtx, 0, WELS_ABS (iLevel[iNonZeroIdx]) - 15); in WelsWriteBlockResidualCabac()
|
D | encode_mb_aux.cpp | 240 …return ((WELS_ABS (pDct[0]) > iThreshold) || (WELS_ABS (pDct[1]) > iThreshold) || (WELS_ABS (pDct[… in WelsHadamardQuant2x2Skip_c() 241 || (WELS_ABS (pDct[3]) > iThreshold)); in WelsHadamardQuant2x2Skip_c()
|
D | sample.cpp | 92 …iSatdSum += (WELS_ABS (pSampleMix[0][i]) + WELS_ABS (pSampleMix[1][i]) + WELS_ABS (pSampleMix[2][i… in WelsSampleSatd4x4_c()
|
D | deblocking.cpp | 52 ( WELS_ABS( sCurMv[uiBIdx].iMvX - sNeighMv[uiBnIdx].iMvX ) >= 4 ) ||\ 53 ( WELS_ABS( sCurMv[uiBIdx].iMvY - sNeighMv[uiBnIdx].iMvY ) >= 4 )\ 58 …!!((WELS_ABS(sMotionVector[uiBIdx].iMvX - sMotionVector[uiBnIdx].iMvX) &(~3)) | (WELS_ABS(sMotionV…
|
D | set_mb_syn_cavlc.cpp | 133 if (WELS_ABS (iLevel[i]) == 1) { in WriteBlockResidualCavlc()
|
D | encoder_ext.cpp | 1525 iMvRange = WELS_MIN (WELS_ABS (iMinMv), iMaxMv); in GetMvMvdRange() 2554 WELS_ABS (pParamInternal->uiIdrPicId - 1) % MAX_PPS_COUNT); in WelsInitCurrentLayer()
|
/third_party/openh264/codec/common/inc/ |
D | macros.h | 194 #ifndef WELS_ABS 196 #define WELS_ABS(iX) ((iX)>0 ? (iX) : -(iX)) macro 198 #define WELS_ABS(iX) ((WELS_SIGN(iX) ^ (int32_t)(iX)) - WELS_SIGN(iX)) macro
|
/third_party/openh264/codec/processing/src/denoise/ |
D | denoise_filter.cpp | 60 iCurWeight = WELS_ABS (iCurSample - iCenterSample); in BilateralLumaFilter8_c()
|
/third_party/openh264/codec/decoder/core/src/ |
D | deblocking.cpp | 61 ( WELS_ABS( iMotionVector[iMbXy][iIndex][0] - iMotionVector[iMbBn][iNeighIndex][0] ) >= 4 ) ||\ 62 ( WELS_ABS( iMotionVector[iMbXy][iIndex][1] - iMotionVector[iMbBn][iNeighIndex][1] ) >= 4 )\ 67 (( WELS_ABS( iMV_A[iMbXy][iIndex][0] - iMV_B[iMbBn][iNeighIndex][0] ) >= 4 ) || \ 68 ( WELS_ABS( iMV_A[iMbXy][iIndex][1] - iMV_B[iMbBn][iNeighIndex][1] ) >= 4 ))\ 73 (( WELS_ABS( iMV_A[iMbXy][iIndex][0] - iMV_B[iMbXy][iNeighIndex][0] ) >= 4 ) || \ 74 ( WELS_ABS( iMV_A[iMbXy][iIndex][1] - iMV_B[iMbXy][iNeighIndex][1] ) >= 4 )) \ 93 ( WELS_ABS( iMotionVector[iIndex][0] - iMotionVector[iNeighIndex][0] ) &(~3) ) |\ 94 ( WELS_ABS( iMotionVector[iIndex][1] - iMotionVector[iNeighIndex][1] ) &(~3) ))\ 99 …!!(( WELS_ABS( iMotionVector[iIndex][0] - iMotionVector[iNeighIndex][0] ) &(~3) ) |( WELS_ABS( iMo…
|
D | parse_mb_syn_cabac.cpp | 1165 iIdxA = WELS_ABS (pMvdCache[iListIdx][g_kuiCache30ScanIdx[index] - 6][iMvComp]); in ParseMvdInfoCabac() 1167 iIdxA += WELS_ABS (pMvdCache[iListIdx][g_kuiCache30ScanIdx[index] - 1][iMvComp]); in ParseMvdInfoCabac()
|
D | decoder_core.cpp | 429 int32_t iTx = (16384 + (WELS_ABS (iTd) >> 1)) / iTd; in CreateImplicitWeightTable()
|
/third_party/openh264/codec/processing/src/backgrounddetection/ |
D | BackgroundDetection.cpp | 146 pBgdOU->iSD = WELS_ABS (pBgdOU->iSD); in GetOUParameters() 197 return WELS_ABS (ASD); in CalculateAsdChromaEdge()
|
/third_party/openh264/codec/processing/src/adaptivequantization/ |
D | AdaptiveQuantization.cpp | 252 uint32_t uiDiff = WELS_ABS (pRefY[x] - pSrcY[x]); in SampleVariance16x16_c()
|
/third_party/openh264/codec/encoder/plus/src/ |
D | welsEncoderExt.cpp | 654 … if (WELS_ABS (pStatistics->fLatestFrameRate - m_pEncContext->pSvcParam->fMaxFrameRate) > 30) { in UpdateStatistics() 664 … && WELS_ABS (m_pEncContext->pSvcParam->fMaxFrameRate - pStatistics->fLatestFrameRate) > 5) { in UpdateStatistics()
|