Home
last modified time | relevance | path

Searched refs:pCodingParam (Results 1 – 6 of 6) sorted by relevance

/third_party/openh264/codec/encoder/core/inc/
Dparam_svc.h231 int32_t ParamBaseTranscode (const SEncParamBase& pCodingParam) { in ParamBaseTranscode()
233 fMaxFrameRate = WELS_CLIP3 (pCodingParam.fMaxFrameRate, MIN_FRAME_RATE, MAX_FRAME_RATE); in ParamBaseTranscode()
234 iTargetBitrate = pCodingParam.iTargetBitrate; in ParamBaseTranscode()
235 iUsageType = pCodingParam.iUsageType; in ParamBaseTranscode()
236 iPicWidth = pCodingParam.iPicWidth; in ParamBaseTranscode()
237 iPicHeight = pCodingParam.iPicHeight; in ParamBaseTranscode()
244 iRCMode = pCodingParam.iRCMode; // rc mode in ParamBaseTranscode()
256 sSpatialLayers[iIdxSpatial].fFrameRate = WELS_CLIP3 (pCodingParam.fMaxFrameRate, in ParamBaseTranscode()
268 …sSpatialLayers[iIdxSpatial].iSpatialBitrate = pCodingParam.iTargetBitrate; // target bitrate for c… in ParamBaseTranscode()
281 void GetBaseParams (SEncParamBase* pCodingParam) { in GetBaseParams()
[all …]
Dparaset_strategy.h67 …virtual bool CheckParamCompatibility (SWelsSvcCodingParam* pCodingParam, SLogContext* pLogCtx) = 0;
119 bool CheckParamCompatibility (SWelsSvcCodingParam* pCodingParam, SLogContext* pLogCtx) { in CheckParamCompatibility() argument
241 bool CheckParamCompatibility (SWelsSvcCodingParam* pCodingParam, SLogContext* pLogCtx);
/third_party/openh264/codec/encoder/core/src/
Dencoder_ext.cpp403 int32_t ParamValidationExt (SLogContext* pLogCtx, SWelsSvcCodingParam* pCodingParam) { in ParamValidationExt() argument
407 assert (pCodingParam != NULL); in ParamValidationExt()
408 if (NULL == pCodingParam) in ParamValidationExt()
411 …if ((pCodingParam->iUsageType != CAMERA_VIDEO_REAL_TIME) && (pCodingParam->iUsageType != SCREEN_CO… in ParamValidationExt()
412 …WelsLog (pLogCtx, WELS_LOG_ERROR, "ParamValidationExt(),Invalid usage type = %d", pCodingParam->iU… in ParamValidationExt()
415 if ((pCodingParam->iUsageType == SCREEN_CONTENT_REAL_TIME) && (!pCodingParam->bIsLosslessLink in ParamValidationExt()
416 && pCodingParam->bEnableLongTermReference)) { in ParamValidationExt()
419 pCodingParam->bEnableLongTermReference = false; in ParamValidationExt()
421 if (pCodingParam->iSpatialLayerNum < 1 || pCodingParam->iSpatialLayerNum > MAX_DEPENDENCY_LAYER) { in ParamValidationExt()
423 pCodingParam->iSpatialLayerNum); in ParamValidationExt()
[all …]
Dparaset_strategy.cpp448 bool CWelsParametersetSpsListing::CheckParamCompatibility (SWelsSvcCodingParam* pCodingParam, SLogC… in CheckParamCompatibility() argument
449 if (pCodingParam->iSpatialLayerNum > 1 && (!pCodingParam->bSimulcastAVC)) { in CheckParamCompatibility()
452 pCodingParam->eSpsPpsIdStrategy, pCodingParam->iSpatialLayerNum); in CheckParamCompatibility()
453 pCodingParam->eSpsPpsIdStrategy = CONSTANT_ID; in CheckParamCompatibility()
Dslice_multi_threading.cpp251 int32_t RequestMtResource (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingParam, const int32_t iC… in RequestMtResource() argument
261 if (NULL == ppCtx || NULL == pCodingParam || NULL == *ppCtx || iCountBsLen <= 0) in RequestMtResource()
267 pPara = pCodingParam; in RequestMtResource()
/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.h25 …SWelsSvcCodingParam* pCodingParam = (SWelsSvcCodingParam*)m_EncContext.pMemAlign->WelsMalloc (size… in SetUp() local
28 ASSERT_TRUE (NULL != pCodingParam); in SetUp()
29 m_EncContext.pSvcParam = pCodingParam; in SetUp()