Home
last modified time | relevance | path

Searched refs:iRCMode (Results 1 – 18 of 18) sorted by relevance

/third_party/openh264/test/encoder/
DEncUT_ParameterSetStrategy.cpp52 sEncParamBase.iRCMode = RC_BITRATE_MODE; in GenerateParam()
77 … iCurSpsId, sParam1.bEnableFrameCroppingFlag, sParam1.iRCMode != RC_OFF_MODE, iDlayerCount, false); in TEST_F()
97 … iCurSpsId, sParam2.bEnableFrameCroppingFlag, sParam2.iRCMode != RC_OFF_MODE, iDlayerCount, false); in TEST_F()
137 sParamExt.iRCMode = RC_BITRATE_MODE; in TEST_F()
200 sSvcCodingParam.iRCMode != RC_OFF_MODE, in TEST_F()
DEncUT_EncoderExt.cpp488 pEncParamBase->iRCMode = RC_BITRATE_MODE; //-1, 0, 1, 2 in GetValidEncParamBase()
651 sEncParamExt.iRCMode = RC_BITRATE_MODE; //-1, 0, 1, 2 in TEST_F()
741 sEncParamExt.iRCMode = RC_BITRATE_MODE; //-1, 0, 1, 2 in TEST_F()
956 sEncParamExt.iRCMode = RC_BITRATE_MODE; in TEST_F()
1021 sEncParamExt.iRCMode = RC_BITRATE_MODE; in TEST_F()
DEncUT_SliceBufferReallocate.cpp218 pCtx->pSvcParam->iRCMode = RC_OFF_MODE; in InitParam()
/third_party/openh264/codec/encoder/core/inc/
Dparam_svc.h162 param.iRCMode = RC_QUALITY_MODE; in FillDefault()
244 iRCMode = pCodingParam.iRCMode; // rc mode in ParamBaseTranscode()
286 pCodingParam->iRCMode = iRCMode; in GetBaseParams()
314 iRCMode = pCodingParam.iRCMode; // rc mode in ParamTranscode()
/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp139 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()
316 pSvcParam.iRCMode = (RC_MODES) atoi (strTag[1].c_str()); in ParseConfig()
319 if ((pSvcParam.iRCMode != RC_OFF_MODE) && pSvcParam.iTargetBitrate <= 0) { in ParseConfig()
325 if ((pSvcParam.iRCMode != RC_OFF_MODE) && pSvcParam.iMaxBitrate < 0) { in ParseConfig()
557 pSvcParam.iRCMode = static_cast<RC_MODES> (atoi (argv[n++])); in ParseCommandLine()
683 sParam.iRCMode = RC_QUALITY_MODE; // rc mode control in FillSpecificParameters()
/third_party/openh264/codec/encoder/core/src/
Dparaset_strategy.cpp96 … kiSpsId, pParam->bEnableFrameCroppingFlag, pParam->iRCMode != RC_OFF_MODE, iDlayerCount, in WelsGenerateNewSps()
101 … kiSpsId, pParam->bEnableFrameCroppingFlag, pParam->iRCMode != RC_OFF_MODE, iDlayerCount); in WelsGenerateNewSps()
180 0, pParam->bEnableFrameCroppingFlag, pParam->iRCMode != RC_OFF_MODE, iDlayerCount, in FindExistingSps()
191 … 0, pParam->bEnableFrameCroppingFlag, pParam->iRCMode != RC_OFF_MODE, iDlayerCount); in FindExistingSps()
Dencoder_ext.cpp345 …if ((pCfg->iRCMode != RC_OFF_MODE) && (pCfg->iRCMode != RC_QUALITY_MODE) && (pCfg->iRCMode != RC_B… in ParamValidation()
346 && (pCfg->iRCMode != RC_BITRATE_MODE) && (pCfg->iRCMode != RC_TIMESTAMP_MODE)) { in ParamValidation()
347 WelsLog (pLogCtx, WELS_LOG_ERROR, "ParamValidation(),Invalid iRCMode = %d", pCfg->iRCMode); in ParamValidation()
351 if (pCfg->iRCMode != RC_OFF_MODE) { in ParamValidation()
370 …if ((pCfg->iRCMode == RC_QUALITY_MODE) || (pCfg->iRCMode == RC_BITRATE_MODE) || (pCfg->iRCMode == … in ParamValidation()
554 …ceArgumentValidationFixedSliceMode (pLogCtx, &pSpatialLayer->sSliceArgument, pCodingParam->iRCMode, in ParamValidationExt()
604 if ((pCodingParam->iRCMode != RC_OFF_MODE) && pSpatialLayer->sSliceArgument.uiSliceNum > 1) { in ParamValidationExt()
2026 …urn = SliceArgumentValidationFixedSliceMode (pLogCtx, &pDlp->sSliceArgument, pCodingParam->iRCMode, in InitSliceSettings()
2352 WelsRcInitModule (pCtx, pCtx->pSvcParam->iRCMode); in WelsInitEncoderExt()
2487 if (pCtx->pSvcParam->iRCMode != RC_OFF_MODE) { in WelsInitCurrentDlayerMltslc()
[all …]
Dwels_preprocess.cpp278 bool bCalculateVar = (pSvcParam->iRCMode >= RC_BITRATE_MODE && pCtx->eSliceType == I_SLICE); in AnalyzeSpatialPic()
890 if (pSvcParam->iRCMode == RC_QUALITY_MODE && pCtx->eSliceType == P_SLICE) { in AnalyzePictureComplexity()
892 … } else if (((pSvcParam->iRCMode == RC_BITRATE_MODE) || (pSvcParam->iRCMode == RC_TIMESTAMP_MODE)) in AnalyzePictureComplexity()
895 … } else if (((pSvcParam->iRCMode == RC_BITRATE_MODE) || (pSvcParam->iRCMode == RC_TIMESTAMP_MODE)) in AnalyzePictureComplexity()
Dslice_multi_threading.cpp184 if (pCtx->pSvcParam->iRCMode != RC_OFF_MODE) { in DynamicAdjustSlicing()
217 if (pCtx->pSvcParam->iRCMode != RC_OFF_MODE) { in DynamicAdjustSlicing()
Dratectl.cpp532 pWelsSvcRc->bGomRC = (RC_OFF_MODE == pEncCtx->pSvcParam->iRCMode || in RcInitSliceInformation()
533 RC_BUFFERBASED_MODE == pEncCtx->pSvcParam->iRCMode) ? false : true; in RcInitSliceInformation()
560 if ((pWelsSvcRc->iTargetBits <= 0) && ((pEncCtx->pSvcParam->iRCMode == RC_BITRATE_MODE) in RcDecideTargetBits()
1161 if (pEncCtx->pSvcParam->iRCMode == RC_TIMESTAMP_MODE) { in WelsRcPictureInitGom()
1168 if ((kiSliceNum > 1) || ((pEncCtx->pSvcParam->iRCMode == RC_BITRATE_MODE) in WelsRcPictureInitGom()
/third_party/openh264/codec/encoder/plus/src/
DwelsEncoderExt.cpp511 pParam->iRCMode, in TraceParamInfo()
662 …if (m_pEncContext->pSvcParam->iRCMode == RC_QUALITY_MODE || m_pEncContext->pSvcParam->iRCMode == R… in UpdateStatistics()
773 sEncodingParam.iRCMode); in SetOption()
952 m_pEncContext->pSvcParam->iRCMode = (RC_MODES) iValue; in SetOption()
956 WelsRcInitFuncPointers (m_pEncContext, m_pEncContext->pSvcParam->iRCMode); in SetOption()
961 if (m_pEncContext->pSvcParam->iRCMode != RC_OFF_MODE) { in SetOption()
/third_party/openh264/codec/api/svc/
Dcodec_app_def.h532 RC_MODES iRCMode; ///< rate control mode member
547 RC_MODES iRCMode; ///< same as in TagEncParamBase member
/third_party/openh264/test/api/
Dencode_options_test.cpp100 param_.iRCMode = static_cast<RC_MODES> (rand() % RC_MODE_RANGE - 1); in RandomParamExtCombination()
216 if ((RC_QUALITY_MODE == param_.iRCMode) || (RC_BITRATE_MODE == param_.iRCMode)) { in ValidateParamExtCombination()
1340 param_.iRCMode = RC_OFF_MODE; //rc off in TEST_P()
1961 sParam.iRCMode = RC_TIMESTAMP_MODE; in TEST_F()
2095 sParam.iRCMode = RC_TIMESTAMP_MODE; in TEST_F()
2150 sParam.iRCMode = RC_OFF_MODE; in TEST_F()
Dencode_decode_api_test.cpp20 pParam->iRCMode = RC_OFF_MODE; //rc off in prepareParam()
Ddecode_api_test.cpp644 param_.iRCMode = RC_TIMESTAMP_MODE; in TEST_F()
1146 param_.iRCMode = RC_TIMESTAMP_MODE; in TEST_F()
/third_party/ffmpeg/libavcodec/
Dlibopenh264enc.c173 param.iRCMode = s->rc_mode; in svc_encode_init()
/third_party/openh264/module/
Dgmp-openh264.cpp234 param.iRCMode = RC_BITRATE_MODE; in InitEncode()
/third_party/gstreamer/gstplugins_bad/ext/openh264/
Dgstopenh264enc.cpp785 enc_params.iRCMode = openh264enc->rate_control; in gst_openh264enc_set_format()