Home
last modified time | relevance | path

Searched refs:pDqLayer (Results 1 – 12 of 12) sorted by relevance

/third_party/openh264/test/decoder/
DDecUT_PredMv.cpp415 int32_t AllocLayerData (PDqLayer pDqLayer) { in AllocLayerData() argument
417pDqLayer->pSliceIdc = (int32_t*) WelsMallocz (pDqLayer->iMbWidth * pDqLayer->iMbHeight * sizeof (i… in AllocLayerData()
419 if (pDqLayer->pSliceIdc == NULL) in AllocLayerData()
422pDqLayer->pMbType = (uint32_t*) WelsMallocz (pDqLayer->iMbWidth * pDqLayer->iMbHeight * sizeof (ui… in AllocLayerData()
424 if (pDqLayer->pMbType == NULL) in AllocLayerData()
427pDqLayer->pMv[0] = (int16_t (*)[MB_BLOCK4x4_NUM][MV_A]) WelsMallocz (pDqLayer->iMbWidth * pDqLayer in AllocLayerData()
429 if (pDqLayer->pMv[0] == NULL) in AllocLayerData()
432pDqLayer->pRefIndex[0] = (int8_t (*)[MB_BLOCK4x4_NUM]) WelsMallocz (pDqLayer->iMbWidth * pDqLayer-… in AllocLayerData()
434 if (pDqLayer->pRefIndex[0] == NULL) in AllocLayerData()
440 int32_t FreeLayerData (PDqLayer pDqLayer) { in FreeLayerData() argument
[all …]
/third_party/openh264/codec/decoder/core/inc/
Drec_mb.h83 …32_t RecI4x4Mb (int32_t iMBXY, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLayer);
85 …_t RecI4x4Luma (int32_t iMBXY, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLayer);
87 … RecI4x4Chroma (int32_t iMBXY, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLayer);
89 …32_t RecI8x8Mb (int32_t iMbXy, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLayer);
91 …_t RecI8x8Luma (int32_t iMbXy, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLayer);
93 …_t RecI16x16Mb (int32_t iMBXY, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLayer);
95 …32_t RecChroma (int32_t iMBXY, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLayer);
/third_party/openh264/codec/decoder/core/src/
Drec_mb.cpp64 …2_t RecI8x8Mb (int32_t iMbXy, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLayer) { in RecI8x8Mb() argument
65 RecI8x8Luma (iMbXy, pCtx, pScoeffLevel, pDqLayer); in RecI8x8Mb()
66 RecI4x4Chroma (iMbXy, pCtx, pScoeffLevel, pDqLayer); in RecI8x8Mb()
70 …t RecI8x8Luma (int32_t iMbXy, PWelsDecoderContext pCtx, int16_t* pScoeffLevel, PDqLayer pDqLayer) { in RecI8x8Luma() argument
73 uint8_t* pPred = pDqLayer->pPred[0]; in RecI8x8Luma()
75 int32_t iLumaStride = pDqLayer->iLumaStride; in RecI8x8Luma()
79 int8_t* pIntra8x8PredMode = pDqLayer->pIntra4x4FinalMode[iMbXy]; // I_NxN in RecI8x8Luma()
88 bTLAvail[0] = !! (pDqLayer->pIntraNxNAvailFlag[iMbXy] & 0x02); in RecI8x8Luma()
89 bTLAvail[1] = !! (pDqLayer->pIntraNxNAvailFlag[iMbXy] & 0x01); in RecI8x8Luma()
90 bTLAvail[2] = !! (pDqLayer->pIntraNxNAvailFlag[iMbXy] & 0x04); in RecI8x8Luma()
[all …]
Ddecoder_core.cpp2370 static inline void InitDqLayerInfo (PDqLayer pDqLayer, PLayerInfo pLayerInfo, PNalUnit pNalUnit, PP… in InitDqLayerInfo() argument
2376 memcpy (&pDqLayer->sLayerInfo, pLayerInfo, sizeof (SLayerInfo)); //confirmed_safe_unsafe_usage in InitDqLayerInfo()
2378 pDqLayer->pDec = pPicDec; in InitDqLayerInfo()
2379 pDqLayer->iMbWidth = pSh->iMbWidth; // MB width of this picture in InitDqLayerInfo()
2380 pDqLayer->iMbHeight = pSh->iMbHeight;// MB height of this picture in InitDqLayerInfo()
2382pDqLayer->iSliceIdcBackup = (pSh->iFirstMbInSlice << 7) | (pNalHdrExt->uiDependencyId << 4) | (pNa… in InitDqLayerInfo()
2385 pDqLayer->uiPpsId = pLayerInfo->pPps->iPpsId; in InitDqLayerInfo()
2386pDqLayer->uiDisableInterLayerDeblockingFilterIdc = pShExt->uiDisableInterLayerDeblockingFilte… in InitDqLayerInfo()
2387 pDqLayer->iInterLayerSliceAlphaC0Offset = pShExt->iInterLayerSliceAlphaC0Offset; in InitDqLayerInfo()
2388 pDqLayer->iInterLayerSliceBetaOffset = pShExt->iInterLayerSliceBetaOffset; in InitDqLayerInfo()
[all …]
/third_party/openh264/codec/encoder/core/src/
Dsvc_encode_slice.cpp1020 SDqLayer* pDqLayer, in InitSliceThreadInfo() argument
1032 if (pDqLayer->bThreadSlcBufferFlag) { in InitSliceThreadInfo()
1033 iMaxSliceNum = pDqLayer->iMaxSliceNum / iThreadNum + 1; in InitSliceThreadInfo()
1036 iMaxSliceNum = pDqLayer->iMaxSliceNum; in InitSliceThreadInfo()
1041 pDqLayer->sSliceBufferInfo[iIdx].iMaxSliceNum = iMaxSliceNum; in InitSliceThreadInfo()
1042 pDqLayer->sSliceBufferInfo[iIdx].iCodedSliceNum = 0; in InitSliceThreadInfo()
1043pDqLayer->sSliceBufferInfo[iIdx].pSliceBuffer = (SSlice*)pMa->WelsMallocz (sizeof (SSlice) * iMa… in InitSliceThreadInfo()
1045 if (NULL == pDqLayer->sSliceBufferInfo[iIdx].pSliceBuffer) { in InitSliceThreadInfo()
1050 iRet = InitSliceList (pDqLayer->sSliceBufferInfo[iIdx].pSliceBuffer, in InitSliceThreadInfo()
1054 pDqLayer->bSliceBsBufferFlag, in InitSliceThreadInfo()
[all …]
Dencoder.cpp414 SDqLayer* pDqLayer, bool bSimulCastAVC) { in DumpDependencyRec() argument
420 pSpsTmp = pDqLayer->sLayerInfo.pSpsP; in DumpDependencyRec()
422 pSpsTmp = & (pDqLayer->sLayerInfo.pSubsetSpsP->pSps); in DumpDependencyRec()
485 SDqLayer* pDqLayer) { in DumpRecFrame() argument
487 SWelsSPS* pSpsTmp = (kiDid > BASE_DEPENDENCY_ID) ? & (pDqLayer->sLayerInfo.pSubsetSpsP->pSps) : in DumpRecFrame()
488 pDqLayer->sLayerInfo.pSpsP; in DumpRecFrame()
Dencoder_ext.cpp1067 SDqLayer* pDqLayer = NULL; in InitDqLayers() local
1080 pDqLayer = (SDqLayer*)pMa->WelsMallocz (sizeof (SDqLayer), "pDqLayer"); in InitDqLayers()
1081 WELS_VERIFY_RETURN_PROC_IF (1, (NULL == pDqLayer), FreeDqLayer (pDqLayer, pMa)) in InitDqLayers()
1083 pDqLayer->bNeedAdjustingSlicing = false; in InitDqLayers()
1085 pDqLayer->iMbWidth = kiMbW; in InitDqLayers()
1086 pDqLayer->iMbHeight = kiMbH; in InitDqLayers()
1092 pDqLayer->iMaxSliceNum = iMaxSliceNum; in InitDqLayers()
1094 iResult = InitSliceInLayer (*ppCtx, pDqLayer, iDlayerIndex, pMa); in InitDqLayers()
1097 FreeDqLayer (pDqLayer, pMa); in InitDqLayers()
1103 pDqLayer->iLoopFilterDisableIdc = pParam->iLoopFilterDisableIdc; in InitDqLayers()
[all …]
Dsvc_mode_decision.cpp498 void SetBlockStaticIdcToMd (void* pVaa, SWelsMD* pWelsMd, SMB* pCurMb, SDqLayer* pDqLayer) { in SetBlockStaticIdcToMd() argument
503 const int32_t kiMbWidth = pDqLayer->iMbWidth; in SetBlockStaticIdcToMd()
/third_party/openh264/codec/encoder/core/inc/
Dencoder.h97 SDqLayer* pDqLayer, bool bSimulCastAVC);
102 … (SPicture* pSrcPic, const char* kpFileName, const int8_t kiDid, bool bAppend, SDqLayer* pDqLayer);
Dsvc_encode_slice.h126 SDqLayer* pDqLayer,
137 SDqLayer* pDqLayer,
Dsvc_enc_frame.h57 typedef SDqLayer* pDqLayer; typedef
/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp52 SDqLayer* pDqLayer = (SDqLayer*)pCtx->pMemAlign->WelsMallocz (sizeof (SDqLayer), "pDqLayer"); in AllocateLayerBuffer() local
53 WELS_VERIFY_RETURN_IF (ENC_RETURN_MEMALLOCERR, (NULL == pDqLayer)) in AllocateLayerBuffer()
55 pDqLayer->iMbWidth = (pLayerCfg->iVideoWidth + 15) >> 4; in AllocateLayerBuffer()
56 pDqLayer->iMbHeight = (pLayerCfg->iVideoHeight + 15) >> 4; in AllocateLayerBuffer()
57 pDqLayer->iMaxSliceNum = GetInitialSliceNum (&pLayerCfg->sSliceArgument); in AllocateLayerBuffer()
59 int32_t iRet = InitSliceInLayer (pCtx, pDqLayer, iLayerIdx, pCtx->pMemAlign); in AllocateLayerBuffer()
61 FreeDqLayer (pDqLayer, pCtx->pMemAlign); in AllocateLayerBuffer()
65 pCtx->ppDqLayerList[iLayerIdx] = pDqLayer; in AllocateLayerBuffer()