Home
last modified time | relevance | path

Searched refs:iSpatialBitrate (Results 1 – 15 of 15) sorted by relevance

/third_party/openh264/test/encoder/
DEncUT_EncoderExt.cpp150 pParamExt->sSpatialLayers[0].iSpatialBitrate = 50000; in InitializeParamExt()
224 …<= 0 || (static_cast<float> (pParamExt->sSpatialLayers[sInfo.iLayer].iSpatialBitrate) <= fFrameRat… in TEST_F()
226 else if (pParamExt->sSpatialLayers[sInfo.iLayer].iSpatialBitrate > in TEST_F()
246 …<= 0 || (static_cast<float> (pParamExt->sSpatialLayers[sInfo.iLayer].iSpatialBitrate) <= fFrameRat… in TEST_F()
248 else if (pParamExt->sSpatialLayers[sInfo.iLayer].iSpatialBitrate > in TEST_F()
660 …sEncParamExt.sSpatialLayers[iNum].iSpatialBitrate = (sEncParamExt.sSpatialLayers[iNum].iVideoWidth… in TEST_F()
662 sEncParamExt.iTargetBitrate += sEncParamExt.sSpatialLayers[iNum].iSpatialBitrate; in TEST_F()
745 sEncParamExt.sSpatialLayers[0].iSpatialBitrate = sEncParamExt.iTargetBitrate; in TEST_F()
971 sEncParamExt.sSpatialLayers[0].iSpatialBitrate = 573000; in TEST_F()
996 sEncParamExt.sSpatialLayers[0].iSpatialBitrate = 500000; in TEST_F()
[all …]
DEncUT_SliceBufferReallocate.cpp336 pLayerCfg->iSpatialBitrate = pCtx->pSvcParam->iTargetBitrate / pCtx->pSvcParam->iSpatialLayerNum; in InitLayerSliceBuffer()
/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp169 pDLayer->iSpatialBitrate = 1000 * atoi (strTag[1].c_str()); in ParseLayerConfig()
171 if (pDLayer->iSpatialBitrate <= 0) { in ParseLayerConfig()
172 …tderr, "Invalid spatial bitrate(%d) in dependency layer #%d.\n", pDLayer->iSpatialBitrate, iLayer); in ParseLayerConfig()
175 if (pDLayer->iSpatialBitrate > iLeftTargetBitrate) { in ParseLayerConfig()
177 pDLayer->iSpatialBitrate, iLeftTargetBitrate); in ParseLayerConfig()
180 iLeftTargetBitrate -= pDLayer->iSpatialBitrate; in ParseLayerConfig()
189 … if (pDLayer->iMaxSpatialBitrate > 0 && pDLayer->iMaxSpatialBitrate < pDLayer->iSpatialBitrate) { in ParseLayerConfig()
191 pDLayer->iMaxSpatialBitrate, pDLayer->iSpatialBitrate); in ParseLayerConfig()
622 pDLayer->iSpatialBitrate = 1000 * atoi (argv[n++]); in ParseCommandLine()
702 sParam.sSpatialLayers[iIndexLayer].iSpatialBitrate = 64000; in FillSpecificParameters()
[all …]
/third_party/openh264/codec/encoder/core/inc/
Dparam_svc.h267 sSpatialLayers->iSpatialBitrate = in ParamBaseTranscode()
268 …sSpatialLayers[iIdxSpatial].iSpatialBitrate = pCodingParam.iTargetBitrate; // target bitrate for c… in ParamBaseTranscode()
415 pSpatialLayer->iSpatialBitrate = in ParamTranscode()
416 …pCodingParam.sSpatialLayers[iIdxSpatial].iSpatialBitrate; // target bitrate for current spat… in ParamTranscode()
427 if (pSpatialLayer->iSpatialBitrate == 0) { in ParamTranscode()
428 pSpatialLayer->iSpatialBitrate = iTargetBitrate; in ParamTranscode()
/third_party/openh264/codec/encoder/core/src/
Dratectl.cpp221 const int32_t input_iBitsPerFrame = WELS_DIV_ROUND (pDLayerParam->iSpatialBitrate, in RcUpdateBitrateFps()
226 pWelsSvcRc->iBitRate = pDLayerParam->iSpatialBitrate; in RcUpdateBitrateFps()
303 pWelsSvcRc->iPreviousBitrate = pDLayerParam->iSpatialBitrate; in RcInitRefreshParameter()
319 if ((pWelsSvcRc->iPreviousBitrate != pDLayerParam->iSpatialBitrate) || in RcJudgeBitrateFpsUpdate()
322 pWelsSvcRc->iPreviousBitrate = pDLayerParam->iSpatialBitrate; in RcJudgeBitrateFpsUpdate()
402 …dBpp = (double) (pDLayerParam->iSpatialBitrate) / (double) (pDLayerParamInternal->fOutputFrameRate… in RcCalculateIdrQp()
587 …pWelsSvcRc->iTargetBits = static_cast<int32_t> (((double) (pDLayerParam->iSpatialBitrate) / (doubl… in RcDecideTargetBitsTimestamp()
590 …pWelsSvcRc->iTargetBits = static_cast<int32_t> (((double) (pDLayerParam->iSpatialBitrate) / (doubl… in RcDecideTargetBitsTimestamp()
611 …int32_t iAverageFrameSize = (int32_t) ((double) (pDLayerParam->iSpatialBitrate) / (double) (pDLaye… in RcDecideTargetBitsTimestamp()
1313 int32_t iBitRate = pDLayerConfig->iSpatialBitrate;// pEncCtx->pSvcParam->target_bitrate; in WelRcPictureInitScc()
[all …]
Dencoder_ext.cpp74 if ((pLayerParam->iSpatialBitrate <= 0) in WelsBitRateVerification()
75 || (static_cast<float> (pLayerParam->iSpatialBitrate) < pLayerParam->fFrameRate)) { in WelsBitRateVerification()
77 pLayerParam->iSpatialBitrate, pLayerParam->fFrameRate); in WelsBitRateVerification()
112 if (pLayerParam->iMaxSpatialBitrate == pLayerParam->iSpatialBitrate) { in WelsBitRateVerification()
115 pLayerParam->iMaxSpatialBitrate, pLayerParam->iSpatialBitrate); in WelsBitRateVerification()
116 } else if (pLayerParam->iMaxSpatialBitrate < pLayerParam->iSpatialBitrate) { in WelsBitRateVerification()
119 pLayerParam->iMaxSpatialBitrate, pLayerParam->iSpatialBitrate); in WelsBitRateVerification()
359 iTotalBitrate += pSpatialLayer->iSpatialBitrate; in ParamValidation()
709 iOrigTotalBitrate += pParam->sSpatialLayers[i].iSpatialBitrate; in WelsEncoderApplyBitRate()
715 fRatio = pLayerParam->iSpatialBitrate / (static_cast<float> (iOrigTotalBitrate)); in WelsEncoderApplyBitRate()
[all …]
Dau_set.cpp518 …evel = WelsGetLevelIdc (pSps, pLayerParamInternal->fOutputFrameRate, pLayerParam->iSpatialBitrate); in WelsInitSps()
/third_party/openh264/test/api/
Dencode_options_test.cpp119 pSpatialLayer->iSpatialBitrate = rand() % BIT_RATE_RANGE; in RandomParamExtCombination()
186 …pSpatialLayer->iSpatialBitrate = WELS_CLIP3 (pSpatialLayer->iSpatialBitrate, 1, pSpatialLayer-… in ValidateParamExtCombination()
187 iTotalBitRate += pSpatialLayer->iSpatialBitrate; in ValidateParamExtCombination()
1919 if ((pParam->sSpatialLayers[0].iSpatialBitrate != UNSPECIFIED_BIT_RATE) in CheckLevelLimitation()
1921 pParam->sSpatialLayers[0].iSpatialBitrate) //RC enabled, considering bitrate constraint in CheckLevelLimitation()
1965 sParam.sSpatialLayers[0].iSpatialBitrate = sParam.iTargetBitrate = 3000; in TEST_F()
2098 sParam.sSpatialLayers[0].iSpatialBitrate = sParam.iTargetBitrate = 500; in TEST_F()
2099 sParam.sSpatialLayers[1].iSpatialBitrate = sParam.iTargetBitrate = 1000; in TEST_F()
2100 sParam.sSpatialLayers[2].iSpatialBitrate = sParam.iTargetBitrate = 2200; in TEST_F()
2242 sParam.sSpatialLayers[0].iSpatialBitrate = 1500000; in TEST_F()
[all …]
DBaseEncoderTest.cpp46 param.sSpatialLayers[i].iSpatialBitrate = param.iTargetBitrate; in InitWithParam()
Ddecode_api_test.cpp654 param_.sSpatialLayers[0].iSpatialBitrate = p.iTarBitrate; in TEST_F()
1156 param_.sSpatialLayers[0].iSpatialBitrate = p.iTarBitrate; in TEST_F()
/third_party/openh264/codec/encoder/plus/src/
DwelsEncoderExt.cpp552 pSpatialCfg->iSpatialBitrate, in TraceParamInfo()
874 m_pEncContext->pSvcParam->sSpatialLayers[0].iSpatialBitrate = iBitrate; in SetOption()
877 m_pEncContext->pSvcParam->sSpatialLayers[1].iSpatialBitrate = iBitrate; in SetOption()
880 m_pEncContext->pSvcParam->sSpatialLayers[2].iSpatialBitrate = iBitrate; in SetOption()
883 m_pEncContext->pSvcParam->sSpatialLayers[3].iSpatialBitrate = iBitrate; in SetOption()
1252 pInfo->iBitrate = m_pEncContext->pSvcParam->sSpatialLayers[pInfo->iLayer].iSpatialBitrate; in GetOption()
/third_party/openh264/codec/api/svc/
Dcodec_app_def.h459 int iSpatialBitrate; ///< target bitrate for a spatial layer, in unit of bps member
/third_party/gstreamer/gstplugins_bad/ext/openh264/
Dgstopenh264enc.cpp811 enc_params.sSpatialLayers[0].iSpatialBitrate = enc_params.iTargetBitrate; in gst_openh264enc_set_format()
897 enc_params.sSpatialLayers[0].iSpatialBitrate = in gst_openh264enc_handle_frame()
/third_party/ffmpeg/libavcodec/
Dlibopenh264enc.c261 param.sSpatialLayers[0].iSpatialBitrate = param.iTargetBitrate; in svc_encode_init()
/third_party/openh264/module/
Dgmp-openh264.cpp276 layer->iSpatialBitrate = param.iTargetBitrate; in InitEncode()