Home
last modified time | relevance | path

Searched refs:iLayer (Results 1 – 12 of 12) sorted by relevance

/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp132 int ParseLayerConfig (CReadConfig& cRdLayerCfg, const int iLayer, SEncParamExt& pSvcParam, SFilesSe… in ParseLayerConfig() argument
134 …fprintf (stderr, "Unabled to open layer #%d configuration file: %s.\n", iLayer, cRdLayerCfg.GetFil… in ParseLayerConfig()
138 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseLayerConfig()
160 if (kiLen >= sizeof (sFileSet.sRecFileName[iLayer])) in ParseLayerConfig()
162 sFileSet.sRecFileName[iLayer][kiLen] = '\0'; in ParseLayerConfig()
163 … strncpy (sFileSet.sRecFileName[iLayer], strTag[1].c_str(), kiLen); // confirmed_safe_unsafe_usage in ParseLayerConfig()
172 …tderr, "Invalid spatial bitrate(%d) in dependency layer #%d.\n", pDLayer->iSpatialBitrate, iLayer); in ParseLayerConfig()
176 …fprintf (stderr, "Invalid spatial(#%d) bitrate(%d) setting due to unavailable left(%d)!\n", iLayer, in ParseLayerConfig()
186 …"Invalid max spatial bitrate(%d) in dependency layer #%d.\n", pDLayer->iMaxSpatialBitrate, iLayer); in ParseLayerConfig()
190 … fprintf (stderr, "Invalid max spatial(#%d) bitrate(%d) setting::: < layerBitrate(%d)!\n", iLayer, in ParseLayerConfig()
[all …]
/third_party/openh264/codec/encoder/core/inc/
Dparam_svc.h181 for (int32_t iLayer = 0; iLayer < MAX_SPATIAL_LAYER_NUM; iLayer++) { in FillDefault() local
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()
[all …]
Dextern.h112 int32_t WelsEncoderApplyBitRate (SLogContext* pLogCtx, SWelsSvcCodingParam* pParam, int32_t iLayer);
117 void CheckProfileSetting (SLogContext* pLogCtx,SWelsSvcCodingParam* pParam,int32_t iLayer, EProfile…
118 void CheckLevelSetting (SLogContext* pLogCtx,SWelsSvcCodingParam* pParam,int32_t iLayer, ELevelIdc …
/third_party/openh264/codec/encoder/plus/src/
DwelsEncoderExt.cpp869 switch (pInfo->iLayer) { in SetOption()
888 pInfo->iLayer); in SetOption()
893 … if (WelsEncoderApplyBitRate (&m_pWelsTrace->m_sLogCtx, m_pEncContext->pSvcParam, pInfo->iLayer)) { in SetOption()
895 …er::SetOption():ENCODER_OPTION_BITRATE layerId= %d,iSpatialBitrate = %d", pInfo->iLayer, iBitrate); in SetOption()
899 …er::SetOption():ENCODER_OPTION_BITRATE layerId= %d,iSpatialBitrate = %d", pInfo->iLayer, iBitrate); in SetOption()
915 switch (pInfo->iLayer) { in SetOption()
934 pInfo->iLayer); in SetOption()
939 … if (WelsEncoderApplyBitRate (&m_pWelsTrace->m_sLogCtx, m_pEncContext->pSvcParam, pInfo->iLayer)) { in SetOption()
941 …:SetOption():ENCODER_OPTION_BITRATE layerId= %d,iMaxSpatialBitrate = %d", pInfo->iLayer, iBitrate); in SetOption()
945 …:SetOption():ENCODER_OPTION_BITRATE layerId= %d,iMaxSpatialBitrate = %d", pInfo->iLayer, iBitrate); in SetOption()
[all …]
/third_party/openh264/test/api/
Dencode_decode_api_test.template84 for (int iLayer = 0; iLayer < info.iLayerNum; ++iLayer) {
86 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer];
Dencode_options_test.cpp1004 for (int iLayer = 0; iLayer < info.iLayerNum; ++iLayer) { in TEST_F() local
1006 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TEST_F()
1129 for (int iLayer = 0; iLayer < info.iLayerNum; ++iLayer) { in TEST_F() local
1131 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TEST_F()
1411 int iLayer = 0; in TEST_P() local
1412 while (iLayer < info.iLayerNum) { in TEST_P()
1413 SLayerBSInfo* pLayerBsInfo = &info.sLayerInfo[iLayer]; in TEST_P()
1424 ++ iLayer; in TEST_P()
1520 for (int iLayer = 0; iLayer < info.iLayerNum; ++iLayer) { in TEST_F() local
1522 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TEST_F()
[all …]
Dencode_decode_api_test.cpp163 for (int iLayer = 0; iLayer < info.iLayerNum; ++iLayer) { in TestOneSimulcastAVC() local
165 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TestOneSimulcastAVC()
/third_party/openh264/codec/api/svc/
Dcodec_app_def.h665 LAYER_NUM iLayer; member
673 int iLayer; member
682 int iLayer; member
691 int iLayer; member
/third_party/openh264/test/encoder/
DEncUT_EncoderExt.cpp221 sInfo.iLayer = SPATIAL_LAYER_0; in TEST_F()
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()
231 sReturn.iLayer = SPATIAL_LAYER_0; in TEST_F()
243 sInfo.iLayer = SPATIAL_LAYER_0; 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()
253 sReturn.iLayer = SPATIAL_LAYER_0; in TEST_F()
/third_party/openh264/module/
Dgmp-openh264.cpp323 existEncoderBitRate.iLayer = SPATIAL_LAYER_ALL; in SetRates()
329 << existEncoderBitRate.iLayer in SetRates()
337 newEncoderBitRate.iLayer = SPATIAL_LAYER_ALL; in SetRates()
349 << newEncoderBitRate.iLayer in SetRates()
/third_party/openh264/codec/encoder/core/src/
Dencoder_ext.cpp126 void CheckProfileSetting (SLogContext* pLogCtx, SWelsSvcCodingParam* pParam, int32_t iLayer, EProfi… in CheckProfileSetting() argument
127 SSpatialLayerConfig* pLayerInfo = &pParam->sSpatialLayers[iLayer]; in CheckProfileSetting()
131 … WELS_LOG_WARNING, "layerId(%d) doesn't support profile(%d), change to UNSPECIFIC profile", iLayer, in CheckProfileSetting()
136 if (iLayer == SPATIAL_LAYER_0) { in CheckProfileSetting()
138 … WELS_LOG_WARNING, "layerId(%d) doesn't support profile(%d), change to UNSPECIFIC profile", iLayer, in CheckProfileSetting()
146 iLayer, uiProfileIdc); in CheckProfileSetting()
151 void CheckLevelSetting (SLogContext* pLogCtx, SWelsSvcCodingParam* pParam, int32_t iLayer, ELevelId… in CheckLevelSetting() argument
152 SSpatialLayerConfig* pLayerInfo = &pParam->sSpatialLayers[iLayer]; in CheckLevelSetting()
699 int32_t WelsEncoderApplyBitRate (SLogContext* pLogCtx, SWelsSvcCodingParam* pParam, int iLayer) { in WelsEncoderApplyBitRate() argument
706 if (iLayer == SPATIAL_LAYER_ALL) { in WelsEncoderApplyBitRate()
[all …]
/third_party/sqlite/src/
Dsqlite3.c187404 int iLayer;
187407 for(iLayer=1; ALWAYS(iLayer<FTS_MAX_APPENDABLE_HEIGHT); iLayer++){
187409 NodeWriter *pNode = &pWriter->aNodeWriter[iLayer];
187434 pBlk->a[0] = (char)iLayer;
187459 pNode->block.a[0] = (char)iLayer;