/third_party/openh264/test/decoder/ |
D | DecUT_ErrorConcealment.cpp | 16 int32_t iMbHeight; member 53 pECCtx->iMbHeight = rand() % (MAX_MB_HEIGHT - 1) + 1; //give a constrained max height in InitAndAllocInputData() 57 const uint32_t kiLumaSize = pECCtx->iMbWidth * pECCtx->iMbHeight * 256; in InitAndAllocInputData() 82 …pECCtx->pMbCorrectlyDecodedFlag = (bool*) WelsMallocz (pECCtx->iMbWidth * pECCtx->iMbHeight * size… in InitAndAllocInputData() 99 pECCtx->pCtx->pSps->iMbHeight = pECCtx->iMbHeight; in InitAndAllocInputData() 108 const int32_t kiMbNum = pECCtx->iMbWidth * pECCtx->iMbHeight; in InitECCopyData() 126 int32_t iMbHeight = (int32_t) pECCtx->iMbHeight; in DoAncErrorConSliceCopy() local 141 for (int32_t iMbY = 0; iMbY < iMbHeight; ++iMbY) { in DoAncErrorConSliceCopy() 245 int32_t iLumaSize = pECCtx->iMbWidth * pECCtx->iMbHeight * 256; in TEST() 261 pECCtx->iMbHeight * 16); in TEST() [all …]
|
D | DecUT_PredMv.cpp | 417 …pDqLayer->pSliceIdc = (int32_t*) WelsMallocz (pDqLayer->iMbWidth * pDqLayer->iMbHeight * sizeof (i… in AllocLayerData() 422 …pDqLayer->pMbType = (uint32_t*) WelsMallocz (pDqLayer->iMbWidth * pDqLayer->iMbHeight * sizeof (ui… in AllocLayerData() 427 …nt16_t (*)[MB_BLOCK4x4_NUM][MV_A]) WelsMallocz (pDqLayer->iMbWidth * pDqLayer->iMbHeight * sizeof ( in AllocLayerData() 432 …0] = (int8_t (*)[MB_BLOCK4x4_NUM]) WelsMallocz (pDqLayer->iMbWidth * pDqLayer->iMbHeight * sizeof ( in AllocLayerData() 467 int32_t iTotalMbNum = pDqLayer->iMbWidth * pDqLayer->iMbHeight; in InitRandomLayerSliceIdc() 478 for (int32_t i = 0; i < pDqLayer->iMbWidth * pDqLayer->iMbHeight; ++i) { in InitRandomLayerMbType() 484 for (int32_t i = 0; i < pDqLayer->iMbWidth * pDqLayer->iMbHeight; ++i) { in InitRandomLayerMvData() 494 for (int32_t i = 0; i < pDqLayer->iMbWidth * pDqLayer->iMbHeight; ++i) { in InitRandomLayerRefIdxData() 524 sDqLayer.iMbHeight = 9; in TEST() 541 int32_t iTotalMbNum = sDqLayer.iMbHeight * sDqLayer.iMbWidth; in TEST() [all …]
|
/third_party/openh264/codec/decoder/core/src/ |
D | error_concealment.cpp | 94 uint32_t uiHeightInPixelY = (pCtx->pSps->iMbHeight) << 4; in DoErrorConFrameCopy() 97 pCtx->pDec->iMbEcedNum = pCtx->pSps->iMbWidth * pCtx->pSps->iMbHeight; in DoErrorConFrameCopy() 117 int32_t iMbHeight = (int32_t) pCtx->pSps->iMbHeight; in DoErrorConSliceCopy() local 134 for (int32_t iMbY = 0; iMbY < iMbHeight; ++iMbY) { in DoErrorConSliceCopy() 262 int32_t iMbHeight = (int32_t) pCtx->pSps->iMbHeight; in GetAvilInfoFromCorrectMb() local 273 for (int32_t iMbY = 0; iMbY < iMbHeight; ++iMbY) { in GetAvilInfoFromCorrectMb() 380 int32_t iMbHeight = (int32_t) pCtx->pSps->iMbHeight; in DoErrorConSliceMVCopy() local 406 for (int32_t iMbY = 0; iMbY < iMbHeight; ++iMbY) { in DoErrorConSliceMVCopy() 455 int32_t iMbNum = pCtx->pSps->iMbWidth * pCtx->pSps->iMbHeight; in NeedErrorCon()
|
D | decoder_core.cpp | 52 const int32_t kiHeight = pCurDq->iMbHeight << 4; in DecodeFrameConstruction() 54 const int32_t kiTotalNumMbInCurLayer = pCurDq->iMbWidth * pCurDq->iMbHeight; in DecodeFrameConstruction() 108 … pParser->iSpsHeightInPixel = (pCtx->pSps->iMbHeight << 4) - ((pCtx->pSps->sFrameCrop.iTopOffset + in DecodeFrameConstruction() 195 pCtx->iTotalNumMbRec, kiTotalNumMbInCurLayer, pCurDq->iMbWidth, pCurDq->iMbHeight); in DecodeFrameConstruction() 589 pShExt->iScaledRefLayerPicHeightInSampleLuma = pShExt->sSliceHeader.iMbHeight << 4; in FillDefaultSliceHeaderExt() 1046 pSliceHead->iMbHeight = pSps->iMbHeight / (1 + pSliceHead->bFieldPicFlag); in ParseSliceHeaderSyntaxs() 1313 pSliceHeadExt->iScaledRefLayerPicHeightInSampleLuma = (pSliceHead->iMbHeight << 4) - in ParseSliceHeaderSyntaxs() 1494 pCtx->sMb.iMbHeight = (kiMaxHeight + 15) >> 4; in InitialDqLayersContext() 1513 …pCtx->sMb.pMbType[i] = (uint32_t*)pMa->WelsMallocz (pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * siz… in InitialDqLayersContext() 1515 …LIST_0] = (int16_t (*)[16][2])pMa->WelsMallocz (pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * sizeof ( in InitialDqLayersContext() [all …]
|
D | au_parser.cpp | 845 …if (pSps->iMbWidth > 0 && pSps->iMbHeight > 0 && pCtx->sSpsPpsCtx.bSubspsAvailFlags[pSps->iSpsId])… in CheckSpsActive() 863 … if (pSps->iMbWidth > 0 && pSps->iMbHeight > 0 && pCtx->sSpsPpsCtx.bSpsAvailFlags[pSps->iSpsId]) { in CheckSpsActive() 1073 pSps->iMbHeight = PIC_HEIGHT_IN_MAP_UNITS_OFFSET + uiCode; in ParseSps() 1074 if (pSps->iMbHeight > MAX_MB_SIZE || pSps->iMbHeight == 0) { in ParseSps() 1075 WelsLog (& (pCtx->sLogCtx), WELS_LOG_ERROR, "pic_height_in_mbs(%d) invalid!", pSps->iMbHeight); in ParseSps() 1078 …if (((uint64_t)pSps->iMbHeight * (uint64_t)pSps->iMbHeight) > (uint64_t) (8 * pSLevelLimits->uiMax… in ParseSps() 1079 …if (((uint64_t)pSps->iMbHeight * (uint64_t)pSps->iMbHeight) > (uint64_t) (8 * pSMaxLevelLimits->ui… in ParseSps() 1086 uint64_t uiTmp64 = (uint64_t)pSps->iMbWidth * (uint64_t)pSps->iMbHeight; in ParseSps() 1130 …if ((pSps->sFrameCrop.iTopOffset + pSps->sFrameCrop.iBottomOffset) > ((int32_t)pSps->iMbHeight * 1… in ParseSps() 1220 BsWriteUE (&sSubsetSpsBs, pSps->iMbHeight - 1); //pic_height_in_map_units_minus1 in ParseSps() [all …]
|
D | fmo.cpp | 262 const uint32_t kuiMbHeight = pSps->iMbHeight; in FmoParamUpdate()
|
D | rec_mb.cpp | 261 for (uint32_t ln = 0; ln < pCtx->sMb.iMbHeight; ++ln) { in BaseMC() 268 const int32_t down_line = WELS_MIN (offset >> 4, int32_t (pCtx->sMb.iMbHeight) - 1); in BaseMC() 482 …m.iPicHeight = (pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iMbHeight << 4); in GetInterPred() 687 …m.iPicHeight = (pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iMbHeight << 4); in GetInterBPred()
|
D | decode_slice.cpp | 89 int32_t iCurLayerHeight = pCurDqLayer->iMbHeight << 4; in WelsTargetSliceConstruction() 226 pCtx->pTempDec = AllocPicture (pCtx, pCtx->pSps->iMbWidth << 4, pCtx->pSps->iMbHeight << 4); in WelsMbInterConstruction() 320 pCtx->pTempDec = AllocPicture (pCtx, pCtx->pSps->iMbWidth << 4, pCtx->pSps->iMbHeight << 4); in WelsMbInterPrediction() 1730 || pCurDqLayer->iMbY == pCurDqLayer->iMbHeight - 1) { in WelsDecodeAndConstructSlice() 1732 …eightInPixel, pCurDqLayer->iMbX, pCurDqLayer->iMbY, pCurDqLayer->iMbWidth, pCurDqLayer->iMbHeight); in WelsDecodeAndConstructSlice() 1735 pCurDqLayer->iMbHeight); in WelsDecodeAndConstructSlice() 1738 pCurDqLayer->iMbHeight); in WelsDecodeAndConstructSlice() 2560 …32_t) (pSlice->iMbSkipRun) > (uint32_t) (pCurDqLayer->iMbWidth * pCurDqLayer->iMbHeight - iMbXy)) { in WelsDecodeMbCavlcBSlice()
|
D | decoder.cpp | 954 pCtx->pTempDec = AllocPicture (pCtx, pCtx->pSps->iMbWidth << 4, pCtx->pSps->iMbHeight << 4); in SyncPictureResolutionExt() 1209 const int32_t kiMbNum = pCurDq->iMbWidth * pCurDq->iMbHeight; in UpdateDecStatNoFreezingInfo()
|
/third_party/openh264/codec/processing/src/adaptivequantization/ |
D | AdaptiveQuantization.cpp | 63 int32_t iMbHeight = iHeight >> 4; in Process() local 64 int32_t iMbTotalNum = iMbWidth * iMbHeight; in Process() 99 for (j = 0; j < iMbHeight; j ++) { in Process() 129 for (j = 0; j < iMbHeight; j ++) { in Process() 166 for (j = 0; j < iMbHeight; j ++) { in Process()
|
/third_party/openh264/codec/encoder/core/src/ |
D | svc_enc_slice_segment.cpp | 366 …&& pSliceSeg->iMbHeight == kiMbHeight && pSliceSeg->uiSliceMode == uiSliceMode && pSliceSeg->pOver… in InitSliceSegment() 379 pSliceSeg->iMbHeight = 0; in InitSliceSegment() 391 pSliceSeg->iMbHeight = kiMbHeight; in InitSliceSegment() 413 pSliceSeg->iMbHeight = kiMbHeight; in InitSliceSegment() 454 pSliceSeg->iMbHeight = 0; in UninitSliceSegment() 480 int32_t iMbHeight, in InitSlicePEncCtx() argument 490 iMbHeight); in InitSlicePEncCtx()
|
D | au_set.cpp | 54 uint32_t uiPicHeightInMBs = kpSps->iMbHeight; in WelsCheckLevelLimitation() 304 BsWriteUE (pLocalBitStringAux, pSps->iMbHeight - 1); // pic_height_in_map_units_minus1 in WelsWriteSpsSyntax() 492 pSps->iMbHeight = (pLayerParam->iVideoHeight + 15) >> 4; in WelsInitSps()
|
D | encoder_ext.cpp | 180 const int32_t iMbHeight = (kiPicHeight + 15) >> 4; in SliceArgumentValidationFixedSliceMode() local 181 const int32_t iMbNumInFrame = iMbWidth * iMbHeight; in SliceArgumentValidationFixedSliceMode() 230 if (!GomValidCheckSliceNum (iMbWidth, iMbHeight, &pSliceArgument->uiSliceNum)) { in SliceArgumentValidationFixedSliceMode() 237 !GomValidCheckSliceMbNum (iMbWidth, iMbHeight, pSliceArgument)) { in SliceArgumentValidationFixedSliceMode() 500 uint32_t iMbHeight = 0; in ParamValidationExt() local 564 iMbHeight = (kiPicHeight + 15) >> 4; in ParamValidationExt() 565 iMbNumInFrame = iMbWidth * iMbHeight; in ParamValidationExt() 568 if (iMbHeight > iMaxSliceNum) { in ParamValidationExt() 570 iMbHeight, MAX_SLICES_NUM); in ParamValidationExt() 573 pSpatialLayer->sSliceArgument.uiSliceNum = iMbHeight; in ParamValidationExt() [all …]
|
D | svc_mode_decision.cpp | 314 int32_t iMbHeight) { in CheckBorder() argument 318 (iMbY << 4) + iScrollMvY > (iMbHeight - 1) << 4 in CheckBorder() 356 const int32_t kiMbHeight = pCurDqLayer->iMbHeight; in JudgeScrollSkip()
|
D | paraset_strategy.cpp | 109 || (pSps1->iMbHeight != pSps2->iMbHeight)) { in CheckMatchedSps()
|
D | svc_encode_slice.cpp | 528 const int32_t kiTotalNumMb = pCurLayer->iMbWidth * pCurLayer->iMbHeight; in WelsISliceMdEnc() 597 const int32_t kiTotalNumMb = pCurLayer->iMbWidth * pCurLayer->iMbHeight; in WelsISliceMdEncDynamic() 824 const int32_t kiMBHeight = pCurLayer->iMbHeight; in InitSliceBoundaryInfo() 1803 const int32_t kiTotalNumMb = pCurLayer->iMbWidth * pCurLayer->iMbHeight; in WelsMdInterMbLoop() 1897 const int32_t kiTotalNumMb = pCurLayer->iMbWidth * pCurLayer->iMbHeight; in WelsMdInterMbLoopOverDynamicSlice()
|
D | deblocking.cpp | 659 const int32_t kiMbHeight = pCurDq->iMbHeight; in DeblockingFilterFrameAvcbase() 699 const int32_t kiMbHeight = pCurDq->iMbHeight; in DeblockingFilterSliceAvcbase()
|
/third_party/openh264/codec/processing/src/complexityanalysis/ |
D | ComplexityAnalysis.cpp | 112 int32_t iMbHeight = iHeight >> 4; in GetFrameSadExcludeBackground() local 113 int32_t iMbNum = iMbWidth * iMbHeight; in GetFrameSadExcludeBackground() 175 int32_t iMbHeight = iHeight >> 4; in AnalyzeGomComplexityViaSad() local 176 int32_t iMbNum = iMbWidth * iMbHeight; in AnalyzeGomComplexityViaSad() 224 int32_t iMbHeight = iHeight >> 4; in AnalyzeGomComplexityViaVar() local 225 int32_t iMbNum = iMbWidth * iMbHeight; in AnalyzeGomComplexityViaVar()
|
/third_party/openh264/codec/encoder/core/inc/ |
D | svc_enc_slice_segment.h | 84 int16_t iMbHeight; /* height of picture size in mb */ member 125 int32_t iMbHeight,
|
D | parameter_sets.h | 46 int16_t iMbHeight; member
|
D | svc_enc_frame.h | 97 int16_t iMbHeight; // MB height of this picture, equal to pSps.iMbHeight; member
|
/third_party/openh264/codec/decoder/core/inc/ |
D | dec_frame.h | 98 int32_t iMbHeight; // MB height of this picture, equal to sSps.iMbHeight; member 148 …int32_t iMbHeight; // MB height of this picture, equal to sSps.iMbH… member
|
D | parameter_sets.h | 80 uint32_t iMbHeight; member
|
D | slice.h | 132 int32_t iMbHeight; //from? member
|
D | decoder_context.h | 371 uint32_t iMbHeight; member
|