Home
last modified time | relevance | path

Searched refs:iSpatialLayerNum (Results 1 – 25 of 27) sorted by relevance

12

/third_party/openh264/test/api/
Dencode_options_test.cpp51 param_.iSpatialLayerNum = rand() % SPATIAL_LAYER_NUM_RANGE; in RandomParamExtCombination()
108 for (int iSpatialIdx = 0; iSpatialIdx < param_.iSpatialLayerNum; iSpatialIdx++) { in RandomParamExtCombination()
146 param_.iSpatialLayerNum = WELS_CLIP3 (param_.iSpatialLayerNum, 1, MAX_SPATIAL_LAYER_NUM); in ValidateParamExtCombination()
148 param_.iSpatialLayerNum = 1; in ValidateParamExtCombination()
179 for (int iSpatialIdx = 0; iSpatialIdx < param_.iSpatialLayerNum; iSpatialIdx++) { in ValidateParamExtCombination()
181 pSpatialLayer->iVideoWidth = param_.iPicWidth >> (param_.iSpatialLayerNum - 1 - iSpatialIdx); in ValidateParamExtCombination()
182 pSpatialLayer->iVideoHeight = param_.iPicHeight >> (param_.iSpatialLayerNum - 1 - iSpatialIdx); in ValidateParamExtCombination()
292 for (int iSpatialIdx = 0; iSpatialIdx < param_.iSpatialLayerNum; iSpatialIdx++) { in SliceParamValidationForMode4()
300 int iSpatialLayerNum = 4; in TEST_F() local
301 …int iWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_… in TEST_F()
[all …]
DBaseEncoderTest.cpp12 … && pEncParamExt->iSpatialLayerNum == 1 && !pEncParamExt->bIsLosslessLink in InitWithParam()
34 param.iSpatialLayerNum = pEncParamExt->iSpatialLayerNum; in InitWithParam()
42 for (int i = 0; i < param.iSpatialLayerNum; i++) { in InitWithParam()
43 …param.sSpatialLayers[i].iVideoWidth = pEncParamExt->iPicWidth >> (param.iSpatialLayerNum - 1 … in InitWithParam()
44 …param.sSpatialLayers[i].iVideoHeight = pEncParamExt->iPicHeight >> (param.iSpatialLayerNum - 1 … in InitWithParam()
64 param.iTargetBitrate *= param.iSpatialLayerNum; in InitWithParam()
Dencode_decode_api_test.template18 //int iSpatialLayerNum = $SPATIAL_NUM;
44 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) {
81 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) {
98 EXPECT_TRUE (iIdx < iSpatialLayerNum);
104 for (iIdx = 0; iIdx < param_.iSpatialLayerNum; iIdx++) {
110 EXPECT_TRUE (iIdx < iSpatialLayerNum);
117 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) {
136 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) {
Dencode_decode_api_test.cpp22 pParam->iSpatialLayerNum = iLayers; in prepareParam()
124 int iSpatialLayerNum, in TestOneSimulcastAVC() argument
160 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TestOneSimulcastAVC()
171 …EXPECT_TRUE (iIdx < iSpatialLayerNum) << "iIdx = " << iIdx << ", iSpatialLayerNum = " << iSpatialL… in TestOneSimulcastAVC()
176 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TestOneSimulcastAVC()
Dencoder_test.cpp51 pEnxParamExt->iSpatialLayerNum = pEncFileParam->iLayerNum; in EncFileParamToParamExt()
58 for (int i = 0; i < pEnxParamExt->iSpatialLayerNum; i++) { in EncFileParamToParamExt()
Ddecode_encode_test.cpp103 pEnxParamExt->iSpatialLayerNum = 1; in DecEncFileParamToParamExt()
109 for (int i = 0; i < pEnxParamExt->iSpatialLayerNum; i++) { in DecEncFileParamToParamExt()
Ddecoder_ec_test.cpp151 param_.iSpatialLayerNum = 1; in TEST_P()
232 param_.iSpatialLayerNum = 1; in TEST_F()
369 param_.iSpatialLayerNum = 1; in TEST_F()
502 param_.iSpatialLayerNum = 1; in TEST_F()
674 param_.iSpatialLayerNum = 4; in TEST_F()
741 param_.iSpatialLayerNum = 4; in TEST_F()
Ddecode_api_test.cpp308 param_.iSpatialLayerNum = 1; in TEST_P()
364 param_.iSpatialLayerNum = 2; in TEST_P()
421 param_.iSpatialLayerNum = 1; in TEST_P()
487 param_.iSpatialLayerNum = 1; in TEST_P()
885 param_.iSpatialLayerNum = kiTotalLayer; in TEST_F()
962 param_.iSpatialLayerNum = iLayerNum; in TEST_F()
1024 param_.iSpatialLayerNum = iLayerNum; in TEST_F()
Dencode_decode_api_test.h141 …castAVC (SEncParamExt* pParam, ISVCDecoder** decoder, unsigned char** pBsBuf, int iSpatialLayerNum,
/third_party/openh264/codec/encoder/plus/src/
DwelsEncoderExt.cpp251 const int32_t iNumOfLayers = pCfg->iSpatialLayerNum; in InitializeInternal()
340 pCfg->iSpatialLayerNum); in InitializeInternal()
514 pParam->iSpatialLayerNum, in TraceParamInfo()
542 …int32_t iSpatialLayers = (pParam->iSpatialLayerNum < MAX_SPATIAL_LAYER_NUM) ? (pParam->iSpatialLay… in TraceParamInfo()
587 int32_t iMaxDid = m_pEncContext->pSvcParam->iSpatialLayerNum - 1; in UpdateStatistics()
740 …PicWidth != m_pEncContext->pSvcParam->sDependencyLayers[m_pEncContext->pSvcParam->iSpatialLayerNum in SetOption()
742 …cHeight != m_pEncContext->pSvcParam->sDependencyLayers[m_pEncContext->pSvcParam->iSpatialLayerNum - in SetOption()
794 if ((sEncodingParam.sSpatialLayers[sEncodingParam.iSpatialLayerNum - 1].iVideoWidth != in SetOption()
795 …m_pEncContext->pSvcParam->sDependencyLayers[m_pEncContext->pSvcParam->iSpatialLayerNum - 1].iActua… in SetOption()
796 (sEncodingParam.sSpatialLayers[sEncodingParam.iSpatialLayerNum - 1].iVideoHeight != in SetOption()
[all …]
/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp352 pSvcParam.iSpatialLayerNum = (int8_t)atoi (strTag[1].c_str()); in ParseConfig()
353 if (pSvcParam.iSpatialLayerNum > MAX_DEPENDENCY_LAYER || pSvcParam.iSpatialLayerNum <= 0) { in ParseConfig()
354 … fprintf (stderr, "Invalid parameter in iSpatialLayerNum: %d.\n", pSvcParam.iSpatialLayerNum); in ParseConfig()
374 const int8_t kiActualLayerNum = WELS_MIN (pSvcParam.iSpatialLayerNum, iLayerCount); in ParseConfig()
375 if (pSvcParam.iSpatialLayerNum > in ParseConfig()
377 pSvcParam.iSpatialLayerNum = kiActualLayerNum; in ParseConfig()
575 pSvcParam.iSpatialLayerNum = atoi (argv[n++]); in ParseCommandLine()
685 sParam.iSpatialLayerNum = 4; // layer number at spatial level in FillSpecificParameters()
735 float fMaxFr = sParam.sSpatialLayers[sParam.iSpatialLayerNum - 1].fFrameRate; in FillSpecificParameters()
736 for (int32_t i = sParam.iSpatialLayerNum - 2; i >= 0; -- i) { in FillSpecificParameters()
[all …]
/third_party/openh264/codec/encoder/core/inc/
Dparam_svc.h173 …param.iSpatialLayerNum = 1; // number of dependency(Spatial/CGS) layers us… in FillDefault()
252 while (iIdxSpatial < iSpatialLayerNum) { in ParamBaseTranscode()
354 iSpatialLayerNum = (int8_t)WELS_CLIP3 (pCodingParam.iSpatialLayerNum, 1, in ParamTranscode()
396 while (iIdxSpatial < iSpatialLayerNum) { in ParamTranscode()
420 if ((iSpatialLayerNum==1) && (iIdxSpatial==0)) { in ParamTranscode()
472 int32_t iSpatialIdx = iSpatialLayerNum - 1; in SetActualPicResolution()
496 while (i < iSpatialLayerNum) { in DetermineTemporalSettings()
/third_party/openh264/test/encoder/
DEncUT_EncoderExt.cpp146 pParamExt->iSpatialLayerNum = 1; in InitializeParamExt()
644 int iSpatialLayerNum = rand() % MAX_SPATIAL_LAYER_NUM; in TEST_F() local
645 sEncParamExt.iSpatialLayerNum = WELS_CLIP3 (iSpatialLayerNum, 1, MAX_SPATIAL_LAYER_NUM); in TEST_F()
656 for (int iNum = sEncParamExt.iSpatialLayerNum - 1; iNum >= 0 ; iNum--) { in TEST_F()
657 int iScale = 1 << ((sEncParamExt.iSpatialLayerNum - 1) - iNum); in TEST_F()
678 iLayerNum = WELS_CLIP3 (iSpatialLayerNum, 0, sEncParamExt.iSpatialLayerNum - 1); in TEST_F()
960 sEncParamExt.iSpatialLayerNum = 1; in TEST_F()
1025 sEncParamExt.iSpatialLayerNum = 3; in TEST_F()
1066 sEncParamExt.iSpatialLayerNum = 2; in TEST_F()
1097 sEncParamExt.iSpatialLayerNum = 3; in TEST_F()
[all …]
DEncUT_SliceBufferReallocate.cpp212 pCtx->pSvcParam->iSpatialLayerNum = 1; in InitParam()
228 pCtx->pSvcParam->bSimulcastAVC, pCtx->pSvcParam->iSpatialLayerNum); in InitParam()
231 …pCtx->ppDqLayerList = (SDqLayer**)pCtx->pMemAlign->WelsMallocz (pCtx->pSvcParam->iSpatialLayerNum in InitParam()
269 …int32_t iRet = AcquireLayersNals (&pCtx, pCtx->pSvcParam, &pCtx->pSvcParam->iSpatialLayerNum, &iCo… in InitFrameBsBuffer()
329 …pLayerCfg->iVideoWidth = pCtx->pSvcParam->iPicWidth >> (pCtx->pSvcParam->iSpatialLayerNum - 1 - i… in InitLayerSliceBuffer()
330 …pLayerCfg->iVideoHeight = pCtx->pSvcParam->iPicHeight >> (pCtx->pSvcParam->iSpatialLayerNum - 1 - … in InitLayerSliceBuffer()
336 pLayerCfg->iSpatialBitrate = pCtx->pSvcParam->iTargetBitrate / pCtx->pSvcParam->iSpatialLayerNum; in InitLayerSliceBuffer()
DEncUT_ParameterSetStrategy.cpp154 sParamExt.iSpatialLayerNum = 2; in TEST_F()
178 for ( int i = 0; i < sParamExt.iSpatialLayerNum; i++ ) in TEST_F()
/third_party/openh264/codec/encoder/core/src/
Dencoder_ext.cpp275 if (pCfg->iSpatialLayerNum > 1) { in ParamValidation()
277 pCfg->iSpatialLayerNum); in ParamValidation()
303 if (pCfg->iSpatialLayerNum > 1) { in ParamValidation()
304 for (i = pCfg->iSpatialLayerNum - 1; i > 0; i--) { in ParamValidation()
325 for (i = 0; i < pCfg->iSpatialLayerNum; ++ i) { in ParamValidation()
357 for (i = 0; i < pCfg->iSpatialLayerNum; ++ i) { in ParamValidation()
421 if (pCodingParam->iSpatialLayerNum < 1 || pCodingParam->iSpatialLayerNum > MAX_DEPENDENCY_LAYER) { in ParamValidationExt()
423 pCodingParam->iSpatialLayerNum); in ParamValidationExt()
467 if (pCodingParam->iSpatialLayerNum > 1 && (!pCodingParam->bSimulcastAVC) in ParamValidationExt()
471 pCodingParam->eSpsPpsIdStrategy, pCodingParam->iSpatialLayerNum); in ParamValidationExt()
[all …]
Dwels_preprocess.cpp169 const int32_t kiDlayerCount = pParam->iSpatialLayerNum; in AllocSpatialPictures()
203 while (j < pCtx->pSvcParam->iSpatialLayerNum) { in FreeSpatialPictures()
349 int8_t iDependencyId = pSvcParam->iSpatialLayerNum - 1; in SingleLayerPreprocess()
418 for (int32_t i = 0; i < pSvcParam->iSpatialLayerNum; i++) { in SingleLayerPreprocess()
443 if (pSvcParam->iSpatialLayerNum > 1) { in SingleLayerPreprocess()
485 …const int32_t kiDstPicWidth = pParam->sDependencyLayers[pParam->iSpatialLayerNum - 1].iActualWi… in JudgeNeedOfScaling()
486 …const int32_t kiDstPicHeight = pParam->sDependencyLayers[pParam->iSpatialLayerNum - 1].iActualHe… in JudgeNeedOfScaling()
489 int32_t iSpatialIdx = pParam->iSpatialLayerNum - 1; in JudgeNeedOfScaling()
548 const int32_t kiDlayerCount = pParam->iSpatialLayerNum; in InitLastSpatialPictures()
1096 const int32_t iTargetDid = pSvcParam->iSpatialLayerNum - 1; in DetectSceneChange()
[all …]
Dencoder.cpp226 pParam->bSimulcastAVC, pParam->iSpatialLayerNum); in InitFunctionPointers()
341 (kiSpatialNum < pSvcParam->iSpatialLayerNum)) { in DecideFrameType()
378 (kiSpatialNum < pSvcParam->iSpatialLayerNum) in DecideFrameType()
Dparaset_strategy.cpp449 if (pCodingParam->iSpatialLayerNum > 1 && (!pCodingParam->bSimulcastAVC)) { in CheckParamCompatibility()
452 pCodingParam->eSpsPpsIdStrategy, pCodingParam->iSpatialLayerNum); in CheckParamCompatibility()
Dref_list_mgr_svc.cpp520 for (int32_t iDid = 0; iDid < pCtx->pSvcParam->iSpatialLayerNum; iDid++) { in FilterLTRRecoveryRequest()
527 if ((iLayerId < 0) || (iLayerId >= pCtx->pSvcParam->iSpatialLayerNum)) in FilterLTRRecoveryRequest()
565 if ((iLayerId < 0) || (iLayerId >= pCtx->pSvcParam->iSpatialLayerNum)) { in FilterLTRMarkingFeedback()
Dau_set.cpp154 for (i = 0; i < pParam->iSpatialLayerNum; ++ i) { in WelsCheckRefFrameLimitationLevelIdcFirst()
Dslice_multi_threading.cpp268 iNumSpatialLayers = pPara->iSpatialLayerNum; in RequestMtResource()
Dsvc_encode_slice.cpp713 const bool kbHighestSpatial = pEncCtx->pSvcParam->iSpatialLayerNum == in WelsCodePSlice()
732 const bool kbHighestSpatial = pEncCtx->pSvcParam->iSpatialLayerNum == in WelsCodePOverDynamicSlice()
1550 iCountNals += kiMaxSliceNumOld * (pCtx->pSvcParam->iSpatialLayerNum + pCtx->bNeedPrefixNalFlag); in FrameBsRealloc()
/third_party/openh264/codec/api/svc/
Dcodec_app_def.h551 …int iSpatialLayerNum; ///< spatial layer number,1<= iSpatialLayerNum <= MAX_SPATIAL… member
/third_party/ffmpeg/libavcodec/
Dlibopenh264enc.c179 param.iSpatialLayerNum = 1; in svc_encode_init()

12