/third_party/openh264/test/encoder/ |
D | EncUT_SliceBufferReallocate.h | 22 m_EncContext.pMemAlign = new CMemoryAlign (iCacheLineSize); in SetUp() 23 ASSERT_TRUE (NULL != m_EncContext.pMemAlign); in SetUp() 25 …SWelsSvcCodingParam* pCodingParam = (SWelsSvcCodingParam*)m_EncContext.pMemAlign->WelsMalloc (size… in SetUp() 39 m_EncContext.pMemAlign->WelsFree (m_EncContext.pSvcParam, "SWelsSvcCodingParam"); in TearDown() 43 if (m_EncContext.pMemAlign != NULL) { in TearDown() 44 delete m_EncContext.pMemAlign; in TearDown() 45 m_EncContext.pMemAlign = NULL; in TearDown()
|
D | EncUT_Sample.cpp | 130 pMemAlign->WelsFree(A, "Sad_SrcA");\ 136 pMemAlign->WelsFree(A, "Sad_SrcA"); \ 137 pMemAlign->WelsFree(B, "Sad_SrcB"); \ 146 pMemAlign = new CMemoryAlign (0); in SetUp() 150 m_pPixSrcA = (uint8_t*)pMemAlign->WelsMalloc (m_iStrideA << 5, "Sad_m_pPixSrcA"); in SetUp() 152 m_pPixSrcB = (uint8_t*)pMemAlign->WelsMalloc (m_iStrideB << 5, "Sad_m_pPixSrcB"); in SetUp() 154 m_pSad = (int32_t*)pMemAlign->WelsMalloc (4 * sizeof (int32_t), "m_pSad"); in SetUp() 158 pMemAlign->WelsFree (m_pPixSrcA, "Sad_m_pPixSrcA"); in TearDown() 159 pMemAlign->WelsFree (m_pPixSrcB, "Sad_m_pPixSrcB"); in TearDown() 160 pMemAlign->WelsFree (m_pSad, "m_pSad"); in TearDown() [all …]
|
D | EncUT_SliceBufferReallocate.cpp | 52 SDqLayer* pDqLayer = (SDqLayer*)pCtx->pMemAlign->WelsMallocz (sizeof (SDqLayer), "pDqLayer"); in AllocateLayerBuffer() 59 int32_t iRet = InitSliceInLayer (pCtx, pDqLayer, iLayerIdx, pCtx->pMemAlign); in AllocateLayerBuffer() 61 FreeDqLayer (pDqLayer, pCtx->pMemAlign); 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() 245 pCtx->pMemAlign->WelsFree (pCtx->pFuncList, "pCtx->pFuncList"); in UnInitParam() 250 pCtx->pMemAlign->WelsFree (pCtx->ppDqLayerList, "pCtx->ppDqLayerList"); in UnInitParam() 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() [all …]
|
/third_party/openh264/test/decoder/ |
D | DecUT_ParseSyntax.cpp | 72 if (NULL != pCtx->pMemAlign) { in UninitDecoder() 73 delete pCtx->pMemAlign; in UninitDecoder() 74 pCtx->pMemAlign = NULL; in UninitDecoder() 89 if (NULL == pCtx->pMemAlign) { in InitDecoder() 90 pCtx->pMemAlign = new CMemoryAlign (16); in InitDecoder() 91 if (NULL == pCtx->pMemAlign) in InitDecoder() 98 …pCtx->pParam = (SDecodingParam*) pCtx->pMemAlign->WelsMallocz (sizeof (SDecodingParam), "SDecoding… in InitDecoder()
|
/third_party/openh264/codec/decoder/core/src/ |
D | decoder.cpp | 72 CMemoryAlign* pMa = pCtx->pMemAlign; in CreatePicBuff() 116 CMemoryAlign* pMa = pCtx->pMemAlign; in IncreasePicBuff() 178 CMemoryAlign* pMa = pCtx->pMemAlign; in DecreasePicBuff() 471 CMemoryAlign* pMa = pCtx->pMemAlign; in WelsRequestMem() 551 CMemoryAlign* pMa = pCtx->pMemAlign; in WelsFreeDynamicMemory() 579 FreePicture (pCtx->pTempDec, pCtx->pMemAlign); in WelsFreeDynamicMemory() 953 FreePicture (pCtx->pTempDec, pCtx->pMemAlign); in SyncPictureResolutionExt() 974 …static_cast<unsigned long long> (sizeof (SWelsDecoderContext) + pCtx->pMemAlign->WelsGetMemoryUsag… in SyncPictureResolutionExt()
|
D | pic_queue.cpp | 71 CMemoryAlign* pMa = pCtx->pMemAlign; in AllocPicture()
|
D | decoder_core.cpp | 609 CMemoryAlign* pMa = pCtx->pMemAlign; in InitBsBuffer() 654 CMemoryAlign* pMa = pCtx->pMemAlign; in ExpandBsBuffer() 717 CMemoryAlign* pMa = pCtx->pMemAlign; in ExpandBsLenBuffer() 763 if (MemInitNalList (&pCtx->pAccessUnitList, MAX_NAL_UNIT_NUM_IN_AU, pCtx->pMemAlign) != 0) in WelsInitStaticMemory() 784 CMemoryAlign* pMa = pCtx->pMemAlign; in WelsFreeStaticMemory() 1500 CMemoryAlign* pMa = pCtx->pMemAlign; in InitialDqLayersContext() 1639 CMemoryAlign* pMa = pCtx->pMemAlign; in UninitialDqLayersContext() 2353 …pCtx->pCabacDecEngine = (SWelsCabacDecEngine*)pCtx->pMemAlign->WelsMallocz (sizeof (SWelsCabacDecE… in ConstructAccessUnit() 2644 …oParamUpdate (pCtx->pFmo, pLayerInfo.pSps, pLayerInfo.pPps, &pCtx->iActiveFmoNum, pCtx->pMemAlign); in DecodeCurrentAccessUnit()
|
D | au_parser.cpp | 271 pCurNal = MemGetNextNal (&pCtx->pAccessUnitList, pCtx->pMemAlign); in ParseNalHeader() 1186 CMemoryAlign* pMa = pCtx->pMemAlign; in ParseSps() 1780 UninitFmoList (&pCtx->sFmoList[0], MAX_PPS_COUNT, pCtx->iActiveFmoNum, pCtx->pMemAlign); in ResetFmoList()
|
/third_party/openh264/codec/decoder/plus/src/ |
D | welsDecoderExt.cpp | 353 if (pCtx->pMemAlign != NULL) { in UninitDecoderCtx() 356 pCtx->pMemAlign->WelsGetMemoryUsage()); in UninitDecoderCtx() 357 delete pCtx->pMemAlign; in UninitDecoderCtx() 358 pCtx->pMemAlign = NULL; in UninitDecoderCtx() 410 pCtx->pMemAlign = new CMemoryAlign (iCacheLineSize); in InitDecoderCtx() 411 WELS_VERIFY_RETURN_PROC_IF (cmMallocMemeError, (NULL == pCtx->pMemAlign), UninitDecoderCtx (pCtx)) in InitDecoderCtx() 423 pCtx->pParam = (SDecodingParam*)pCtx->pMemAlign->WelsMallocz (sizeof (SDecodingParam), in InitDecoderCtx()
|
/third_party/openh264/codec/encoder/core/inc/ |
D | encoder_context.h | 215 CMemoryAlign* pMemAlign; member
|
/third_party/openh264/codec/encoder/core/src/ |
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() 1024 pMa = (*ppCtx)->pMemAlign; in InitDqLayers() 1193 (*ppCtx)->pMemAlign, in InitDqLayers() 1225 CMemoryAlign* pMa = (*ppCtx)->pMemAlign; in AllocStrideTables() 1535 CMemoryAlign* pMa = (*ppCtx)->pMemAlign; in RequestMemorySvc() 1800 CMemoryAlign* pMa = pCtx->pMemAlign; in FreeMemorySvc() 2000 if ((*ppCtx)->pMemAlign != NULL) { in FreeMemorySvc() 2002 (*ppCtx)->pMemAlign->WelsGetMemoryUsage()); in FreeMemorySvc() 2003 WELS_DELETE_OP ((*ppCtx)->pMemAlign); in FreeMemorySvc() [all …]
|
D | slice_multi_threading.cpp | 266 pMa = (*ppCtx)->pMemAlign; in RequestMtResource() 372 pMa = (*ppCtx)->pMemAlign; in ReleaseMtResource()
|
D | wels_preprocess.cpp | 119 FreeScaledPic (&m_sScaledPicture, m_pEncCtx->pMemAlign); in ~CWelsPreProcess() 159 FreeScaledPic (&m_sScaledPicture, pCtx->pMemAlign); in WelsPreprocessReset() 161 iRet = WelsInitScaledPic (pCtx->pSvcParam, &m_sScaledPicture, pCtx->pMemAlign); in WelsPreprocessReset() 168 CMemoryAlign* pMa = pCtx->pMemAlign; in AllocSpatialPictures() 201 CMemoryAlign* pMa = pCtx->pMemAlign; in FreeSpatialPictures()
|
D | svc_encode_slice.cpp | 1193 CMemoryAlign* pMA = pCtx->pMemAlign; in ReallocateSliceList() 1343 CMemoryAlign* pMA = pCtx->pMemAlign; in ExtendLayerBuffer() 1548 CMemoryAlign* pMA = pCtx->pMemAlign; in FrameBsRealloc()
|
D | ratectl.cpp | 168 …RcInitLayerMemory (pWelsSvcRc, pEncCtx->pMemAlign, 1 + pEncCtx->pSvcParam->sDependencyLayers[j].iH… in RcInitSequenceParameter() 1545 RcFreeLayerMemory (pWelsSvcRc, pEncCtx->pMemAlign); in WelsRcFreeMemory()
|
/third_party/openh264/codec/decoder/core/inc/ |
D | decoder_context.h | 510 CMemoryAlign* pMemAlign; member
|