/third_party/openh264/test/encoder/ |
D | EncUT_ParameterSetStrategy.cpp | 74 pDlayerParam = & (sParam1.sSpatialLayers[iDlayerIndex]); in TEST_F() 94 pDlayerParam = & (sParam2.sSpatialLayers[iDlayerIndex]); in TEST_F() 144 EXPECT_EQ( FalseLocal, sParamExt.sSpatialLayers[i].bVideoSignalTypePresent); in TEST_F() 145 EXPECT_EQ( VF_UNDEF, sParamExt.sSpatialLayers[i].uiVideoFormat);//5 in TEST_F() 146 EXPECT_EQ( FalseLocal, sParamExt.sSpatialLayers[i].bFullRange); in TEST_F() 147 EXPECT_EQ( FalseLocal, sParamExt.sSpatialLayers[i].bColorDescriptionPresent); in TEST_F() 148 EXPECT_EQ( CP_UNDEF, sParamExt.sSpatialLayers[i].uiColorPrimaries);//2 in TEST_F() 149 EXPECT_EQ( TRC_UNDEF, sParamExt.sSpatialLayers[i].uiTransferCharacteristics);//2 in TEST_F() 150 EXPECT_EQ( CM_UNDEF, sParamExt.sSpatialLayers[i].uiColorMatrix);//2 in TEST_F() 156 sParamExt.sSpatialLayers[0].bVideoSignalTypePresent = true; in TEST_F() [all …]
|
D | EncUT_EncoderExt.cpp | 148 pParamExt->sSpatialLayers[0].iVideoHeight = pParamExt->iPicHeight; in InitializeParamExt() 149 pParamExt->sSpatialLayers[0].iVideoWidth = pParamExt->iPicWidth; in InitializeParamExt() 150 pParamExt->sSpatialLayers[0].iSpatialBitrate = 50000; in InitializeParamExt() 224 …if (sInfo.iBitrate <= 0 || (static_cast<float> (pParamExt->sSpatialLayers[sInfo.iLayer].iSpatialBi… in TEST_F() 226 else if (pParamExt->sSpatialLayers[sInfo.iLayer].iSpatialBitrate > in TEST_F() 227 pParamExt->sSpatialLayers[sInfo.iLayer].iMaxSpatialBitrate) { in TEST_F() 246 …if (sInfo.iBitrate <= 0 || (static_cast<float> (pParamExt->sSpatialLayers[sInfo.iLayer].iSpatialBi… in TEST_F() 248 else if (pParamExt->sSpatialLayers[sInfo.iLayer].iSpatialBitrate > in TEST_F() 249 pParamExt->sSpatialLayers[sInfo.iLayer].iMaxSpatialBitrate) { in TEST_F() 658 sEncParamExt.sSpatialLayers[iNum].iVideoWidth = sEncParamExt.iPicWidth / iScale; in TEST_F() [all …]
|
D | EncUT_SliceBufferReallocate.cpp | 51 SSpatialLayerConfig* pLayerCfg = &pCtx->pSvcParam->sSpatialLayers[iLayerIdx]; in AllocateLayerBuffer() 95 SSpatialLayerConfig* pLayerCfg = &pCtx->pSvcParam->sSpatialLayers[iLayerIdx]; in InitParamForSizeLimitSlcMode() 118 SSpatialLayerConfig* pLayerCfg = &pCtx->pSvcParam->sSpatialLayers[iLayerIdx]; in InitParamForRasterSlcMode() 144 SSpatialLayerConfig* pLayerCfg = &pCtx->pSvcParam->sSpatialLayers[iLayerIdx]; in SetParamForReallocateTest() 173 …SSliceArgument* pSliceArgument = &m_EncContext.pSvcParam->sSpatialLayers[iLayerIdx].sSliceArgument; in InitParamForSizeLimitSlcModeCase() 258 SSpatialLayerConfig* pLayerCfg = &pCtx->pSvcParam->sSpatialLayers[iLayerIdx]; in InitFrameBsBuffer() 323 SSpatialLayerConfig* pLayerCfg = &pCtx->pSvcParam->sSpatialLayers[iLayerIdx]; in InitLayerSliceBuffer() 408 SSpatialLayerConfig* pLayerCfg = &m_EncContext.pSvcParam->sSpatialLayers[iLayerIdx]; in SimulateSliceInOneLayer() 520 iRet = ReallocateSliceList (pCtx, &pCtx->pSvcParam->sSpatialLayers[iLayerIdx].sSliceArgument, in TEST_F() 572 SSliceArgument* pSliceArgument = &pCtx->pSvcParam->sSpatialLayers[iLayerIdx].sSliceArgument; in TEST_F() [all …]
|
D | EncUT_EncoderTaskManagement.cpp | 42 sWelsSvcCodingParam.sSpatialLayers[0].sSliceArgument.uiSliceNum = 35; in TEST()
|
/third_party/openh264/codec/encoder/core/inc/ |
D | param_svc.h | 182 param.sSpatialLayers[iLayer].uiProfileIdc = PRO_UNKNOWN; in FillDefault() 183 param.sSpatialLayers[iLayer].uiLevelIdc = LEVEL_UNKNOWN; in FillDefault() 184 param.sSpatialLayers[iLayer].iDLayerQp = SVC_QUALITY_BASE_QP; in FillDefault() 185 param.sSpatialLayers[iLayer].fFrameRate = param.fMaxFrameRate; in FillDefault() 187 param.sSpatialLayers[iLayer].iMaxSpatialBitrate = UNSPECIFIED_BIT_RATE; in FillDefault() 189 param.sSpatialLayers[iLayer].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in FillDefault() 190 param.sSpatialLayers[iLayer].sSliceArgument.uiSliceNum = 0; //AUTO, using number of CPU cores in FillDefault() 191 param.sSpatialLayers[iLayer].sSliceArgument.uiSliceSizeConstraint = 1500; in FillDefault() 193 …param.sSpatialLayers[iLayer].bAspectRatioPresent = false; // do not write any of the following inf… in FillDefault() 194 param.sSpatialLayers[iLayer].eAspectRatio = ASP_UNSPECIFIED; in FillDefault() [all …]
|
/third_party/openh264/codec/console/enc/src/ |
D | welsenc.cpp | 138 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseLayerConfig() 585 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() 596 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() 602 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() 608 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() 614 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() 621 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() 627 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() 633 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() 656 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() [all …]
|
/third_party/openh264/test/api/ |
D | BaseEncoderTest.cpp | 10 SliceModeEnum eSliceMode = pEncParamExt->sSpatialLayers[0].sSliceArgument.uiSliceMode; 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() 45 param.sSpatialLayers[i].fFrameRate = pEncParamExt->fMaxFrameRate; in InitWithParam() 46 param.sSpatialLayers[i].iSpatialBitrate = param.iTargetBitrate; in InitWithParam() 48 param.sSpatialLayers[i].sSliceArgument.uiSliceMode = eSliceMode; in InitWithParam() 50 param.sSpatialLayers[i].sSliceArgument.uiSliceSizeConstraint = 600; in InitWithParam() 56 param.sSpatialLayers[i].sSliceArgument.uiSliceNum = 4; in InitWithParam() 61 param.sSpatialLayers[i].uiProfileIdc = PRO_MAIN; in InitWithParam()
|
D | encode_options_test.cpp | 110 SSpatialLayerConfig* pSpatialLayer = ¶m_.sSpatialLayers[iSpatialIdx]; in RandomParamExtCombination() 180 SSpatialLayerConfig* pSpatialLayer = ¶m_.sSpatialLayers[iSpatialIdx]; in ValidateParamExtCombination() 255 …param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMbNum[uiSliceIdx] = rand() % uiMbNumInFra… in SliceParamValidationForMode2() 256 … uiCountMb += param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMbNum[uiSliceIdx]; in SliceParamValidationForMode2() 267 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMbNum[uiActualSliceCount - 1] -= in SliceParamValidationForMode2() 271 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMbNum[uiActualSliceCount - 1 ] += in SliceParamValidationForMode2() 274 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceNum = uiActualSliceCount; in SliceParamValidationForMode2() 285 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in SliceParamValidationForMode3() 293 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceSizeConstraint = 600; in SliceParamValidationForMode4() 294 param_.sSpatialLayers[iSpatialIdx].sSliceArgument.uiSliceMode = SM_SIZELIMITED_SLICE; in SliceParamValidationForMode4() [all …]
|
D | encode_decode_api_test.cpp | 25 pParam->sSpatialLayers[i].iVideoWidth = width >> (iLayers - i - 1); in prepareParam() 26 pParam->sSpatialLayers[i].iVideoHeight = height >> (iLayers - i - 1); in prepareParam() 27 pParam->sSpatialLayers[i].fFrameRate = framerate; in prepareParam() 28 pParam->sSpatialLayers[i].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in prepareParam() 29 pParam->sSpatialLayers[i].sSliceArgument.uiSliceNum = iSlices; in prepareParam()
|
D | decode_api_test.cpp | 654 param_.sSpatialLayers[0].iSpatialBitrate = p.iTarBitrate; in TEST_F() 655 param_.sSpatialLayers[0].iMaxSpatialBitrate = p.iTarBitrate << 1; in TEST_F() 656 …param_.sSpatialLayers[0].sSliceArgument.uiSliceMode = (rand() % 2) ? SM_SIZELIMITED_SLICE : SM_SIN… in TEST_F() 657 if (param_.sSpatialLayers[0].sSliceArgument.uiSliceMode == SM_SIZELIMITED_SLICE) { in TEST_F() 658 param_.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = 1400; in TEST_F() 661 param_.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = 0; in TEST_F() 1025 param_.sSpatialLayers[0].iDLayerQp = 40; //to revent size too limited to encoding fail in TEST_F() 1156 param_.sSpatialLayers[0].iSpatialBitrate = p.iTarBitrate; in TEST_F() 1157 param_.sSpatialLayers[0].iMaxSpatialBitrate = p.iTarBitrate << 1; in TEST_F() 1158 param_.sSpatialLayers[0].sSliceArgument.uiSliceMode = in TEST_F() [all …]
|
D | encoder_test.cpp | 59 pEnxParamExt->sSpatialLayers[i].sSliceArgument.uiSliceMode = pEncFileParam->eSliceMode; in EncFileParamToParamExt()
|
D | decode_encode_test.cpp | 110 pEnxParamExt->sSpatialLayers[i].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in DecEncFileParamToParamExt()
|
/third_party/ffmpeg/libavcodec/ |
D | libopenh264enc.c | 258 param.sSpatialLayers[0].iVideoWidth = param.iPicWidth; in svc_encode_init() 259 param.sSpatialLayers[0].iVideoHeight = param.iPicHeight; in svc_encode_init() 260 param.sSpatialLayers[0].fFrameRate = param.fMaxFrameRate; in svc_encode_init() 261 param.sSpatialLayers[0].iSpatialBitrate = param.iTargetBitrate; in svc_encode_init() 262 param.sSpatialLayers[0].iMaxSpatialBitrate = param.iMaxBitrate; in svc_encode_init() 292 param.sSpatialLayers[0].eAspectRatio = ASP_EXT_SAR; in svc_encode_init() 293 param.sSpatialLayers[0].sAspectRatioExtWidth = num; in svc_encode_init() 294 param.sSpatialLayers[0].sAspectRatioExtHeight = den; in svc_encode_init() 296 param.sSpatialLayers[0].eAspectRatio = asp_idc[i]; in svc_encode_init() 298 param.sSpatialLayers[0].bAspectRatioPresent = true; in svc_encode_init() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/openh264/ |
D | gstopenh264enc.cpp | 806 …enc_params.sSpatialLayers[0].uiProfileIdc = gst_openh264enc_get_profile_from_caps (outcaps, allowe… in gst_openh264enc_set_format() 807 …enc_params.sSpatialLayers[0].uiLevelIdc = (ELevelIdc) gst_openh264enc_get_level_from_caps (outcaps… in gst_openh264enc_set_format() 808 enc_params.sSpatialLayers[0].iVideoWidth = enc_params.iPicWidth; in gst_openh264enc_set_format() 809 enc_params.sSpatialLayers[0].iVideoHeight = enc_params.iPicHeight; in gst_openh264enc_set_format() 810 enc_params.sSpatialLayers[0].fFrameRate = fps_n * 1.0 / fps_d; in gst_openh264enc_set_format() 811 enc_params.sSpatialLayers[0].iSpatialBitrate = enc_params.iTargetBitrate; in gst_openh264enc_set_format() 812 enc_params.sSpatialLayers[0].iMaxSpatialBitrate = enc_params.iMaxBitrate; in gst_openh264enc_set_format() 836 enc_params.sSpatialLayers[0].sSliceCfg.uiSliceMode = slice_mode; in gst_openh264enc_set_format() 837 enc_params.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceNum = n_slices; in gst_openh264enc_set_format() 839 enc_params.sSpatialLayers[0].sSliceArgument.uiSliceMode = slice_mode; in gst_openh264enc_set_format() [all …]
|
/third_party/openh264/codec/encoder/plus/src/ |
D | welsEncoderExt.cpp | 545 SSpatialLayerConfig* pSpatialCfg = &pParam->sSpatialLayers[i]; in TraceParamInfo() 794 if ((sEncodingParam.sSpatialLayers[sEncodingParam.iSpatialLayerNum - 1].iVideoWidth != in SetOption() 796 (sEncodingParam.sSpatialLayers[sEncodingParam.iSpatialLayerNum - 1].iVideoHeight != in SetOption() 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() 920 m_pEncContext->pSvcParam->sSpatialLayers[0].iMaxSpatialBitrate = iBitrate; in SetOption() 923 m_pEncContext->pSvcParam->sSpatialLayers[1].iMaxSpatialBitrate = iBitrate; in SetOption() 926 m_pEncContext->pSvcParam->sSpatialLayers[2].iMaxSpatialBitrate = iBitrate; in SetOption() [all …]
|
/third_party/openh264/codec/encoder/core/src/ |
D | encoder_ext.cpp | 127 SSpatialLayerConfig* pLayerInfo = &pParam->sSpatialLayers[iLayer]; in CheckProfileSetting() 152 SSpatialLayerConfig* pLayerInfo = &pParam->sSpatialLayers[iLayer]; in CheckLevelSetting() 305 SSpatialLayerConfig* fDlpUp = &pCfg->sSpatialLayers[i]; in ParamValidation() 306 SSpatialLayerConfig* fDlp = &pCfg->sSpatialLayers[i - 1]; in ParamValidation() 327 SSpatialLayerConfig* pConfig = &pCfg->sSpatialLayers[i]; in ParamValidation() 358 SSpatialLayerConfig* pSpatialLayer = &pCfg->sSpatialLayers[i]; in ParamValidation() 496 SSpatialLayerConfig* pSpatialLayer = &pCodingParam->sSpatialLayers[i]; in ParamValidationExt() 646 pCodingParam->sSpatialLayers[0].sSliceArgument.uiSliceMode); in ParamValidationExt() 654 SSpatialLayerConfig* pLayerInfo = &pCodingParam->sSpatialLayers[i]; in ParamValidationExt() 685 pLayerParam = & (pParam->sSpatialLayers[i]); in WelsEncoderApplyFrameRate() [all …]
|
D | ratectl.cpp | 114 pDLayerParam = &pEncCtx->pSvcParam->sSpatialLayers[j]; in RcInitSequenceParameter() 217 …SSpatialLayerConfig* pDLayerParam = &pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyI… in RcUpdateBitrateFps() 276 SSpatialLayerConfig* pDLayerParam = &pEncCtx->pSvcParam->sSpatialLayers[kiDid]; in RcInitRefreshParameter() 317 SSpatialLayerConfig* pDLayerParam = &pEncCtx->pSvcParam->sSpatialLayers[iCurDid]; in RcJudgeBitrateFpsUpdate() 399 …SSpatialLayerConfig* pDLayerParam = &pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyI… in RcCalculateIdrQp() 573 SSpatialLayerConfig* pDLayerParam = &pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyId]; in RcDecideTargetBitsTimestamp() 666 pDlpBase = &pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyId - 1]; in RcJudgeBaseUsability() 671 pDLayerParam = &pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyId]; in RcJudgeBaseUsability() 672 pDlpBase = &pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyId - 1]; in RcJudgeBaseUsability() 779 SSpatialLayerConfig* pDLayerParam = &pEncCtx->pSvcParam->sSpatialLayers[iDidIdx]; in CheckFrameSkipBasedMaxbr() [all …]
|
D | wels_task_management.cpp | 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()
|
D | slice_multi_threading.cpp | 539 …&& (pCtx->pSvcParam->sSpatialLayers[iCurDid - 1].sSliceArgument.uiSliceMode == SM_FIXEDSLCNUM_SLICE in AdjustEnhanceLayer() 540 … && pCtx->pSvcParam->iMultipleThreadIdc >= pCtx->pSvcParam->sSpatialLayers[iCurDid - in AdjustEnhanceLayer() 603 SSliceArgument* pSliceArgument = &pPara->sSpatialLayers[kiDid].sSliceArgument; in TrackSliceConsumeTime()
|
D | paraset_strategy.cpp | 91 SSpatialLayerConfig* pDlayerParam = &pParam->sSpatialLayers[iDlayerIndex]; in WelsGenerateNewSps() 173 SSpatialLayerConfig* pDlayerParam = &pParam->sSpatialLayers[iDlayerIndex]; in FindExistingSps()
|
D | wels_preprocess.cpp | 175 const int32_t kiPicWidth = pParam->sSpatialLayers[iDlayerIndex].iVideoWidth; in AllocSpatialPictures() 176 const int32_t kiPicHeight = pParam->sSpatialLayers[iDlayerIndex].iVideoHeight; in AllocSpatialPictures() 363 pDlayerParam = &pSvcParam->sSpatialLayers[iDependencyId]; in SingleLayerPreprocess() 446 pDlayerParam = &pSvcParam->sSpatialLayers[iDependencyId]; in SingleLayerPreprocess()
|
D | svc_encode_slice.cpp | 1080 SSliceArgument* pSliceArgument = & pCtx->pSvcParam->sSpatialLayers[kiDlayerIndex].sSliceArgument; in InitSliceInLayer() 1316 SSliceArgument* pSliceArgument = & pCtx->pSvcParam->sSpatialLayers[kiDlayerIdx].sSliceArgument; in ReallocateSliceInThread() 1394 SSliceArgument* pSliceArgument = & pCtx->pSvcParam->sSpatialLayers[kiCurDid].sSliceArgument; in ReallocSliceBuffer() 1634 (pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyId].sSliceArgument.uiSliceMode in WelsCodeOneSlice()
|
D | au_set.cpp | 155 SSpatialLayerConfig* pSpatialLayer = &pParam->sSpatialLayers[i]; in WelsCheckRefFrameLimitationLevelIdcFirst()
|
/third_party/openh264/codec/api/svc/ |
D | codec_app_def.h | 552 SSpatialLayerConfig sSpatialLayers[MAX_SPATIAL_LAYER_NUM]; member
|
/third_party/openh264/module/ |
D | gmp-openh264.cpp | 252 SSpatialLayerConfig* layer = ¶m.sSpatialLayers[0]; in InitEncode()
|