Home
last modified time | relevance | path

Searched refs:kiMbWidth (Results 1 – 16 of 16) sorted by relevance

/third_party/openh264/codec/encoder/core/src/
Dsvc_enc_slice_segment.cpp77 const int32_t kiMbWidth = pSliceSeg->iMbWidth; in AssignMbMapMultipleSlices() local
82 const int32_t kiFirstMb = iSliceIdx * kiMbWidth; in AssignMbMapMultipleSlices()
84 kiMbWidth, sizeof (uint16_t)); in AssignMbMapMultipleSlices()
150 bool CheckRowMbMultiSliceSetting (const int32_t kiMbWidth, SSliceArgument* pSliceArg) { in CheckRowMbMultiSliceSetting() argument
159 pSlicesAssignList[uiSliceIdx] = kiMbWidth; in CheckRowMbMultiSliceSetting()
218 bool GomValidCheckSliceNum (const int32_t kiMbWidth, const int32_t kiMbHeight, uint32_t* pSliceNum)… in GomValidCheckSliceNum() argument
219 const int32_t kiCountNumMb = kiMbWidth * kiMbHeight; in GomValidCheckSliceNum()
226 if (kiMbWidth <= MB_WIDTH_THRESHOLD_90P) in GomValidCheckSliceNum()
227 iGomSize = kiMbWidth * GOM_ROW_MODE0_90P; in GomValidCheckSliceNum()
228 else if (kiMbWidth <= MB_WIDTH_THRESHOLD_180P) in GomValidCheckSliceNum()
[all …]
Dsvc_mode_decision.cpp59 const int32_t kiMbWidth = pCurDqLayer->iMbWidth; in WelsMdSpatialelInterMbIlfmdNoilp() local
60 const SMB* kpTopMb = pCurMb - kiMbWidth; in WelsMdSpatialelInterMbIlfmdNoilp()
224 const int32_t kiMbWidth = pCurDqLayer->iMbWidth; in WelsMdInterJudgeBGDPskip() local
228 (!pVaaBgMbFlag[-kiMbWidth]) && in WelsMdInterJudgeBGDPskip()
229 (!pVaaBgMbFlag[-kiMbWidth + 1])); in WelsMdInterJudgeBGDPskip()
355 const int32_t kiMbWidth = pCurDqLayer->iMbWidth; in JudgeScrollSkip() local
373 if (CheckBorder (kiMbX, kiMbY, iScrollMvX, iScrollMvY, kiMbWidth, kiMbHeight)) { in JudgeScrollSkip()
503 const int32_t kiMbWidth = pDqLayer->iMbWidth; in SetBlockStaticIdcToMd() local
504 const int32_t kiWidth = kiMbWidth << 1; in SetBlockStaticIdcToMd()
Dsvc_set_mb_syn_cabac.cpp386 …id WelsCabacSubMbMvd (SCabacCtx* pCabacCtx, SMB* pCurMb, SMbCache* pMbCache, const int kiMbWidth) { in WelsCabacSubMbMvd() argument
393 …sMvd = WelsCabacMbMvd (pCabacCtx, pCurMb, kiMbWidth, pCurMb->sMv[i4x4ScanIdx], pMbCache->sMbMvp[i4… in WelsCabacSubMbMvd()
402 …sMvd = WelsCabacMbMvd (pCabacCtx, pCurMb, kiMbWidth, pCurMb->sMv[i4x4ScanIdx], pMbCache->sMbMvp[i4… in WelsCabacSubMbMvd()
409 …sMvd = WelsCabacMbMvd (pCabacCtx, pCurMb, kiMbWidth, pCurMb->sMv[i4x4ScanIdx], pMbCache->sMbMvp[i4… in WelsCabacSubMbMvd()
417 …sMvd = WelsCabacMbMvd (pCabacCtx, pCurMb, kiMbWidth, pCurMb->sMv[i4x4ScanIdx], pMbCache->sMbMvp[i4… in WelsCabacSubMbMvd()
Ddeblocking.cpp658 const int32_t kiMbWidth = pCurDq->iMbWidth; in DeblockingFilterFrameAvcbase() local
677 pFilter.iMbStride = kiMbWidth; in DeblockingFilterFrameAvcbase()
683 for (i = 0; i < kiMbWidth; i++) { in DeblockingFilterFrameAvcbase()
698 const int32_t kiMbWidth = pCurDq->iMbWidth; in DeblockingFilterSliceAvcbase() local
700 const int32_t kiTotalNumMb = kiMbWidth * kiMbHeight; in DeblockingFilterSliceAvcbase()
715 pFilter.iMbStride = kiMbWidth; in DeblockingFilterSliceAvcbase()
Dsvc_base_layer_md.cpp327 const int32_t kiMbWidth = pCurLayer->iMbWidth; in WelsMdInterInit() local
333 pEncCtx->pFuncList->pfFillInterNeighborCache (pMbCache, pCurMb, kiMbWidth, in WelsMdInterInit()
361 …SetMvWithinIntegerMvRange (kiMbWidth, kiMbHeight, kiMbX, kiMbY, pEncCtx->iMvRange, & (pSlice->sMvS… in WelsMdInterInit()
982 const int32_t kiMbWidth = pCurLayer->iMbWidth; // for assign once in WelsMdP16x16() local
997 pSlice->sMvc[pSlice->uiMvcNum++] = (pCurMb - kiMbWidth)->sP16x16Mv; in WelsMdP16x16()
1001 if (pCurMb->iMbX < kiMbWidth - 1) { in WelsMdP16x16()
1008 SMVUnitXY sTempMv = pCurLayer->pRefPic->sMvList[pCurMb->iMbXY + kiMbWidth]; in WelsMdP16x16()
1862 const int32_t kiMbWidth = pCurDqLayer->iMbWidth; in WelsMdInterMb() local
1863 const SMB* top_mb = pCurMb - kiMbWidth; in WelsMdInterMb()
Dsvc_encode_slice.cpp138 void UpdateMbNeighbor (SDqLayer* pCurDq, SMB* pMb, const int32_t kiMbWidth, uint16_t uiSliceIdc) { in UpdateMbNeighbor() argument
151 iTopXY = kiMbXY - kiMbWidth; in UpdateMbNeighbor()
158 …bRightTop = (kiMbX < (kiMbWidth - 1)) && (kiMbY > 0) && (uiSliceIdc == WelsMbToSliceIdc (pCurDq, i… in UpdateMbNeighbor()
1671 const int32_t kiMbWidth = pSliceCtx->iMbWidth; in UpdateMbNeighbourInfoForNextSlice() local
1673 int32_t iNextSliceFirstMbIdxRowStart = ((kiFirstMbIdxOfNextSlice % kiMbWidth) ? 1 : 0); in UpdateMbNeighbourInfoForNextSlice()
1674 int32_t iCountMbUpdate = kiMbWidth + in UpdateMbNeighbourInfoForNextSlice()
1680 UpdateMbNeighbor (pCurDq, pMb, kiMbWidth, WelsMbToSliceIdc (pCurDq, pMb->iMbXY)); in UpdateMbNeighbourInfoForNextSlice()
Dslice_multi_threading.cpp78 const int32_t kiMbWidth = pSliceCtx->iMbWidth; in UpdateMbListNeighborParallel() local
83 UpdateMbNeighbor (pCurDq, &pMbList[iIdx], kiMbWidth, uiSliceIdc); in UpdateMbListNeighborParallel()
Dencoder_ext.cpp1424 const int32_t kiMbWidth = sMbSizeMap[iSpatialIdx].iMbWidth; in AllocStrideTables() local
1425 const int32_t kiMbHeight = sMbSizeMap[iSpatialIdx].iCountMbNum / kiMbWidth; in AllocStrideTables()
1426 const int32_t kiLineSize = kiMbWidth * sizeof (int16_t); in AllocStrideTables()
1432 pMbIndexX += kiMbWidth; in AllocStrideTables()
1447 const int32_t kiMbWidth = sMbSizeMap[iSpatialIdx].iMbWidth; in AllocStrideTables() local
1448 const int32_t kiMbHeight = sMbSizeMap[iSpatialIdx].iCountMbNum / kiMbWidth; in AllocStrideTables()
1449 const int32_t kiLineSize = kiMbWidth * sizeof (int16_t); in AllocStrideTables()
1450 int16_t* pMbIndexY = pPtr->pMbIndexY[iSpatialIdx] + i * kiMbWidth; in AllocStrideTables()
2394 const int32_t kiMbWidth = pSliceCtx->iMbWidth; in DynslcUpdateMbNeighbourInfoListForAllSlices() local
2400 UpdateMbNeighbor (pCurDq, pMb, kiMbWidth, WelsMbToSliceIdc (pCurDq, pMb->iMbXY)); in DynslcUpdateMbNeighbourInfoListForAllSlices()
/third_party/openh264/codec/decoder/core/src/
Dfmo.cpp92 static inline int32_t FmoGenerateMbAllocMapType1 (PFmo pFmo, PPps pPps, const int32_t kiMbWidth) { in FmoGenerateMbAllocMapType1() argument
99 …RIFY_RETURN_IF (ERR_INFO_INVALID_PARAM, (NULL == pFmo->pMbAllocMap || iMbNum <= 0 || kiMbWidth == 0 in FmoGenerateMbAllocMapType1()
103 …pFmo->pMbAllocMap[i] = (uint8_t) (((i % kiMbWidth) + (((i / kiMbWidth) * uiNumSliceGroups) >> 1)) … in FmoGenerateMbAllocMapType1()
120 static inline int32_t FmoGenerateSliceGroup (PFmo pFmo, const PPps kpPps, const int32_t kiMbWidth, in FmoGenerateSliceGroup() argument
129 iNumMb = kiMbWidth * kiMbHeight; in FmoGenerateSliceGroup()
155 iErr = FmoGenerateMbAllocMapType1 (pFmo, kpPps, kiMbWidth); in FmoGenerateSliceGroup()
188 int32_t InitFmo (PFmo pFmo, PPps pPps, const int32_t kiMbWidth, const int32_t kiMbHeight, CMemoryAl… in InitFmo() argument
189 return FmoGenerateSliceGroup (pFmo, pPps, kiMbWidth, kiMbHeight, pMa); in InitFmo()
Ddecoder.cpp462 int32_t WelsRequestMem (PWelsDecoderContext pCtx, const int32_t kiMbWidth, const int32_t kiMbHeight, in WelsRequestMem() argument
464 const int32_t kiPicWidth = kiMbWidth << 4; in WelsRequestMem()
946 int32_t SyncPictureResolutionExt (PWelsDecoderContext pCtx, const int32_t kiMbWidth, const int32_t … in SyncPictureResolutionExt() argument
948 const int32_t kiPicWidth = kiMbWidth << 4; in SyncPictureResolutionExt()
957 iErr = WelsRequestMem (pCtx, kiMbWidth, kiMbHeight, bReallocFlag); // common memory used in SyncPictureResolutionExt()
/third_party/openh264/codec/encoder/core/inc/
Dsvc_enc_slice_segment.h203 bool CheckRowMbMultiSliceSetting (const int32_t kiMbWidth, SSliceArgument* pSliceArg);
205 bool GomValidCheckSliceNum (const int32_t kiMbWidth, const int32_t kiMbHeight, uint32_t* pSliceNum);
206 bool GomValidCheckSliceMbNum (const int32_t kiMbWidth, const int32_t kiMbHeight, SSliceArgument* p…
Dextern.h70 void GomValidCheck (const int32_t kiMbWidth, const int32_t kiMbHeight, int32_t* pSliceNum);
Dsvc_motion_estimate.h335 inline void SetMvWithinIntegerMvRange (const int32_t kiMbWidth, const int32_t kiMbHeight, const int… in SetMvWithinIntegerMvRange() argument
341 pMvMax->iMvX = WELS_MIN (((kiMbWidth - kiMbX) * (1 << 4)) - INTPEL_NEEDED_MARGIN, kiMaxMvRange); in SetMvWithinIntegerMvRange()
Dsvc_encode_slice.h53 void UpdateMbNeighbor(SDqLayer* pCurDq, SMB* pMb, const int32_t kiMbWidth, uint16_t uiSliceIdc);
/third_party/openh264/codec/decoder/core/inc/
Ddecoder.h129 int32_t WelsRequestMem (PWelsDecoderContext pCtx, const int32_t kiMbWidth, const int32_t kiMbHeight,
147 int32_t SyncPictureResolutionExt (PWelsDecoderContext pCtx, const int32_t kiMbWidth, const int32_t …
Dfmo.h77 int32_t InitFmo (PFmo pFmo, PPps pPps, const int32_t kiMbWidth, const int32_t kiMbHeight, CMemoryAl…