/third_party/openh264/codec/decoder/core/src/ |
D | error_concealment.cpp | 92 PPicture pDstPic = pCtx->pDec; in DoErrorConFrameCopy() 97 pCtx->pDec->iMbEcedNum = pCtx->pSps->iMbWidth * pCtx->pSps->iMbHeight; in DoErrorConFrameCopy() 118 PPicture pDstPic = pCtx->pDec; in DoErrorConSliceCopy() 138 pCtx->pDec->iMbEcedNum++; in DoErrorConSliceCopy() 179 void DoMbECMvCopy (PWelsDecoderContext pCtx, PPicture pDec, PPicture pRef, int32_t iMbXy, int32_t i… in DoMbECMvCopy() argument 181 if (pDec == pRef) { in DoMbECMvCopy() 190 int32_t iCurrPoc = pDec->iFramePoc; in DoMbECMvCopy() 191 pDst[0] = pDec->pData[0] + iMbXInPix + iMbYInPix * pMCRefMem->iDstLineLuma; in DoMbECMvCopy() 192 pDst[1] = pDec->pData[1] + (iMbXInPix >> 1) + (iMbYInPix >> 1) * pMCRefMem->iDstLineChroma; in DoMbECMvCopy() 193 pDst[2] = pDec->pData[2] + (iMbXInPix >> 1) + (iMbYInPix >> 1) * pMCRefMem->iDstLineChroma; in DoMbECMvCopy() [all …]
|
D | rec_mb.cpp | 48 PPicture pCurPic = pCtx->pDec; in WelsFillRecNeededMbInfo() 161 int32_t iChromaStride = pCtx->pCurDqLayer->pDec->iLinesize[1]; in RecI4x4Chroma() 185 int32_t iUVStride = pCtx->pCurDqLayer->pDec->iLinesize[1]; in RecI16x16Mb() 471 uint32_t iMBType = pCurDqLayer->pDec->pMbType[iMBXY]; in GetInterPred() 476 int32_t iDstLineLuma = pCtx->pDec->iLinesize[0]; in GetInterPred() 477 int32_t iDstLineChroma = pCtx->pDec->iLinesize[1]; in GetInterPred() 496 iMVs[0] = pCurDqLayer->pDec->pMv[0][iMBXY][0][0]; in GetInterPred() 497 iMVs[1] = pCurDqLayer->pDec->pMv[0][iMBXY][0][1]; in GetInterPred() 498 iRefIndex = pCurDqLayer->pDec->pRefIndex[0][iMBXY][0]; in GetInterPred() 503 iRefIndex = pCurDqLayer->pDec->pRefIndex[0][iMBXY][0]; in GetInterPred() [all …]
|
D | deblocking.cpp | 263 int8_t* iRefIdx = pCurDqLayer->pDec->pRefIndex[LIST_0][iMbXy]; in DeblockingBSInsideMBNormal() 285 …[0][2][1] = BS_EDGE ((i8x8NnzTab[0] | i8x8NnzTab[1]), iRefs, pCurDqLayer->pDec->pMv[LIST_0][iMbXy], in DeblockingBSInsideMBNormal() 287 …[0][2][3] = BS_EDGE ((i8x8NnzTab[2] | i8x8NnzTab[3]), iRefs, pCurDqLayer->pDec->pMv[LIST_0][iMbXy], in DeblockingBSInsideMBNormal() 291 …[1][2][1] = BS_EDGE ((i8x8NnzTab[0] | i8x8NnzTab[2]), iRefs, pCurDqLayer->pDec->pMv[LIST_0][iMbXy], in DeblockingBSInsideMBNormal() 293 …[1][2][3] = BS_EDGE ((i8x8NnzTab[1] | i8x8NnzTab[3]), iRefs, pCurDqLayer->pDec->pMv[LIST_0][iMbXy], in DeblockingBSInsideMBNormal() 303 nBS[0][1][0] = BS_EDGE (uiBsx4[0], iRefs, pCurDqLayer->pDec->pMv[LIST_0][iMbXy], 1, 0); in DeblockingBSInsideMBNormal() 304 nBS[0][2][0] = BS_EDGE (uiBsx4[1], iRefs, pCurDqLayer->pDec->pMv[LIST_0][iMbXy], 2, 1); in DeblockingBSInsideMBNormal() 305 nBS[0][3][0] = BS_EDGE (uiBsx4[2], iRefs, pCurDqLayer->pDec->pMv[LIST_0][iMbXy], 3, 2); in DeblockingBSInsideMBNormal() 309 nBS[0][1][1] = BS_EDGE (uiBsx4[0], iRefs, pCurDqLayer->pDec->pMv[LIST_0][iMbXy], 5, 4); in DeblockingBSInsideMBNormal() 310 nBS[0][2][1] = BS_EDGE (uiBsx4[1], iRefs, pCurDqLayer->pDec->pMv[LIST_0][iMbXy], 6, 5); in DeblockingBSInsideMBNormal() [all …]
|
D | mv_pred.cpp | 221 …ST32 (iMvA, LD32 (pCurDqLayer->pDec ? pCurDqLayer->pDec->pMv[0][iLeftXy][3] : pCurDqLayer->pMv[0][… in PredPSkipMvFromNeighbor() 222 …iLeftRef = pCurDqLayer->pDec ? pCurDqLayer->pDec->pRefIndex[0][iLeftXy][3] : pCurDqLayer->pRefInde… in PredPSkipMvFromNeighbor() 239 …ST32 (iMvB, LD32 (pCurDqLayer->pDec ? pCurDqLayer->pDec->pMv[0][iTopXy][12] : pCurDqLayer->pMv[0][… in PredPSkipMvFromNeighbor() 240 …iTopRef = pCurDqLayer->pDec ? pCurDqLayer->pDec->pRefIndex[0][iTopXy][12] : pCurDqLayer->pRefIndex… in PredPSkipMvFromNeighbor() 257 ST32 (iMvC, LD32 (pCurDqLayer->pDec ? pCurDqLayer->pDec->pMv[0][iRightTopXy][12] : in PredPSkipMvFromNeighbor() 259 iRightTopRef = pCurDqLayer->pDec ? pCurDqLayer->pDec->pRefIndex[0][iRightTopXy][12] : in PredPSkipMvFromNeighbor() 272 …ST32 (iMvD, LD32 (pCurDqLayer->pDec ? pCurDqLayer->pDec->pMv[0][iLeftTopXy][15] : pCurDqLayer->pMv… in PredPSkipMvFromNeighbor() 273 iLeftTopRef = pCurDqLayer->pDec ? pCurDqLayer->pDec->pRefIndex[0][iLeftTopXy][15] : in PredPSkipMvFromNeighbor() 469 ST32 (iMvA[listIdx], LD32 (pCurDqLayer->pDec ? pCurDqLayer->pDec->pMv[listIdx][iLeftXy][3] : in PredMvBDirectSpatial() 471 iLeftRef[listIdx] = pCurDqLayer->pDec ? pCurDqLayer->pDec->pRefIndex[listIdx][iLeftXy][3] : in PredMvBDirectSpatial() [all …]
|
D | decode_slice.cpp | 108 pCurDqLayer->pDec->iSpsId = pCtx->pSps->iSpsId; in WelsTargetSliceConstruction() 109 pCurDqLayer->pDec->iPpsId = pCtx->pPps->iPpsId; in WelsTargetSliceConstruction() 111 pCurDqLayer->pDec->uiQualityId = pCurDqLayer->sLayerInfo.sNalHeaderExt.uiQualityId; in WelsTargetSliceConstruction() 132 pCtx->pDec->iMbEcedPropNum += (pCurDqLayer->pMbRefConcealedFlag[iNextMbXyIndex] ? 1 : 0); in WelsTargetSliceConstruction() 157 pCtx->pDec->iWidthInPixel = iCurLayerWidth; in WelsTargetSliceConstruction() 158 pCtx->pDec->iHeightInPixel = iCurLayerHeight; in WelsTargetSliceConstruction() 215 int32_t iLumaStride = pCtx->pDec->iLinesize[0]; in WelsMbInterConstruction() 216 int32_t iChromaStride = pCtx->pDec->iLinesize[1]; in WelsMbInterConstruction() 218 pDstY = pCurDqLayer->pDec->pData[0] + ((iMbY * iLumaStride + iMbX) << 4); in WelsMbInterConstruction() 219 pDstCb = pCurDqLayer->pDec->pData[1] + ((iMbY * iChromaStride + iMbX) << 3); in WelsMbInterConstruction() [all …]
|
D | parse_mb_syn_cavlc.cpp | 102 …pNeighAvail->iLeftType = (pNeighAvail->iLeftAvail ? pCurDqLayer->pDec->pMbType[iLeftXy] … in GetNeighborAvailMbType() 103 …pNeighAvail->iTopType = (pNeighAvail->iTopAvail ? pCurDqLayer->pDec->pMbType[iTopXy] … in GetNeighborAvailMbType() 104 …pNeighAvail->iLeftTopType = (pNeighAvail->iLeftTopAvail ? pCurDqLayer->pDec->pMbType[iLeftTopXy]… in GetNeighborAvailMbType() 105 …pNeighAvail->iRightTopType = (pNeighAvail->iRightTopAvail ? pCurDqLayer->pDec->pMbType[iRightTopXy… in GetNeighborAvailMbType() 280 ST32 (iMvArray[listIdx][6], LD32 (pCurDqLayer->pDec->pMv[listIdx][iLeftXy][3])); in WelsFillCacheInterCabac() 281 ST32 (iMvArray[listIdx][12], LD32 (pCurDqLayer->pDec->pMv[listIdx][iLeftXy][7])); in WelsFillCacheInterCabac() 282 ST32 (iMvArray[listIdx][18], LD32 (pCurDqLayer->pDec->pMv[listIdx][iLeftXy][11])); in WelsFillCacheInterCabac() 283 ST32 (iMvArray[listIdx][24], LD32 (pCurDqLayer->pDec->pMv[listIdx][iLeftXy][15])); in WelsFillCacheInterCabac() 290 iRefIdxArray[listIdx][6] = pCurDqLayer->pDec->pRefIndex[listIdx][iLeftXy][3]; in WelsFillCacheInterCabac() 291 iRefIdxArray[listIdx][12] = pCurDqLayer->pDec->pRefIndex[listIdx][iLeftXy][7]; in WelsFillCacheInterCabac() [all …]
|
D | decoder_core.cpp | 49 PPicture pPic = pCtx->pDec; in DecodeFrameConstruction() 176 pCtx->pDec->bIsComplete = false; in DecodeFrameConstruction() 202 pCtx->pDec->bIsComplete = true; in DecodeFrameConstruction() 231 uint32_t uiMbHeight = (pCtx->pDec->iHeightInPixel + 15) >> 4; in DecodeFrameConstruction() 233 SET_EVENT (&pCtx->pDec->pReadyEvent[i]); in DecodeFrameConstruction() 2378 pDqLayer->pDec = pPicDec; in InitDqLayerInfo() 2498 if (pLastThreadCtx->pDec == NULL) { in DecodeCurrentAccessUnit() 2499 pLastThreadCtx->pDec = PrefetchLastPicForThread (pCtx->pPicBuff, in DecodeCurrentAccessUnit() 2532 isNewFrame = pCtx->pDec == NULL; in DecodeCurrentAccessUnit() 2534 if (pCtx->pDec == NULL) { in DecodeCurrentAccessUnit() [all …]
|
D | parse_mb_syn_cabac.cpp | 114 ST32 (&pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx ], iRef4Bytes); in UpdateP16x8RefIdxCabac() 115 ST32 (&pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx4], iRef4Bytes); in UpdateP16x8RefIdxCabac() 133 ST16 (&pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx ], iRef2Bytes); in UpdateP8x16RefIdxCabac() 134 ST16 (&pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx4], iRef2Bytes); in UpdateP8x16RefIdxCabac() 145 …pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx] = pCurDqLayer->pDec->pRefIndex[iListIdx][… in UpdateP8x8RefIdxCabac() 147 …pCurDqLayer->pDec->pRefIndex[iListIdx][iMbXy][iScan4Idx + 4] = pCurDqLayer->pDec->pRefIndex[iListI… in UpdateP8x8RefIdxCabac() 482 uint32_t* pMbType = pCtx->pCurDqLayer->pDec->pMbType; in ParseIntraPredModeChromaCabac() 540 switch (pCurDqLayer->pDec->pMbType[iMbXy]) { in ParseInterPMotionInfoCabac() 685 ST64 (pCurDqLayer->pDec->pMv[0][iMbXy][iScan4Idx], LD64 (pMv)); in ParseInterPMotionInfoCabac() 686 ST64 (pCurDqLayer->pDec->pMv[0][iMbXy][iScan4Idx + 4], LD64 (pMv)); in ParseInterPMotionInfoCabac() [all …]
|
D | manage_dec_ref.cpp | 581 PPicture pDec = pLastDec; in WelsMarkAsRef() local 583 if (pDec == NULL) { in WelsMarkAsRef() 584 pDec = pCtx->pDec; in WelsMarkAsRef() 595 pDec->uiQualityId = pCtx->pCurDqLayer->sLayerInfo.sNalHeaderExt.uiQualityId; in WelsMarkAsRef() 596 pDec->uiTemporalId = pCtx->pCurDqLayer->sLayerInfo.sNalHeaderExt.uiTemporalId; in WelsMarkAsRef() 597 pDec->iSpsId = pCtx->pSps->iSpsId; in WelsMarkAsRef() 598 pDec->iPpsId = pCtx->pPps->iPpsId; in WelsMarkAsRef() 610 AddLongTermToList (pRefPic, pDec, 0, 0); in WelsMarkAsRef() 627 pDec->iFrameNum = 0; in WelsMarkAsRef() 628 pDec->iFramePoc = 0; in WelsMarkAsRef() [all …]
|
D | decoder.cpp | 338 pCtx->pDec = NULL; in WelsDecoderDefaults() 536 pCtx->pDec = NULL; // need prefetch a new pic due to spatial size changed in WelsRequestMem() 1201 PPicture pPic = pCtx->pDec; in UpdateDecStatNoFreezingInfo()
|
/third_party/openh264/codec/encoder/core/src/ |
D | sample.cpp | 155 int32_t WelsSampleSatdIntra4x4Combined3_c (uint8_t* pDec, int32_t iDecStride, uint8_t* pEnc, int32_… in WelsSampleSatdIntra4x4Combined3_c() argument 162 WelsI4x4LumaPredDc_c (uiLocalBuffer[2], pDec, iDecStride); in WelsSampleSatdIntra4x4Combined3_c() 169 WelsI4x4LumaPredH_c (uiLocalBuffer[1], pDec, iDecStride); in WelsSampleSatdIntra4x4Combined3_c() 175 WelsI4x4LumaPredV_c (uiLocalBuffer[0], pDec, iDecStride); in WelsSampleSatdIntra4x4Combined3_c() 271 int32_t WelsSampleSatdIntra16x16Combined3_c (uint8_t* pDec, int32_t iDecStride, uint8_t* pEnc, int3… in WelsSampleSatdIntra16x16Combined3_c() argument 276 WelsI16x16LumaPredV_c (pDst, pDec, iDecStride); in WelsSampleSatdIntra16x16Combined3_c() 284 WelsI16x16LumaPredH_c (pDst, pDec, iDecStride); in WelsSampleSatdIntra16x16Combined3_c() 290 WelsI16x16LumaPredDc_c (pDst, pDec, iDecStride); in WelsSampleSatdIntra16x16Combined3_c() 303 int32_t WelsSampleSadIntra16x16Combined3_c (uint8_t* pDec, int32_t iDecStride, uint8_t* pEnc, int32… in WelsSampleSadIntra16x16Combined3_c() argument 308 WelsI16x16LumaPredV_c (pDst, pDec, iDecStride); in WelsSampleSadIntra16x16Combined3_c() [all …]
|
D | svc_base_layer_md.cpp | 371 uint8_t* pDec = pMbCache->SPicData.pCsMb[0]; in WelsMdI16x16() local 381 …iBestCost = pFunc->sSampleDealingFuncs.pfIntra16x16Combined3 (pDec, iLineSizeDec, pEnc, iLineSizeE… in WelsMdI16x16() 384 pFunc->pfGetLumaI16x16Pred[iCurMode] (pDst, pDec, iLineSizeDec); in WelsMdI16x16() 390 pFunc->pfGetLumaI16x16Pred[iBestMode] (pDst, pDec, iLineSizeDec); in WelsMdI16x16() 401 pFunc->pfGetLumaI16x16Pred[iCurMode] (pDst, pDec, iLineSizeDec); in WelsMdI16x16()
|
/third_party/openh264/codec/decoder/core/inc/ |
D | deblocking.h | 109 if (pCurDqLayer->pDec != NULL && pCurDqLayer->pDec->pNzc != NULL) { in GetPNzc() 110 return pCurDqLayer->pDec->pNzc[iMbXy]; in GetPNzc()
|
D | mv_pred.h | 186 if (pCurDqLayer->pDec != NULL) { in GetMbType() 187 return pCurDqLayer->pDec->pMbType; in GetMbType()
|
D | decoder_context.h | 376 …PPicture pDec; //pointer to current picture being reconstru… member 539 PPicture pDec; member 570 if (pThreadCtx[id].pCtx->pDec != NULL) { in GetPrevFrameNum() 571 int32_t iFrameNum = pThreadCtx[id].pCtx->pDec->iFrameNum; in GetPrevFrameNum()
|
D | error_concealment.h | 53 void DoMbECMvCopy (PWelsDecoderContext pCtx, PPicture pDec, PPicture pRef, int32_t iMbXy, int32_t i…
|
D | dec_frame.h | 116 PPicture pDec; // reconstruction picture pointer for layer member
|
/third_party/openh264/test/decoder/ |
D | DecUT_DeblockCommon.cpp | 568 sCtx.pDec = &sDec; in TEST() 569 sCtx.pDec->iLinesize[0] = sCtx.pDec->iLinesize[1] = sCtx.pDec->iLinesize[2] = 0; in TEST() 570 sCtx.pDec->pData[0] = sCtx.pDec->pData[1] = sCtx.pDec->pData[2] = NULL; in TEST() 811 sDqLayer.pDec = NULL; in TEST() 919 sDqLayer.pDec = NULL; in TEST()
|
D | DecUT_ErrorConcealment.cpp | 91 pECCtx->pCtx->pDec = &pECCtx->sWelsPic; in InitAndAllocInputData()
|
/third_party/openh264/test/encoder/ |
D | EncUT_Sample.cpp | 24 ENFORCE_STACK_ALIGN_1D (uint8_t, pDec, iLineSizeDec << 5, 16); \ 28 pDec[i] = rand() % 256; \ 33 tmpa = ref (pDec + 128, iLineSizeDec, pEnc, iLineSizeEnc, &iBestMode_c, iLambda, pDst); \ 34 tmpb = func (pDec + 128, iLineSizeDec, pEnc, iLineSizeEnc, &iBestMode_a, iLambda, pDst); \ 53 ENFORCE_STACK_ALIGN_1D (uint8_t, pDec, iLineSizeDec << 5, 16); \ 57 pDec[i] = rand() % 256; \ 62 …tmpa = WelsSampleSatdIntra4x4Combined3_c (pDec + 128, iLineSizeDec, pEnc, iLineSizeEnc, pDst, &iBe… 64 tmpb = func (pDec + 128, iLineSizeDec, pEnc, iLineSizeEnc, pDst, &iBestMode_a, \
|
/third_party/openh264/codec/decoder/plus/src/ |
D | welsDecoderExt.cpp | 107 pThrCtx->pDec = NULL; in ConstructAccessUnit() 315 m_pDecThrCtx[i].pDec = NULL; in OpenDecoderThreads()
|