Home
last modified time | relevance | path

Searched refs:pSvcParam (Results 1 – 17 of 17) sorted by relevance

/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp132 int ParseLayerConfig (CReadConfig& cRdLayerCfg, const int iLayer, SEncParamExt& pSvcParam, SFilesSe… in ParseLayerConfig() argument
138 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseLayerConfig()
139 int iLeftTargetBitrate = (pSvcParam.iRCMode != RC_OFF_MODE) ? pSvcParam.iTargetBitrate : 0; in ParseLayerConfig()
170 if (pSvcParam.iRCMode != RC_OFF_MODE) { in ParseLayerConfig()
184 if (pSvcParam.iRCMode != RC_OFF_MODE) { in ParseLayerConfig()
221 int ParseConfig (CReadConfig& cRdCfg, SSourcePicture* pSrcPic, SEncParamExt& pSvcParam, SFilesSet& … in ParseConfig() argument
233 pSvcParam.iUsageType = (EUsageType)atoi (strTag[1].c_str()); in ParseConfig()
235 pSvcParam.bSimulcastAVC = atoi (strTag[1].c_str()) ? true : false; in ParseConfig()
246 pSvcParam.fMaxFrameRate = (float)atof (strTag[1].c_str()); in ParseConfig()
250 pSvcParam.iTemporalLayerNum = atoi (strTag[1].c_str()); in ParseConfig()
[all …]
/third_party/openh264/codec/encoder/plus/src/
DwelsEncoderExt.cpp446 m_pEncContext->pSvcParam->iPicWidth); in EncodeFrameInternal()
449 m_pEncContext->pSvcParam->iPicWidth); in EncodeFrameInternal()
473 DumpSrcPicture (pSrcPic, m_pEncContext->pSvcParam->iUsageType); in EncodeFrameInternal()
587 int32_t iMaxDid = m_pEncContext->pSvcParam->iSpatialLayerNum - 1; in UpdateStatistics()
604 …SSpatialLayerInternal* pSpatialLayerInternalParam = & (m_pEncContext->pSvcParam->sDependencyLayers… in UpdateStatistics()
647 if (kiDeltaFrames > (m_pEncContext->pSvcParam->fMaxFrameRate * 2)) { in UpdateStatistics()
654 … if (WELS_ABS (pStatistics->fLatestFrameRate - m_pEncContext->pSvcParam->fMaxFrameRate) > 30) { in UpdateStatistics()
658 … pStatistics->fLatestFrameRate, m_pEncContext->pSvcParam->fMaxFrameRate, kiCurrentFrameTs, in UpdateStatistics()
662 …if (m_pEncContext->pSvcParam->iRCMode == RC_QUALITY_MODE || m_pEncContext->pSvcParam->iRCMode == R… in UpdateStatistics()
664 … && WELS_ABS (m_pEncContext->pSvcParam->fMaxFrameRate - pStatistics->fLatestFrameRate) > 5) { in UpdateStatistics()
[all …]
/third_party/openh264/codec/encoder/core/src/
Dwels_preprocess.cpp92 switch (pEncCtx->pSvcParam->iUsageType) { in CreatePreProcess()
147 SWelsSvcCodingParam* pSvcParam = pCtx->pSvcParam; in WelsPreprocessReset() local
149 pSvcParam->SUsedPicRect.iLeft = 0; in WelsPreprocessReset()
150 pSvcParam->SUsedPicRect.iTop = 0; in WelsPreprocessReset()
151 pSvcParam->SUsedPicRect.iWidth = iWidth; in WelsPreprocessReset()
152 pSvcParam->SUsedPicRect.iHeight = iHeight; in WelsPreprocessReset()
161 iRet = WelsInitScaledPic (pCtx->pSvcParam, &m_sScaledPicture, pCtx->pMemAlign); in WelsPreprocessReset()
203 while (j < pCtx->pSvcParam->iSpatialLayerNum) { in FreeSpatialPictures()
219 SWelsSvcCodingParam* pSvcParam = pCtx->pSvcParam; in BuildSpatialPicList() local
231 m_iAvaliableRefInSpatialPicList = pSvcParam->iNumRefFrame; in BuildSpatialPicList()
[all …]
Dref_list_mgr_svc.cpp72 for (i = 0; i < pCtx->pSvcParam->iLTRRefNum + 1; i++) in WelsResetRefList()
74 for (i = 0; i < pCtx->pSvcParam->iNumRefFrame + 1; i++) in WelsResetRefList()
106 for (int32_t i = 0; i < pCtx->pSvcParam->iNumRefFrame; ++i) { in DeleteNonSceneLTR()
158 SSpatialLayerInternal* pParamInternal = &pCtx->pSvcParam->sDependencyLayers[pCtx->uiDependencyId]; in DeleteInvalidLTR()
199 SSpatialLayerInternal* pParamInternal = &pCtx->pSvcParam->sDependencyLayers[pCtx->uiDependencyId]; in HandleLTRMarkFeedback()
256 …int32_t iGoPFrameNumInterval = ((pCtx->pSvcParam->uiGopSize >> 1) > 1) ? (pCtx->pSvcParam->uiGopSi… in LTRMarkProcess()
261 SSpatialLayerInternal* pParamInternal = &pCtx->pSvcParam->sDependencyLayers[pCtx->uiDependencyId]; in LTRMarkProcess()
306 if (pRefList->uiLongRefCount > pCtx->pSvcParam->iLTRRefNum) { in LTRMarkProcess()
331 const int32_t kiNumRef = pCtx->pSvcParam->iNumRefFrame; in PrefetchNextBuffer()
356 SSpatialLayerInternal* pParamD = &pCtx->pSvcParam->sDependencyLayers[pCtx->uiDependencyId]; in WelsUpdateRefList()
[all …]
Dratectl.cpp112 for (j = 0; j < pEncCtx->pSvcParam->iSpatialLayerNum; j++) { in RcInitSequenceParameter()
114 pDLayerParam = &pEncCtx->pSvcParam->sSpatialLayers[j]; in RcInitSequenceParameter()
118 pWelsSvcRc->iRcVaryPercentage = pEncCtx->pSvcParam->iBitsVaryPercentage; // % -- for temp in RcInitSequenceParameter()
155 pWelsSvcRc->iMinQp = pEncCtx->pSvcParam->iMinQp; in RcInitSequenceParameter()
157 pWelsSvcRc->iMaxQp = pEncCtx->pSvcParam->iMaxQp; in RcInitSequenceParameter()
168 …RcInitLayerMemory (pWelsSvcRc, pEncCtx->pMemAlign, 1 + pEncCtx->pSvcParam->sDependencyLayers[j].iH… in RcInitSequenceParameter()
181 …SSpatialLayerInternal* pDLayerParam = &pEncCtx->pSvcParam->sDependencyLayers[pEncCtx->uiDependenc… in RcInitTlWeight()
217 …SSpatialLayerConfig* pDLayerParam = &pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyI… in RcUpdateBitrateFps()
218 …SSpatialLayerInternal* pDLayerParamInternal = &pEncCtx->pSvcParam->sDependencyLayers[pEncCtx->… in RcUpdateBitrateFps()
259 const int32_t kiHighestTid = pEncCtx->pSvcParam->sDependencyLayers[kiDid].iHighestTemporalId; in RcInitVGop()
[all …]
Dencoder.cpp233 SSpatialLayerInternal* pParamInternal = &pEncCtx->pSvcParam->sDependencyLayers[kiDidx]; in UpdateFrameNum()
252 SSpatialLayerInternal* pParamInternal = &pEncCtx->pSvcParam->sDependencyLayers[kiDidx]; in LoadBackFrameNum()
280 SSpatialLayerInternal* pParamInternal = &pEncCtx->pSvcParam->sDependencyLayers[kiDidx]; in InitFrameCoding()
335 SWelsSvcCodingParam* pSvcParam = pEncCtx->pSvcParam; in DecideFrameType() local
336 SSpatialLayerInternal* pParamInternal = &pEncCtx->pSvcParam->sDependencyLayers[kiDidx]; in DecideFrameType()
339 if (pSvcParam->iUsageType == SCREEN_CONTENT_REAL_TIME) { in DecideFrameType()
340 if ((!pSvcParam->bEnableSceneChangeDetect) || pEncCtx->pVaa->bIdrPeriodFlag || in DecideFrameType()
341 (kiSpatialNum < pSvcParam->iSpatialLayerNum)) { in DecideFrameType()
346 …if (pEncCtx->pVaa->bIdrPeriodFlag || pParamInternal->bEncCurFrmAsIdrFlag || (!pSvcParam->bEnableLo… in DecideFrameType()
349 } else if (pSvcParam->bEnableLongTermReference && (bSceneChangeFlag in DecideFrameType()
[all …]
Dencoder_ext.cpp908 int32_t iNumDlayer = (*ppCtx)->pSvcParam->iSpatialLayerNum; in InitMbListD()
919 iMbWidth = ((*ppCtx)->pSvcParam->sSpatialLayers[i].iVideoWidth + 15) >> 4; in InitMbListD()
920 iMbHeight = ((*ppCtx)->pSvcParam->sSpatialLayers[i].iVideoHeight + 15) >> 4; in InitMbListD()
1025 pParam = (*ppCtx)->pSvcParam; in InitDqLayers()
1226 SWelsSvcCodingParam* pParam = (*ppCtx)->pSvcParam; in AllocStrideTables()
1534 SWelsSvcCodingParam* pParam = (*ppCtx)->pSvcParam; in RequestMemorySvc()
1704 …if (RequestMemoryVaaScreen ((*ppCtx)->pVaa, pMa, (*ppCtx)->pSvcParam->iMaxNumRefFrame, iCountMaxMb… in RequestMemorySvc()
1713 if ((*ppCtx)->pSvcParam->bEnableAdaptiveQuant) { //malloc mem in RequestMemorySvc()
1739 if ((*ppCtx)->pSvcParam->bEnableBackgroundDetection) { //BGD control in RequestMemorySvc()
1801 SWelsSvcCodingParam* pParam = pCtx->pSvcParam; in FreeMemorySvc()
[all …]
Dwels_task_management.cpp98 m_iThreadNum = m_pEncCtx->pSvcParam->iMultipleThreadIdc; in Init()
142 uint32_t uiSliceMode = pEncCtx->pSvcParam->sSpatialLayers[kiCurDid].sSliceArgument.uiSliceMode; in CreateTasks()
145 …kiTaskCount = m_iTaskNum[kiCurDid] = pEncCtx->pSvcParam->sSpatialLayers[kiCurDid].sSliceArgument.u… in CreateTasks()
161 if (pEncCtx->pSvcParam->bUseLoadBalancing) { in CreateTasks()
Dsvc_encode_slice.cpp92 …SSpatialLayerInternal* pParamInternal = &pEncCtx->pSvcParam->sDependencyLayers[pEncCtx->uiDependen… in WelsSliceHeaderExtInit()
536 if (pEncCtx->pSvcParam->iEntropyCodingModeFlag) { in WelsISliceMdEnc()
542 if (!pEncCtx->pSvcParam->iEntropyCodingModeFlag) in WelsISliceMdEnc()
557 if (!pEncCtx->pSvcParam->iEntropyCodingModeFlag) { in WelsISliceMdEnc()
606 if (pEncCtx->pSvcParam->iEntropyCodingModeFlag) { in WelsISliceMdEncDynamic()
685 sMd.bMdUsingSad = (pEncCtx->pSvcParam->iComplexityMode == LOW_COMPLEXITY); in WelsPSliceMdEnc()
700 sMd.bMdUsingSad = (pEncCtx->pSvcParam->iComplexityMode == LOW_COMPLEXITY); in WelsPSliceMdEncDynamic()
713 const bool kbHighestSpatial = pEncCtx->pSvcParam->iSpatialLayerNum == in WelsCodePSlice()
732 const bool kbHighestSpatial = pEncCtx->pSvcParam->iSpatialLayerNum == in WelsCodePOverDynamicSlice()
1023 int32_t iThreadNum = pCtx->pSvcParam->iMultipleThreadIdc; in InitSliceThreadInfo()
[all …]
Dslice_multi_threading.cpp184 if (pCtx->pSvcParam->iRCMode != RC_OFF_MODE) { in DynamicAdjustSlicing()
217 if (pCtx->pSvcParam->iRCMode != RC_OFF_MODE) { in DynamicAdjustSlicing()
373 iThreadNum = (*ppCtx)->pSvcParam->iMultipleThreadIdc; in ReleaseMtResource()
539 …&& (pCtx->pSvcParam->sSpatialLayers[iCurDid - 1].sSliceArgument.uiSliceMode == SM_FIXEDSLCNUM_SLICE in AdjustEnhanceLayer()
540 … && pCtx->pSvcParam->iMultipleThreadIdc >= pCtx->pSvcParam->sSpatialLayers[iCurDid - in AdjustEnhanceLayer()
600 pPara = pCtx->pSvcParam; in TrackSliceConsumeTime()
Dwels_task_encoder.cpp153 …SSpatialLayerInternal* pParamInternal = &m_pCtx->pSvcParam->sDependencyLayers[m_pCtx->uiDependency… in ExecuteTask()
217 …SSpatialLayerInternal* pParamInternal = &m_pCtx->pSvcParam->sDependencyLayers[m_pCtx->uiDependency… in FinishTask()
236 …SSpatialLayerInternal* pParamInternal = &m_pCtx->pSvcParam->sDependencyLayers[m_pCtx->uiDependen… in ExecuteTask()
Dparaset_strategy.cpp90 SWelsSvcCodingParam* pParam = pCtx->pSvcParam; in WelsGenerateNewSps()
481 …const int32_t kiFoundSpsId = FindExistingSps (pCtx->pSvcParam, kbUseSubsetSps, iDlayerIndex, iDlay… in GenerateNewSps()
/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp51 SSpatialLayerConfig* pLayerCfg = &pCtx->pSvcParam->sSpatialLayers[iLayerIdx]; in AllocateLayerBuffer()
95 SSpatialLayerConfig* pLayerCfg = &pCtx->pSvcParam->sSpatialLayers[iLayerIdx]; in InitParamForSizeLimitSlcMode()
101 pCtx->pSvcParam->uiMaxNalSize = 1500; in InitParamForSizeLimitSlcMode()
118 SSpatialLayerConfig* pLayerCfg = &pCtx->pSvcParam->sSpatialLayers[iLayerIdx]; in InitParamForRasterSlcMode()
144 SSpatialLayerConfig* pLayerCfg = &pCtx->pSvcParam->sSpatialLayers[iLayerIdx]; in SetParamForReallocateTest()
168 … (cmResultSuccess != m_pEncoder->InitializeExt ((SEncParamExt*)m_EncContext.pSvcParam))) in InitParamForTestCase()
173 …SSliceArgument* pSliceArgument = &m_EncContext.pSvcParam->sSpatialLayers[iLayerIdx].sSliceArgument; in InitParamForSizeLimitSlcModeCase()
189 … (cmResultSuccess != m_pEncoder->InitializeExt ((SEncParamExt*)m_EncContext.pSvcParam))) in InitParamForSizeLimitSlcModeCase()
208 pCtx->pSvcParam->iMultipleThreadIdc = (rand() % MAX_THREADS_NUM) + 1; in InitParam()
209 pCtx->pSvcParam->iMultipleThreadIdc = (pCtx->pSvcParam->iMultipleThreadIdc <= 1) ? 2 : in InitParam()
[all …]
DEncUT_SliceBufferReallocate.h29 m_EncContext.pSvcParam = pCodingParam; in SetUp()
31 iRet = m_pEncoder->GetDefaultParams (m_EncContext.pSvcParam); in SetUp()
38 if (NULL != m_EncContext.pSvcParam) { in TearDown()
39 m_EncContext.pMemAlign->WelsFree (m_EncContext.pSvcParam, "SWelsSvcCodingParam"); in TearDown()
40 m_EncContext.pSvcParam = NULL; in TearDown()
DEncUT_EncoderTaskManagement.cpp14 sCtx.pSvcParam = &sWelsSvcCodingParam; in TEST()
27 sCtx.pSvcParam = &sWelsSvcCodingParam; in TEST()
40 sCtx.pSvcParam = &sWelsSvcCodingParam; in TEST()
/third_party/openh264/codec/encoder/core/inc/
Dwels_preprocess.h176 …int32_t ColorspaceConvert (SWelsSvcCodingParam* pSvcParam, SPicture* pDstPic, const SSourcePicture…
178 …void WelsMoveMemoryWrapper (SWelsSvcCodingParam* pSvcParam, SPicture* pDstPic, const SSourcePictur…
Dencoder_context.h119 SWelsSvcCodingParam* pSvcParam; // SVC parameter, WelsSVCParamConfig in svc_param_settings.h member