/third_party/openh264/codec/console/enc/src/ |
D | welsenc.cpp | 132 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/ |
D | param_svc.h | 183 for (int32_t iLayer = 0; iLayer < MAX_SPATIAL_LAYER_NUM; iLayer++) { in FillDefault() local 184 param.sSpatialLayers[iLayer].uiProfileIdc = PRO_UNKNOWN; in FillDefault() 185 param.sSpatialLayers[iLayer].uiLevelIdc = LEVEL_UNKNOWN; in FillDefault() 186 param.sSpatialLayers[iLayer].iDLayerQp = SVC_QUALITY_BASE_QP; in FillDefault() 187 param.sSpatialLayers[iLayer].fFrameRate = param.fMaxFrameRate; in FillDefault() 189 param.sSpatialLayers[iLayer].iMaxSpatialBitrate = UNSPECIFIED_BIT_RATE; in FillDefault() 191 param.sSpatialLayers[iLayer].sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in FillDefault() 192 param.sSpatialLayers[iLayer].sSliceArgument.uiSliceNum = 0; //AUTO, using number of CPU cores in FillDefault() 193 param.sSpatialLayers[iLayer].sSliceArgument.uiSliceSizeConstraint = 1500; in FillDefault() 195 …param.sSpatialLayers[iLayer].bAspectRatioPresent = false; // do not write any of the following inf… in FillDefault() [all …]
|
D | extern.h | 112 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/ |
D | welsEncoderExt.cpp | 869 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/ |
D | encode_decode_api_test.template | 84 for (int iLayer = 0; iLayer < info.iLayerNum; ++iLayer) { 86 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer];
|
D | encode_options_test.cpp | 1004 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() 1412 int iLayer = 0; in TEST_P() local 1413 while (iLayer < info.iLayerNum) { in TEST_P() 1414 SLayerBSInfo* pLayerBsInfo = &info.sLayerInfo[iLayer]; in TEST_P() 1425 ++ iLayer; in TEST_P() 1521 for (int iLayer = 0; iLayer < info.iLayerNum; ++iLayer) { in TEST_F() local 1523 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TEST_F() [all …]
|
D | encode_decode_api_test.cpp | 164 for (int iLayer = 0; iLayer < info.iLayerNum; ++iLayer) { in TestOneSimulcastAVC() local 166 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TestOneSimulcastAVC()
|
/third_party/openh264/codec/api/wels/ |
D | codec_app_def.h | 667 LAYER_NUM iLayer; member 675 int iLayer; member 684 int iLayer; member 693 int iLayer; member
|
/third_party/openh264/codec/api/svc/ |
D | codec_app_def.h | 665 LAYER_NUM iLayer; member 673 int iLayer; member 682 int iLayer; member 691 int iLayer; member
|
/third_party/openh264/test/encoder/ |
D | EncUT_EncoderExt.cpp | 221 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/ |
D | gmp-openh264.cpp | 323 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/ |
D | encoder_ext.cpp | 126 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 …]
|