/third_party/openh264/codec/decoder/core/src/ |
D | pic_queue.cpp | 73 pPic = (PPicture) pMa->WelsMallocz (sizeof (SPicture), "PPicture"); in AllocPicture() 92 pPic->pBuffer[0] = static_cast<uint8_t*> (pMa->WelsMallocz (iLumaSize /* luma */ in AllocPicture() 115 …pPic->pMbCorrectlyDecodedFlag = (bool*)pMa->WelsMallocz (uiMbCount * sizeof (bool), "pPic->pMbCorr… in AllocPicture() 116 …pPic->pNzc = GetThreadCount (pCtx) > 1 ? (int8_t (*)[24])pMa->WelsMallocz (uiMbCount * 24, "pPic->… in AllocPicture() 117 pPic->pMbType = (uint32_t*)pMa->WelsMallocz (uiMbCount * sizeof (uint32_t), "pPic->pMbType"); in AllocPicture() 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() 122 pPic->pRefIndex[LIST_0] = (int8_t (*)[16])pMa->WelsMallocz (uiMbCount * sizeof ( in AllocPicture() 124 pPic->pRefIndex[LIST_1] = (int8_t (*)[16])pMa->WelsMallocz (uiMbCount * sizeof ( in AllocPicture() 127 …pPic->pReadyEvent = (SWelsDecEvent*)pMa->WelsMallocz (uiMbHeight * sizeof (SWelsDecEvent), "pPic->… in AllocPicture()
|
D | decoder_core.cpp | 612 if ((pCtx->sRawData.pHead = static_cast<uint8_t*> (pMa->WelsMallocz (pCtx->iMaxBsBufferSizeInByte, in InitBsBuffer() 619 …pCtx->pParserBsInfo = static_cast<SParserBsInfo*> (pMa->WelsMallocz (sizeof (SParserBsInfo), "pCtx… in InitBsBuffer() 624 …pCtx->pParserBsInfo->pDstBuff = static_cast<uint8_t*> (pMa->WelsMallocz (MAX_ACCESS_UNIT_CAPACITY … in InitBsBuffer() 631 …if ((pCtx->sSavedData.pHead = static_cast<uint8_t*> (pMa->WelsMallocz (pCtx->iMaxBsBufferSizeInByt… in InitBsBuffer() 639 …pCtx->pParserBsInfo->pNalLenInByte = static_cast<int*> (pMa->WelsMallocz (pCtx->iMaxNalNum * sizeo… in InitBsBuffer() 657 …uint8_t* pNewBsBuff = static_cast<uint8_t*> (pMa->WelsMallocz (iNewBuffLen, "pCtx->sRawData.pHead"… in ExpandBsBuffer() 682 …uint8_t* pNewSavedBsBuff = static_cast<uint8_t*> (pMa->WelsMallocz (iNewBuffLen, "pCtx->sSavedData… in ExpandBsBuffer() 718 int* pNewLenBuffer = static_cast<int*> (pMa->WelsMallocz (iNewLen * sizeof (int), in ExpandBsLenBuffer() 1505 PDqLayer pDq = (PDqLayer)pMa->WelsMallocz (sizeof (SDqLayer), "PDqLayer"); in InitialDqLayersContext() 1513 …pCtx->sMb.pMbType[i] = (uint32_t*)pMa->WelsMallocz (pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * siz… in InitialDqLayersContext() [all …]
|
D | decoder.cpp | 74 pPicBuf = (PPicBuff)pMa->WelsMallocz (sizeof (SPicBuff), "PPicBuff"); in CreatePicBuff() 80 pPicBuf->ppPic = (PPicture*)pMa->WelsMallocz (kiSize * sizeof (PPicture), "PPicture*"); in CreatePicBuff() 117 pPicNewBuf = (PPicBuff)pMa->WelsMallocz (sizeof (SPicBuff), "PPicBuff"); in IncreasePicBuff() 123 pPicNewBuf->ppPic = (PPicture*)pMa->WelsMallocz (kiNewSize * sizeof (PPicture), "PPicture*"); in IncreasePicBuff() 180 pPicNewBuf = (PPicBuff)pMa->WelsMallocz (sizeof (SPicBuff), "PPicBuff"); in DecreasePicBuff() 186 pPicNewBuf->ppPic = (PPicture*)pMa->WelsMallocz (kiNewSize * sizeof (PPicture), "PPicture*"); in DecreasePicBuff() 539 …pCtx->pCabacDecEngine = (SWelsCabacDecEngine*) pMa->WelsMallocz (sizeof (SWelsCabacDecEngine), "pC… in WelsRequestMem()
|
D | memmgr_nal_unit.cpp | 62 pBase = (uint8_t*)pMa->WelsMallocz (kuiCountSize, "Access Unit"); in MemInitNalList()
|
D | fmo.cpp | 135 pFmo->pMbAllocMap = (uint8_t*)pMa->WelsMallocz (iNumMb * sizeof (uint8_t), "_fmo->pMbAllocMap"); in FmoGenerateSliceGroup()
|
D | au_parser.cpp | 1188 uint8_t* pBsBuf = static_cast<uint8_t*> (pMa->WelsMallocz (SPS_PPS_BS_SIZE + 4, in ParseSps()
|
/third_party/openh264/codec/encoder/core/src/ |
D | picture_handle.cpp | 62 pPic = static_cast<SPicture*> (pMa->WelsMallocz (sizeof (SPicture), "pPic")); in AllocPicture() 98 …pPic->uiRefMbType = (uint32_t*)pMa->WelsMallocz (kuiCountMbNum * sizeof (uint32_t), "pPic->uiRefMb… in AllocPicture() 101 … pPic->pRefMbQp = (uint8_t*)pMa->WelsMallocz (kuiCountMbNum * sizeof (uint8_t), "pPic->pRefMbQp"); in AllocPicture() 104 …pPic->sMvList = static_cast<SMVUnitXY*> (pMa->WelsMallocz (kuiCountMbNum * sizeof (SMVUn… in AllocPicture() 108 …pPic->pMbSkipSad = (int32_t*)pMa->WelsMallocz (kuiCountMbNum * sizeof (int32_t), "pPic->pMbS… in AllocPicture() 113 …pPic->pScreenBlockFeatureStorage = static_cast<SScreenBlockFeatureStorage*> (pMa->WelsMallocz (siz… in AllocPicture()
|
D | svc_encode_slice.cpp | 759 …pMbCache->pMemPredMb = (uint8_t*)pMa->WelsMallocz (2 * 256 * sizeof (uint8_t), "pMbCache->pMemPred… in AllocMbCacheAligned() 762 …pMbCache->pCoeffLevel = (int16_t*)pMa->WelsMallocz (MB_COEFF_LIST_SIZE * sizeof (int16_t), "pMbCac… in AllocMbCacheAligned() 764 pMbCache->pSkipMb = (uint8_t*)pMa->WelsMallocz (384 * sizeof (uint8_t), "pMbCache->pSkipMb"); in AllocMbCacheAligned() 766 …pMbCache->pMemPredBlk4 = (uint8_t*)pMa->WelsMallocz (2 * 16 * sizeof (uint8_t), "pMbCache->pMemPre… in AllocMbCacheAligned() 768 …pMbCache->pBufferInterPredMe = (uint8_t*)pMa->WelsMallocz (4 * 640 * sizeof (uint8_t), "pMbCache->… in AllocMbCacheAligned() 770 pMbCache->pPrevIntra4x4PredModeFlag = (bool*)pMa->WelsMallocz (16 * sizeof (bool), in AllocMbCacheAligned() 773 pMbCache->pRemIntra4x4PredModeFlag = (int8_t*)pMa->WelsMallocz (16 * sizeof (int8_t), in AllocMbCacheAligned() 776 pMbCache->pDct = (SDCTCoeff*)pMa->WelsMallocz (sizeof (SDCTCoeff), "pMbCache->pDct"); in AllocMbCacheAligned() 901 pSlice->sSliceBs.pBs = (uint8_t*)pMa->WelsMallocz (iMaxSliceBufferSize, "sSliceBs.pBs"); in InitSliceBsBuffer() 1043 …pDqLayer->sSliceBufferInfo[iIdx].pSliceBuffer = (SSlice*)pMa->WelsMallocz (sizeof (SSlice) * iMa… in InitSliceThreadInfo() [all …]
|
D | encoder_ext.cpp | 925 …(*ppCtx)->ppMbListD = static_cast<SMB**> ((*ppCtx)->pMemAlign->WelsMallocz (iNumDlayer * sizeof (S… in InitMbListD() 928 …(*ppCtx)->ppMbListD[0] = static_cast<SMB*> ((*ppCtx)->pMemAlign->WelsMallocz (iOverallMbNum * size… in InitMbListD() 1051 pRefList = (SRefList*)pMa->WelsMallocz (sizeof (SRefList), "pRefList"); in InitDqLayers() 1080 pDqLayer = (SDqLayer*)pMa->WelsMallocz (sizeof (SDqLayer), "pDqLayer"); in InitDqLayers() 1126 …er->pFeatureSearchPreparation = static_cast<SFeatureSearchPreparation*> (pMa->WelsMallocz (sizeof ( in InitDqLayers() 1147 …(*ppCtx)->pSpsArray = (SWelsSPS*)pMa->WelsMallocz (kiNeededSpsNum * sizeof (SWelsSPS), "pSpsArray"… in InitDqLayers() 1150 …(*ppCtx)->pSubsetArray = (SSubsetSps*)pMa->WelsMallocz (kiNeededSubsetSpsNum * sizeof (SSubsetSps)… in InitDqLayers() 1158 …(*ppCtx)->pPPSArray = (SWelsPPS*)pMa->WelsMallocz (kiNeededPpsNum * sizeof (SWelsPPS), "pPPSArray"… in InitDqLayers() 1165 (*ppCtx)->pDqIdcMap = (SDqIdc*)pMa->WelsMallocz (iDlayerCount * sizeof (SDqIdc), "pDqIdcMap"); in InitDqLayers() 1256 pPtr = (SStrideTables*)pMa->WelsMallocz (sizeof (SStrideTables), "SStrideTables"); in AllocStrideTables() [all …]
|
D | svc_enc_slice_segment.cpp | 384 …pSliceSeg->pOverallMbMap = (uint16_t*)pMa->WelsMallocz (kiCountMbNum * sizeof (uint16_t), "pSliceS… in InitSliceSegment() 400 …pSliceSeg->pOverallMbMap = (uint16_t*)pMa->WelsMallocz (kiCountMbNum * sizeof (uint16_t), "pSliceS… in InitSliceSegment()
|
D | svc_motion_estimate.cpp | 656 (uint16_t*)pMa->WelsMallocz (iListOfFeatureOfBlock, "pFeatureOfBlock"); in RequestFeatureSearchPreparation() 693 …pScreenBlockFeatureStorage->pTimesOfFeatureValue = (uint32_t*)pMa->WelsMallocz (kiListSize * sizeo… in RequestScreenBlockFeatureStorage() 697 …pScreenBlockFeatureStorage->pLocationOfFeature = (uint16_t**)pMa->WelsMallocz (kiListSize * sizeof… in RequestScreenBlockFeatureStorage() 701 …pScreenBlockFeatureStorage->pLocationPointer = (uint16_t*)pMa->WelsMallocz (2 * kiFrameSize * size… in RequestScreenBlockFeatureStorage() 705 …pScreenBlockFeatureStorage->pFeatureValuePointerList = (uint16_t**)pMa->WelsMallocz (WELS_MAX (LIS… in RequestScreenBlockFeatureStorage()
|
D | slice_multi_threading.cpp | 342 pSmt->pThreadBsBuffer[iIdx] = (uint8_t*)pMa->WelsMallocz (iCountBsLen, "pSmt->pThreadBsBuffer"); in RequestMtResource()
|
/third_party/openh264/test/decoder/ |
D | DecUT_ErrorConcealment.cpp | 47 pECCtx = (PECInputCtx) WelsMallocz (sizeof (SECInputCtx), "pECCtx"); in InitAndAllocInputData() 60 …pECCtx->sWelsPic.pData[0] = (uint8_t*) WelsMallocz (kiLumaSize * 3 / 2 * sizeof (uint8_t), "pECCtx… in InitAndAllocInputData() 66 …pECCtx->sAncPic.pData[0] = (uint8_t*) WelsMallocz (kiLumaSize * 3 / 2 * sizeof (uint8_t), "pECCtx-… in InitAndAllocInputData() 72 …pECCtx->sSrcPic.pData[0] = (uint8_t*) WelsMallocz (kiLumaSize * 3 / 2 * sizeof (uint8_t), "pECCtx-… in InitAndAllocInputData() 82 …pECCtx->pMbCorrectlyDecodedFlag = (bool*) WelsMallocz (pECCtx->iMbWidth * pECCtx->iMbHeight * size… in InitAndAllocInputData() 87 pECCtx->pCtx = (PWelsDecoderContext) WelsMallocz (sizeof (SWelsDecoderContext), "pECCtx->pCtx"); in InitAndAllocInputData() 95 pECCtx->pCtx->pSps = (PSps) WelsMallocz (sizeof (SSps), "pECCtx->pCtx->pSps"); in InitAndAllocInputData() 100 …pECCtx->pCtx->pParam = (PDecodingParam) WelsMallocz (sizeof (SDecodingParam), "pECCtx->pCtx->pPara… in InitAndAllocInputData()
|
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 …pDqLayer->pMv[0] = (int16_t (*)[MB_BLOCK4x4_NUM][MV_A]) WelsMallocz (pDqLayer->iMbWidth * pDqLayer… in AllocLayerData() 432 …pDqLayer->pRefIndex[0] = (int8_t (*)[MB_BLOCK4x4_NUM]) WelsMallocz (pDqLayer->iMbWidth * pDqLayer-… in AllocLayerData()
|
D | DecUT_ParseSyntax.cpp | 98 …pCtx->pParam = (SDecodingParam*) pCtx->pMemAlign->WelsMallocz (sizeof (SDecodingParam), "SDecoding… in InitDecoder()
|
/third_party/openh264/test/common/ |
D | ExpandPicture.cpp | 129 uint8_t* pAnchorDstBuff = static_cast<uint8_t*> (WelsMallocz (iBuffSize, "pAnchorDstBuff")); in TEST() 133 uint8_t* pTestDstBuff = static_cast<uint8_t*> (WelsMallocz (iBuffSize, "pTestDstBuff")); in TEST() 177 uint8_t* pAnchorDstBuff = static_cast<uint8_t*> (WelsMallocz (iBuffSize, "pAnchorDstBuff")); in TEST() 181 uint8_t* pTestDstBuff = static_cast<uint8_t*> (WelsMallocz (iBuffSize, "pTestDstBuff")); in TEST() 235 …pPicAnchorBuffer = static_cast<uint8_t*> (WelsMallocz (iLumaSize + (iChromaSize << 1), "pPicAnchor… in TEST() 241 … pPicTestBuffer = static_cast<uint8_t*> (WelsMallocz (iLumaSize + (iChromaSize << 1), "pPicTest")); in TEST()
|
/third_party/openh264/codec/common/inc/ |
D | memory_align.h | 59 void* WelsMallocz (const uint32_t kuiSize, const char* kpTag); 89 void* WelsMallocz (const uint32_t kuiSize, const char* kpTag);
|
/third_party/openh264/codec/common/src/ |
D | memory_align.cpp | 117 void* CMemoryAlign::WelsMallocz (const uint32_t kuiSize, const char* kpTag) { in WelsMallocz() function in WelsCommon::CMemoryAlign 157 void* WelsMallocz (const uint32_t kuiSize, const char* kpTag) { in WelsMallocz() function
|
/third_party/openh264/test/encoder/ |
D | EncUT_SliceBufferReallocate.cpp | 52 SDqLayer* pDqLayer = (SDqLayer*)pCtx->pMemAlign->WelsMallocz (sizeof (SDqLayer), "pDqLayer"); in AllocateLayerBuffer() 223 …pCtx->pFuncList = (SWelsFuncPtrList*)pCtx->pMemAlign->WelsMallocz (sizeof (SWelsFuncPtrList), "SWe… in InitParam() 231 …pCtx->ppDqLayerList = (SDqLayer**)pCtx->pMemAlign->WelsMallocz (pCtx->pSvcParam->iSpatialLayerNum … in InitParam() 273 …pCtx->pOut = (SWelsEncoderOutput*)pCtx->pMemAlign->WelsMallocz (sizeof (SWelsEncoderOutput), "SWel… in InitFrameBsBuffer() 275 pCtx->pOut->pBsBuffer = (uint8_t*)pCtx->pMemAlign->WelsMallocz (iCountBsLen, "pOut->pBsBuffer"); in InitFrameBsBuffer() 278 …pCtx->pOut->sNalList = (SWelsNalRaw*)pCtx->pMemAlign->WelsMallocz (iCountNals * sizeof (SWelsNalRa… in InitFrameBsBuffer() 280 …pCtx->pOut->pNalLen = (int32_t*)pCtx->pMemAlign->WelsMallocz (iCountNals * sizeof (int32_t), "pOut… in InitFrameBsBuffer()
|
D | EncUT_MotionEstimate.cpp | 151 m_pMvdCostTable = (uint16_t*)m_pMa->WelsMallocz (52 * m_uiMvdCacheAlignedSize, "pMvdCostTable"); in SetUp() 153 m_pRefStart = (uint8_t*)m_pMa->WelsMallocz (m_iWidthExt * m_iHeightExt, "reference frame "); in SetUp() 155 m_pSrc = (uint8_t*)m_pMa->WelsMallocz (m_iWidth * m_iHeight, "source frame"); in SetUp()
|
/third_party/openh264/codec/encoder/core/inc/ |
D | param_svc.h | 559 …SWelsSvcCodingParam* pCodingParam = (SWelsSvcCodingParam*)pMa->WelsMallocz (sizeof (SWelsSvcCoding… in AllocCodingParam()
|
/third_party/openh264/codec/decoder/plus/src/ |
D | welsDecoderExt.cpp | 406 pCtx = (PWelsDecoderContext)WelsMallocz (sizeof (SWelsDecoderContext), "m_pDecContext"); in InitDecoderCtx() 423 pCtx->pParam = (SDecodingParam*)pCtx->pMemAlign->WelsMallocz (sizeof (SDecodingParam), in InitDecoderCtx()
|