Home
last modified time | relevance | path

Searched refs:pRef (Results 1 – 25 of 45) sorted by relevance

12

/third_party/openh264/codec/encoder/core/inc/
Dget_intra_predictor.h48 void WelsI4x4LumaPredV_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
49 void WelsI4x4LumaPredH_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
50 void WelsI4x4LumaPredDc_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
51 void WelsI4x4LumaPredDcLeft_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
52 void WelsI4x4LumaPredDcTop_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
53 void WelsI4x4LumaPredDcNA_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
55 void WelsI4x4LumaPredDDL_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
56 void WelsI4x4LumaPredDDLTop_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
57 void WelsI4x4LumaPredDDR_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
59 void WelsI4x4LumaPredVR_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
[all …]
Dsvc_motion_estimate.h243 int32_t SumOf8x8SingleBlock_c (uint8_t* pRef, const int32_t kiRefStride);
244 int32_t SumOf16x16SingleBlock_c (uint8_t* pRef, const int32_t kiRefStride);
259 int32_t SumOf8x8SingleBlock_sse2 (uint8_t* pRef, const int32_t kiRefStride);
260 int32_t SumOf16x16SingleBlock_sse2 (uint8_t* pRef, const int32_t kiRefStride);
278 int32_t SumOf8x8SingleBlock_neon (uint8_t* pRef, const int32_t kiRefStride);
279 int32_t SumOf16x16SingleBlock_neon (uint8_t* pRef, const int32_t kiRefStride);
296 int32_t SumOf8x8SingleBlock_AArch64_neon (uint8_t* pRef, const int32_t kiRefStride);
297 int32_t SumOf16x16SingleBlock_AArch64_neon (uint8_t* pRef, const int32_t kiRefStride);
319 void PerformFMEPreprocess (SWelsFuncPtrList* pFunc, SPicture* pRef, uint16_t* pFeatureOfBlock,
/third_party/openh264/test/encoder/
DEncUT_GetIntraPredictor.cpp12 uint8_t* pRef = new uint8_t[64]; in TEST() local
14 pRef[i] = rand() % 256; in TEST()
17 WelsI4x4LumaPredV_c (pPred, pRef, kkiStride); in TEST()
20 EXPECT_EQ (LD32 (&pPred[4 * i]), LD32 (&pRef[-kkiStride])); in TEST()
22 delete []pRef; in TEST()
32 uint8_t* pRef = new uint8_t[kiStride3 + 2]; in TEST() local
35 pRef[i] = rand() % 256; in TEST()
37 pRef++; in TEST()
39 const uint8_t kuiH1 = pRef[-1]; in TEST()
40 const uint8_t kuiH2 = pRef[kiStride - 1]; in TEST()
[all …]
DEncUT_SVC_me.cpp21 int32_t SumOf8x8SingleBlock_ref (uint8_t* pRef, const int32_t kiRefStride) { in SumOf8x8SingleBlock_ref() argument
24 iSum += pRef[0] + pRef[1] + pRef[2] + pRef[3]; in SumOf8x8SingleBlock_ref()
25 iSum += pRef[4] + pRef[5] + pRef[6] + pRef[7]; in SumOf8x8SingleBlock_ref()
26 pRef += kiRefStride; in SumOf8x8SingleBlock_ref()
30 int32_t SumOf16x16SingleBlock_ref (uint8_t* pRef, const int32_t kiRefStride) { in SumOf16x16SingleBlock_ref() argument
33 iSum += pRef[0] + pRef[1] + pRef[2] + pRef[3]; in SumOf16x16SingleBlock_ref()
34 iSum += pRef[4] + pRef[5] + pRef[6] + pRef[7]; in SumOf16x16SingleBlock_ref()
35 iSum += pRef[8] + pRef[9] + pRef[10] + pRef[11]; in SumOf16x16SingleBlock_ref()
36 iSum += pRef[12] + pRef[13] + pRef[14] + pRef[15]; in SumOf16x16SingleBlock_ref()
37 pRef += kiRefStride; in SumOf16x16SingleBlock_ref()
[all …]
/third_party/openh264/codec/encoder/core/src/
Dget_intra_predictor.cpp79 void WelsI4x4LumaPredV_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride) { in WelsI4x4LumaPredV_c() argument
80 const uint32_t kuiSrc = LD32 (&pRef[-kiStride]); in WelsI4x4LumaPredV_c()
87 void WelsI4x4LumaPredH_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride) { in WelsI4x4LumaPredH_c() argument
90 const uint8_t kuiHor1 = pRef[-1]; in WelsI4x4LumaPredH_c()
91 const uint8_t kuiHor2 = pRef[kiStride - 1]; in WelsI4x4LumaPredH_c()
92 const uint8_t kuiHor3 = pRef[kiStridex2Left]; in WelsI4x4LumaPredH_c()
93 const uint8_t kuiHor4 = pRef[kiStridex3Left]; in WelsI4x4LumaPredH_c()
106 void WelsI4x4LumaPredDc_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride) { in WelsI4x4LumaPredDc_c() argument
107 …const uint8_t kuiDcValue = (pRef[-1] + pRef[kiStride - 1] + pRef[ (kiStride << 1) - 1] + pRef[ (ki… in WelsI4x4LumaPredDc_c()
109pRef[-kiStride] + pRef[1 - kiStride] + pRef[2 - kiStride] + pRef[3 - kiStride] + 4) >> 3; in WelsI4x4LumaPredDc_c()
[all …]
Dsvc_motion_estimate.cpp60 …inline void UpdateMeResults (const SMVUnitXY ksBestMv, const uint32_t kiBestSadCost, uint8_t* pRef, in UpdateMeResults() argument
63 pMe->pRefMb = pRef; in UpdateMeResults()
387 uint8_t* pRef = &pMe->pColoRefMb[kiMvY * kiRefStride + kiMvX]; in CheckDirectionalMv() local
388 uint32_t uiCurrentSadCost = pSad (pMe->pEncMb, kiEncStride, pRef, kiRefStride) + in CheckDirectionalMv()
424 uint8_t* pRef = &pMe->pColoRefMb[kiMinMv * kiRefStride]; in VerticalFullSearchUsingSSE41() local
455 TransposeMatrixBlocks (&uiMatrixRef[0][0], kiMatrixStride, pRef, kiRefStride, kiBlocksNum); in VerticalFullSearchUsingSSE41()
463 pRef = &uiMatrixRef[0][0]; in VerticalFullSearchUsingSSE41()
467 uiCostMin = pSampleSadHor8 (kpEncMb, 16, pRef, kiMatrixStride, uiBaseCost, &iIndexMinPos); in VerticalFullSearchUsingSSE41()
473 pRef += 8; in VerticalFullSearchUsingSSE41()
479 pRef = &pMe->pColoRefMb[ (iTargetPos - kiCurMeBlockPix) * kiRefStride]; in VerticalFullSearchUsingSSE41()
[all …]
Dmd.cpp517 uint8_t* pRef; member
587 uint8_t* pRef = pMe->pRefMb;//091010 in MeRefineFracPixel() local
594 uint8_t* pBestPredInter = pRef; in MeRefineFracPixel()
604 …iBestCost = pFunc->sSampleDealingFuncs.pfMeCost[pMe->uiBlockSize] (pEncData, kiStrideEnc, pRef, ki… in MeRefineFracPixel()
610 …pFunc->sMcFuncs.pfLumaHalfpelVer (pRef - kiStrideRef, kiStrideRef, pMeRefine->pHalfPixV, ME_REFINE… in MeRefineFracPixel()
632 …pFunc->sMcFuncs.pfLumaHalfpelHor (pRef - 1, kiStrideRef, pMeRefine->pHalfPixH, ME_REFINE_BUF_STRID… in MeRefineFracPixel()
657 sParams.pRef = pRef; in MeRefineFracPixel()
670 sParams.pSrcB[0] = sParams.pSrcB[1] = sParams.pSrcB[2] = sParams.pSrcB[3] = pRef; in MeRefineFracPixel()
680 …pFunc->sMcFuncs.pfLumaHalfpelCen (pRef - 1 - kiStrideRef, kiStrideRef, pMeRefine->pHalfPixHV, ME_R… in MeRefineFracPixel()
690 sParams.pSrcB[2] = pRef - 1; in MeRefineFracPixel()
[all …]
Dref_list_mgr_svc.cpp75 pRefList->pRef[i]->SetUnref(); in WelsResetRefList()
79 pRefList->pNextBuffer = pRefList->pRef[0]; in WelsResetRefList()
107 SPicture* pRef = pRefList->pLongRefList[i]; in DeleteNonSceneLTR() local
108 if (pRef != NULL && pRef->bUsedAsRef && pRef->bIsLongRef && (!pRef->bIsSceneLTR) && in DeleteNonSceneLTR()
109 (pCtx->uiTemporalId < pRef->uiTemporalId || pCtx->bCurFrameMarkedAsSceneLtr)) { in DeleteNonSceneLTR()
111 pRef->SetUnref(); in DeleteNonSceneLTR()
336 if (!pRefList->pRef[i]->bUsedAsRef) { in PrefetchNextBuffer()
337 pRefList->pNextBuffer = pRefList->pRef[i]; in PrefetchNextBuffer()
367 if (NULL == pRefList || NULL == pRefList->pRef[0]) in WelsUpdateRefList()
624 SPicture* pRef = pRefList->pShortRefList[i]; in WelsBuildRefList() local
[all …]
Dmv_pred.cpp392 void UpdateP8x8Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t pRef, SMVUnitXY* pMv) { in UpdateP8x8Motion2Cache() argument
399 pMvComp->iRefIndexCache[7 + kuiCacheIdx] = pRef; in UpdateP8x8Motion2Cache()
407 void UpdateP4x4Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t pRef, SMVUnitXY* pMv) { in UpdateP4x4Motion2Cache() argument
411 pMvComp->iRefIndexCache [kuiCacheIdx] = pRef; in UpdateP4x4Motion2Cache()
416 void UpdateP8x4Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t pRef, SMVUnitXY* pMv) { in UpdateP8x4Motion2Cache() argument
421 pMvComp->iRefIndexCache [1 + kuiCacheIdx] = pRef; in UpdateP8x4Motion2Cache()
427 void UpdateP4x8Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t pRef, SMVUnitXY* pMv) { in UpdateP4x8Motion2Cache() argument
432 pMvComp->iRefIndexCache [6 + kuiCacheIdx] = pRef; in UpdateP4x8Motion2Cache()
Dwels_preprocess.cpp775 SPixMap pRef; in AdaptiveQuantCalculation() local
777 memset (&pRef, 0, sizeof (pRef)); in AdaptiveQuantCalculation()
787 pRef.pPixel[0] = pRefPicture->pData[0]; in AdaptiveQuantCalculation()
788 pRef.iSizeInBits = g_kiPixMapSizeInBits; in AdaptiveQuantCalculation()
789 pRef.iStride[0] = pRefPicture->iLineSize[0]; in AdaptiveQuantCalculation()
790 pRef.sRect.iRectWidth = pRefPicture->iWidthInPixel; in AdaptiveQuantCalculation()
791 pRef.sRect.iRectHeight = pRefPicture->iHeightInPixel; in AdaptiveQuantCalculation()
792 pRef.eFormat = VIDEO_FORMAT_I420; in AdaptiveQuantCalculation()
795 iRet = m_pInterfaceVp->Process (iMethodIdx, &pSrc, &pRef); in AdaptiveQuantCalculation()
810 SPicture* pRef = pRefPicLlist->pLongRefList[i]; in SetRefMbType() local
[all …]
Dsample.cpp151 extern void WelsI4x4LumaPredDc_c (uint8_t* pPred, uint8_t* pRef, const int32_t iStride);
152 extern void WelsI4x4LumaPredH_c (uint8_t* pPred, uint8_t* pRef, const int32_t iStride);
153 extern void WelsI4x4LumaPredV_c (uint8_t* pPred, uint8_t* pRef, const int32_t iStride);
187 extern void WelsIChromaPredDc_c (uint8_t* pPred, uint8_t* pRef, const int32_t iStride);
188 extern void WelsIChromaPredH_c (uint8_t* pPred, uint8_t* pRef, const int32_t iStride);
189 extern void WelsIChromaPredV_c (uint8_t* pPred, uint8_t* pRef, const int32_t iStride);
267 extern void WelsI16x16LumaPredDc_c (uint8_t* pPred, uint8_t* pRef, const int32_t iStride);
/third_party/openh264/codec/common/mips/
Dintra_pred_com_mmi.c67 void WelsI16x16LumaPredV_mmi(uint8_t *pPred, uint8_t *pRef, int32_t kiStride) { in WelsI16x16LumaPredV_mmi() argument
89 : [pPred]"+&r"((unsigned char *)pPred), [pRef]"+&r"((unsigned char *)pRef) in WelsI16x16LumaPredV_mmi()
95 void WelsI16x16LumaPredH_mmi(uint8_t *pPred, uint8_t *pRef, int32_t kiStride) { in WelsI16x16LumaPredH_mmi() argument
119 : [pPred]"+&r"((unsigned char *)pPred), [pRef]"+&r"((unsigned char *)pRef) in WelsI16x16LumaPredH_mmi()
125 void WelsI16x16LumaPredDc_mmi(uint8_t *pPred, uint8_t *pRef, int32_t kiStride) { in WelsI16x16LumaPredDc_mmi() argument
180 : [pPred]"+&r"((unsigned char *)pPred), [pRef]"+&r"((unsigned char *)pRef) in WelsI16x16LumaPredDc_mmi()
186 void WelsI16x16LumaPredPlane_mmi(uint8_t *pPred, uint8_t *pRef, int32_t kiStride) { in WelsI16x16LumaPredPlane_mmi() argument
227 $f18, %[pRef], %[kiStride], $11) in WelsI16x16LumaPredPlane_mmi()
239 $f18, %[pRef], %[kiStride], $11) in WelsI16x16LumaPredPlane_mmi()
297 : [pPred]"+&r"((unsigned char *)pPred), [pRef]"+&r"((unsigned char *)pRef) in WelsI16x16LumaPredPlane_mmi()
[all …]
/third_party/openh264/codec/common/inc/
Dintra_pred_common.h47 void WelsI16x16LumaPredV_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
48 void WelsI16x16LumaPredH_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
57 void WelsI16x16LumaPredV_sse2 (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
58 void WelsI16x16LumaPredH_sse2 (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
62 void WelsI16x16LumaPredV_neon (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
63 void WelsI16x16LumaPredH_neon (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
67 void WelsI16x16LumaPredV_AArch64_neon (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
68 void WelsI16x16LumaPredH_AArch64_neon (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
72 void WelsI16x16LumaPredV_mmi (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
73 void WelsI16x16LumaPredH_mmi (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride);
[all …]
/third_party/openh264/codec/decoder/core/src/
Dmanage_dec_ref.cpp69 static void SetUnRef (PPicture pRef) { in SetUnRef() argument
70 if (NULL != pRef) { in SetUnRef()
71 pRef->bUsedAsRef = false; in SetUnRef()
72 pRef->bIsLongRef = false; in SetUnRef()
73 pRef->iFrameNum = -1; in SetUnRef()
74 pRef->iFrameWrapNum = -1; in SetUnRef()
76 pRef->iLongTermFrameIdx = -1; in SetUnRef()
77 pRef->uiLongTermPicNum = 0; in SetUnRef()
78 pRef->uiQualityId = -1; in SetUnRef()
79 pRef->uiTemporalId = -1; in SetUnRef()
[all …]
/third_party/openh264/test/processing/
DProcessUT_ScrollDetection.cpp20 unsigned char* pSrc, *pRef; in TEST() local
31 pRef = new unsigned char[iHeight * iStride]; in TEST()
32 ASSERT_MEMORY_FAIL2X (pSrc, pRef) in TEST()
33 RandomPixelDataGenerator (pRef, iWidth, iHeight, iStride); in TEST()
38 unsigned char* pRefTmp = pRef; in TEST()
57 sRefMap.pPixel[0] = pRef; in TEST()
80 delete []pRef; in TEST()
/third_party/openh264/codec/processing/src/complexityanalysis/
DComplexityAnalysis.h66 EResult Process (int32_t iType, SPixMap* pSrc, SPixMap* pRef);
71 void AnalyzeFrameComplexityViaSad (SPixMap* pSrc, SPixMap* pRef);
72 int32_t GetFrameSadExcludeBackground (SPixMap* pSrc, SPixMap* pRef);
74 void AnalyzeGomComplexityViaSad (SPixMap* pSrc, SPixMap* pRef);
75 void AnalyzeGomComplexityViaVar (SPixMap* pSrc, SPixMap* pRef);
96 void GomComplexityAnalysisInter (SPixMap* pSrc, SPixMap* pRef, bool bScrollFlag);
DComplexityAnalysis.cpp309 EResult CComplexityAnalysisScreen::Process (int32_t nType, SPixMap* pSrc, SPixMap* pRef) { in Process() argument
317 if (!iIdrFlag && pRef == NULL) in Process()
320 if (iIdrFlag || pRef == NULL) { in Process()
323 GomComplexityAnalysisInter (pSrc, pRef, 0); in Process()
325 GomComplexityAnalysisInter (pSrc, pRef, 1); in Process()
406 void CComplexityAnalysisScreen::GomComplexityAnalysisInter (SPixMap* pSrc, SPixMap* pRef, bool bScr… in GomComplexityAnalysisInter() argument
426 pPtrX = (uint8_t*)pRef->pPixel[0]; in GomComplexityAnalysisInter()
429 iStrideX = pRef->iStride[0]; in GomComplexityAnalysisInter()
432 iRowStrideX = pRef->iStride[0] << 4; in GomComplexityAnalysisInter()
/third_party/openh264/codec/common/src/
Dintra_pred_common.cpp47 void WelsI16x16LumaPredV_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride) { in WelsI16x16LumaPredV_c() argument
49 const int8_t* kpSrc = (int8_t*)&pRef[-kiStride]; in WelsI16x16LumaPredV_c()
61 void WelsI16x16LumaPredH_c (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride) { in WelsI16x16LumaPredH_c() argument
68 const uint8_t kuiSrc8 = pRef[iStridex15 - 1]; in WelsI16x16LumaPredH_c()
Dutils.cpp110 uint8_t* pRef = (uint8_t*)kpRefPic; in WelsCalcPsnr() local
112 if (NULL == pTar || NULL == pRef) in WelsCalcPsnr()
117 const int32_t kiT = pTar[y * kiTarStride + x] - pRef[y * kiRefStride + x]; in WelsCalcPsnr()
/third_party/openh264/codec/common/loongarch/
Dintra_pred_com_lsx.c47 void WelsI16x16LumaPredV_lsx (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride) { in WelsI16x16LumaPredV_lsx() argument
48 const int8_t* kpSrc = (int8_t*)&pRef[-kiStride]; in WelsI16x16LumaPredV_lsx()
76 void WelsI16x16LumaPredH_lsx (uint8_t* pPred, uint8_t* pRef, const int32_t kiStride) { in WelsI16x16LumaPredH_lsx() argument
84 const uint8_t kuiSrc8 = pRef[iStridex15 - 1]; in WelsI16x16LumaPredH_lsx()
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/
Darm_lms_f32.c169 float32_t * pRef, in arm_lms_f32() argument
247 d = (float32_t) (*pRef++); in arm_lms_f32()
341 float32_t * pRef, in arm_lms_f32() argument
424 e = (float32_t) *pRef++ - acc; in arm_lms_f32()
Darm_lms_norm_f32.c163 float32_t * pRef, in arm_lms_norm_f32() argument
254 d = (float32_t) (*pRef++); in arm_lms_norm_f32()
352 float32_t * pRef, in arm_lms_norm_f32() argument
447 e = (float32_t) *pRef++ - acc; in arm_lms_norm_f32()
/third_party/openh264/codec/processing/src/backgrounddetection/
DBackgroundDetection.h65 EResult Process (int32_t iType, SPixMap* pSrc, SPixMap* pRef);
71 uint8_t* pRef[3]; member
DBackgroundDetection.cpp72 m_BgdParam.pRef[0] = (uint8_t*)pRefPixMap->pPixel[0]; in Process()
73 m_BgdParam.pRef[1] = (uint8_t*)pRefPixMap->pPixel[1]; in Process()
74 m_BgdParam.pRef[2] = (uint8_t*)pRefPixMap->pPixel[2]; in Process()
242 uint8_t* pRefC = pBgdParam->pRef[2] + iStartSamplePos + aEdgeOffset[i]; in ForegroundDilation23Chroma()
252 uint8_t* pRefC = pBgdParam->pRef[1] + iStartSamplePos + aEdgeOffset[i]; in ForegroundDilation23Chroma()
/third_party/openh264/codec/encoder/core/x86/
Dintra_pred.asm189 ; void WelsI4x4LumaPredH_sse2(uint8_t *pred, uint8_t *pRef, int32_t stride)
227 ; void WelsI16x16LumaPredPlane_sse2(uint8_t *pred, uint8_t *pRef, int32_t stride);
318 ; void WelsIChromaPredPlane_sse2(uint8_t *pred, uint8_t *pRef, int32_t stride);
417 ; void WelsI4x4LumaPredDDR_mmx(uint8_t *pred,uint8_t *pRef,int32_t stride)
472 ; void WelsI4x4LumaPredDc_sse2(uint8_t *pred,uint8_t *pRef,int32_t stride)
510 ; void WelsIChromaPredH_mmx(uint8_t *pred, uint8_t *pRef, int32_t stride)
567 ; void WelsI4x4LumaPredV_sse2(uint8_t *pred, uint8_t *pRef, int32_t stride)
581 ; void WelsIChromaPredV_sse2(uint8_t *pred, uint8_t *pRef, int32_t stride)
625 ; void WelsI4x4LumaPredHD_mmx(uint8_t *pred,uint8_t *pRef,int32_t stride)
704 ; void WelsI4x4LumaPredHU_mmx(uint8_t *pred,uint8_t *pRef,int32_t stride)
[all …]

12