/third_party/openh264/codec/encoder/core/src/ |
D | mv_pred.cpp | 148 void UpdateP16x16MotionInfo (SMbCache* pMbCache, SMB* pCurMb, const int8_t kiRef, SMVUnitXY* pMv) { in UpdateP16x16MotionInfo() argument 151 const uint32_t kuiMv32 = LD32 (pMv); in UpdateP16x16MotionInfo() 180 pMvComp->sMotionVectorCache[7] = *pMv; in UpdateP16x16MotionInfo() 182 pMvComp->sMotionVectorCache[10] = *pMv; in UpdateP16x16MotionInfo() 183 pMvComp->sMotionVectorCache[13] = *pMv; in UpdateP16x16MotionInfo() 185 pMvComp->sMotionVectorCache[16] = *pMv; in UpdateP16x16MotionInfo() 186 pMvComp->sMotionVectorCache[19] = *pMv; in UpdateP16x16MotionInfo() 188 pMvComp->sMotionVectorCache[22] = *pMv; in UpdateP16x16MotionInfo() 189 pMvComp->sMotionVectorCache[25] = *pMv; in UpdateP16x16MotionInfo() 191 pMvComp->sMotionVectorCache[28] = *pMv; in UpdateP16x16MotionInfo() [all …]
|
D | svc_base_layer_md.cpp | 1578 SMVUnitXY* pMv; in WelsMdInterMbRefinement() local 1607 pMv = &pWelsMd->sMe.sMe16x16.sMv; in WelsMdInterMbRefinement() 1608 iMvStride = (pMv->iMvY >> 3) * iLineSizeRefUV + (pMv->iMvX >> 3); in WelsMdInterMbRefinement() 1611 …cList->sMcFuncs.pMcChromaFunc (pTmpRefCb, iLineSizeRefUV, pDstCb, 8, pMv->iMvX, pMv->iMvY, 8, 8); … in WelsMdInterMbRefinement() 1612 …cList->sMcFuncs.pMcChromaFunc (pTmpRefCr, iLineSizeRefUV, pDstCr, 8, pMv->iMvX, pMv->iMvY, 8, 8); … in WelsMdInterMbRefinement() 1642 pMv = &pWelsMd->sMe.sMe16x8[i].sMv; in WelsMdInterMbRefinement() 1643 iMvStride = (pMv->iMvY >> 3) * iLineSizeRefUV + (pMv->iMvX >> 3); in WelsMdInterMbRefinement() 1648 …st->sMcFuncs.pMcChromaFunc (pTmpRefCb, iLineSizeRefUV, pTmpDstCb, 8, pMv->iMvX, pMv->iMvY, 8, 4); … in WelsMdInterMbRefinement() 1649 …st->sMcFuncs.pMcChromaFunc (pTmpRefCr, iLineSizeRefUV, pTmpDstCr, 8, pMv->iMvX, pMv->iMvY, 8, 4); … in WelsMdInterMbRefinement() 1671 pMv = &pWelsMd->sMe.sMe8x16[i].sMv; in WelsMdInterMbRefinement() [all …]
|
/third_party/openh264/codec/encoder/core/inc/ |
D | mv_pred.h | 60 void UpdateP16x16MotionInfo (SMbCache* pMbCache, SMB* pCurMb, const int8_t kiRef, SMVUnitXY* pMv); … 68 SMVUnitXY* pMv); 76 SMVUnitXY* pMv); 84 SMVUnitXY* pMv); 92 SMVUnitXY* pMv); 100 SMVUnitXY* pMv); 108 SMVUnitXY* pMv); 154 void UpdateP16x8Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* pMv); 161 void UpdateP8x16Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* pMv); 168 void UpdateP8x8Motion2Cache (SMbCache* pMbCache, int32_t iPartIdx, int8_t iRef, SMVUnitXY* pMv); [all …]
|
D | deblocking.h | 68 void DeblockingBSCalcEnc_neon (int8_t* pNzc, SMVUnitXY* pMv, int32_t iBoundryFlag, int32_t iMbStrid… 72 void DeblockingBSCalcEnc_AArch64_neon (int8_t* pNzc, SMVUnitXY* pMv, int32_t iBoundryFlag, int32_t …
|
/third_party/openh264/codec/decoder/core/src/ |
D | rec_mb.cpp | 496 iMVs[0] = pCurDqLayer->pDec->pMv[0][iMBXY][0][0]; in GetInterPred() 497 iMVs[1] = pCurDqLayer->pDec->pMv[0][iMBXY][0][1]; in GetInterPred() 508 iMVs[0] = pCurDqLayer->pDec->pMv[0][iMBXY][0][0]; in GetInterPred() 509 iMVs[1] = pCurDqLayer->pDec->pMv[0][iMBXY][0][1]; in GetInterPred() 518 iMVs[0] = pCurDqLayer->pDec->pMv[0][iMBXY][8][0]; in GetInterPred() 519 iMVs[1] = pCurDqLayer->pDec->pMv[0][iMBXY][8][1]; in GetInterPred() 532 iMVs[0] = pCurDqLayer->pDec->pMv[0][iMBXY][0][0]; in GetInterPred() 533 iMVs[1] = pCurDqLayer->pDec->pMv[0][iMBXY][0][1]; in GetInterPred() 541 iMVs[0] = pCurDqLayer->pDec->pMv[0][iMBXY][2][0]; in GetInterPred() 542 iMVs[1] = pCurDqLayer->pDec->pMv[0][iMBXY][2][1]; in GetInterPred() [all …]
|
D | mv_pred.cpp | 221 …ST32 (iMvA, LD32 (pCurDqLayer->pDec ? pCurDqLayer->pDec->pMv[0][iLeftXy][3] : pCurDqLayer->pMv[0][… in PredPSkipMvFromNeighbor() 239 …ST32 (iMvB, LD32 (pCurDqLayer->pDec ? pCurDqLayer->pDec->pMv[0][iTopXy][12] : pCurDqLayer->pMv[0][… in PredPSkipMvFromNeighbor() 257 ST32 (iMvC, LD32 (pCurDqLayer->pDec ? pCurDqLayer->pDec->pMv[0][iRightTopXy][12] : in PredPSkipMvFromNeighbor() 258 pCurDqLayer->pMv[0][iRightTopXy][12])); in PredPSkipMvFromNeighbor() 272 …T32 (iMvD, LD32 (pCurDqLayer->pDec ? pCurDqLayer->pDec->pMv[0][iLeftTopXy][15] : pCurDqLayer->pMv[… in PredPSkipMvFromNeighbor() 357 int16_t* pMv = IS_TYPE_L1 (coloc_mbType) ? colocPic->pMv[LIST_1][iMbXy][0] : iMVZero; in GetColocatedMb() local 358 ST32 (pCurDqLayer->iColocMv[LIST_0][0], LD32 (colocPic->pMv[LIST_0][iMbXy][0])); in GetColocatedMb() 359 ST32 (pCurDqLayer->iColocMv[LIST_1][0], LD32 (pMv)); in GetColocatedMb() 365 … CopyRectBlock4Cols (pCurDqLayer->iColocMv[LIST_0], colocPic->pMv[LIST_0][iMbXy], 16, 16, 4, 4); in GetColocatedMb() 368 … CopyRectBlock4Cols (pCurDqLayer->iColocMv[LIST_1], colocPic->pMv[LIST_1][iMbXy], 16, 16, 4, 4); in GetColocatedMb() [all …]
|
D | parse_mb_syn_cabac.cpp | 529 int16_t pMv[4] = {0}; in ParseInterPMotionInfoCabac() local 556 PredMv (pMotionVector, pRefIndex, LIST_0, 0, 4, iRef[0], pMv); in ParseInterPMotionInfoCabac() 559 pMv[0] += pMvd[0]; in ParseInterPMotionInfoCabac() 560 pMv[1] += pMvd[1]; in ParseInterPMotionInfoCabac() 561 WELS_CHECK_SE_BOTH_WARNING (pMv[1], iMinVmv, iMaxVmv, "vertical mv"); in ParseInterPMotionInfoCabac() 562 UpdateP16x16MotionInfo (pCurDqLayer, LIST_0, iRef[0], pMv); in ParseInterPMotionInfoCabac() 586 PredInter16x8Mv (pMotionVector, pRefIndex, LIST_0, iPartIdx, iRef[i], pMv); in ParseInterPMotionInfoCabac() 589 pMv[0] += pMvd[0]; in ParseInterPMotionInfoCabac() 590 pMv[1] += pMvd[1]; in ParseInterPMotionInfoCabac() 591 WELS_CHECK_SE_BOTH_WARNING (pMv[1], iMinVmv, iMaxVmv, "vertical mv"); in ParseInterPMotionInfoCabac() [all …]
|
D | deblocking.cpp | 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() 311 nBS[0][3][1] = BS_EDGE (uiBsx4[2], iRefs, pCurDqLayer->pDec->pMv[LIST_0][iMbXy], 7, 6); in DeblockingBSInsideMBNormal() [all …]
|
D | error_concealment.cpp | 282 pCtx->iECMVs[iRefIdx][0] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][0][0]; in GetAvilInfoFromCorrectMb() 283 pCtx->iECMVs[iRefIdx][1] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][0][1]; in GetAvilInfoFromCorrectMb() 289 pCtx->iECMVs[iRefIdx][0] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][0][0]; in GetAvilInfoFromCorrectMb() 290 pCtx->iECMVs[iRefIdx][1] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][0][1]; in GetAvilInfoFromCorrectMb() 295 pCtx->iECMVs[iRefIdx][0] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][8][0]; in GetAvilInfoFromCorrectMb() 296 pCtx->iECMVs[iRefIdx][1] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][8][1]; in GetAvilInfoFromCorrectMb() 302 pCtx->iECMVs[iRefIdx][0] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][0][0]; in GetAvilInfoFromCorrectMb() 303 pCtx->iECMVs[iRefIdx][1] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][0][1]; in GetAvilInfoFromCorrectMb() 308 pCtx->iECMVs[iRefIdx][0] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][2][0]; in GetAvilInfoFromCorrectMb() 309 pCtx->iECMVs[iRefIdx][1] += pCurDqLayer->pDec->pMv[0][iMbXyIndex][2][1]; in GetAvilInfoFromCorrectMb() [all …]
|
D | parse_mb_syn_cavlc.cpp | 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() 319 ST32 (iMvArray[listIdx][0], LD32 (pCurDqLayer->pDec->pMv[listIdx][iLeftTopXy][15])); in WelsFillCacheInterCabac() 333 ST64 (iMvArray[listIdx][1], LD64 (pCurDqLayer->pDec->pMv[listIdx][iTopXy][12])); in WelsFillCacheInterCabac() 334 ST64 (iMvArray[listIdx][3], LD64 (pCurDqLayer->pDec->pMv[listIdx][iTopXy][14])); in WelsFillCacheInterCabac() 357 ST32 (iMvArray[listIdx][5], LD32 (pCurDqLayer->pDec->pMv[listIdx][iRightTopXy][12])); in WelsFillCacheInterCabac() 463 ST32 (iMvArray[listIdx][6], LD32 (pCurDqLayer->pDec->pMv[listIdx][iLeftXy][3])); in WelsFillCacheInter() 464 ST32 (iMvArray[listIdx][12], LD32 (pCurDqLayer->pDec->pMv[listIdx][iLeftXy][7])); in WelsFillCacheInter() [all …]
|
D | pic_queue.cpp | 118 pPic->pMv[LIST_0] = (int16_t (*)[16][2])pMa->WelsMallocz (uiMbCount * sizeof ( in AllocPicture() 120 pPic->pMv[LIST_1] = (int16_t (*)[16][2])pMa->WelsMallocz (uiMbCount * sizeof ( in AllocPicture() 161 if (pPic->pMv[listIdx]) { in FreePicture() 162 pMa->WelsFree (pPic->pMv[listIdx], "pPic->pMv[]"); in FreePicture() 163 pPic->pMv[listIdx] = NULL; in FreePicture()
|
D | decoder_core.cpp | 1515 …pCtx->sMb.pMv[i][LIST_0] = (int16_t (*)[16][2])pMa->WelsMallocz (pCtx->sMb.iMbWidth * pCtx->sMb.iM… in InitialDqLayersContext() 1517 …pCtx->sMb.pMv[i][LIST_1] = (int16_t (*)[16][2])pMa->WelsMallocz (pCtx->sMb.iMbWidth * pCtx->sMb.iM… in InitialDqLayersContext() 1594 (NULL == pCtx->sMb.pMv[i][LIST_0]) || in InitialDqLayersContext() 1595 (NULL == pCtx->sMb.pMv[i][LIST_1]) || in InitialDqLayersContext() 1655 if (pCtx->sMb.pMv[i][listIdx]) { in UninitialDqLayersContext() 1656 pMa->WelsFree (pCtx->sMb.pMv[i][listIdx], "pCtx->sMb.pMv[][]"); in UninitialDqLayersContext() 1657 pCtx->sMb.pMv[i][listIdx] = NULL; in UninitialDqLayersContext() 2450 pCurDq->pMv[LIST_0] = pCtx->sMb.pMv[0][LIST_0]; in InitCurDqLayerData() 2451 pCurDq->pMv[LIST_1] = pCtx->sMb.pMv[0][LIST_1]; in InitCurDqLayerData()
|
D | decode_slice.cpp | 1357 int16_t pMv[2] = {0}; in WelsDecodeMbCabacPSlice() local 1372 PredPSkipMvFromNeighbor (pCurDqLayer, pMv); in WelsDecodeMbCabacPSlice() 1374 ST32 (pCurDqLayer->pDec->pMv[0][iMbXy][i], * (uint32_t*)pMv); in WelsDecodeMbCabacPSlice() 1427 int16_t pMv[LIST_A][2] = { {0, 0}, { 0, 0 } }; in WelsDecodeMbCabacBSlice() local 1453 int32_t ret = PredMvBDirectSpatial (pCtx, pMv, ref, subMbType); in WelsDecodeMbCabacBSlice() 1459 int32_t ret = PredBDirectTemporal (pCtx, pMv, ref, subMbType); in WelsDecodeMbCabacBSlice() 2485 ST32A2 (pCurDqLayer->pDec->pMv[0][iMbXy][i], * (uint32_t*)iMv); in WelsDecodeMbCavlcPSlice()
|
/third_party/openh264/test/decoder/ |
D | DecUT_PredMv.cpp | 327 ST32 (iMvA, LD32 (pCurLayer->pMv[0][iLeftXy][3])); in AnchorPredPSkipMvFromNeighbor() 345 ST32 (iMvB, LD32 (pCurLayer->pMv[0][iTopXy][12])); in AnchorPredPSkipMvFromNeighbor() 363 ST32 (iMvC, LD32 (pCurLayer->pMv[0][iRightTopXy][12])); in AnchorPredPSkipMvFromNeighbor() 376 ST32 (iMvD, LD32 (pCurLayer->pMv[0][iLeftTopXy][15])); in AnchorPredPSkipMvFromNeighbor() 427 …pDqLayer->pMv[0] = (int16_t (*)[MB_BLOCK4x4_NUM][MV_A]) WelsMallocz (pDqLayer->iMbWidth * pDqLayer… in AllocLayerData() 429 if (pDqLayer->pMv[0] == NULL) in AllocLayerData() 452 if (pDqLayer->pMv[0] != NULL) { in FreeLayerData() 453 WelsFree (pDqLayer->pMv[0], "pDqlayer->pMv[0]"); in FreeLayerData() 454 pDqLayer->pMv[0] = NULL; in FreeLayerData() 487 pDqLayer->pMv[0][i][j][k] = (rand() - RAND_MAX / 2); in InitRandomLayerMvData() [all …]
|
D | DecUT_DeblockCommon.cpp | 798 sDqLayer.pMv[0] = (int16_t (*) [16][2])&iLayerMv[0]; in TEST() 799 sDqLayer.pMv[1] = (int16_t (*) [16][2])&iLayerMv[1]; in TEST()
|
/third_party/openh264/codec/decoder/core/inc/ |
D | picture.h | 100 int16_t (*pMv[LIST_A])[MB_BLOCK4x4_NUM][MV_A]; // used for direct mode member
|
D | dec_frame.h | 68 int16_t (*pMv[LIST_A])[MB_BLOCK4x4_NUM][MV_A]; member
|
D | decoder_context.h | 346 …int16_t (*pMv[LAYER_NUM_EXCHANGEABLE][LIST_A])[MB_BLOCK4x4_NUM][MV_A]; //[LAYER_NUM_EXCHANGEABLE … member
|
/third_party/chromium/patch/ |
D | 0001-cve.patch | 71689 zE6CrI%gw*W`@U+UX=S1p#9x^Ul65qY>@y3=Y8psZ(}4Ipb3wAE2Bf*nJ&qMj|0pMv
|