Home
last modified time | relevance | path

Searched refs:pDLayer (Results 1 – 2 of 2) sorted by relevance

/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp138 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseLayerConfig() local
153 pDLayer->iVideoWidth = atoi (strTag[1].c_str()); in ParseLayerConfig()
155 pDLayer->iVideoHeight = atoi (strTag[1].c_str()); in ParseLayerConfig()
157 pDLayer->fFrameRate = (float)atof (strTag[1].c_str()); in ParseLayerConfig()
165 pDLayer->uiProfileIdc = (EProfileIdc)atoi (strTag[1].c_str()); in ParseLayerConfig()
169 pDLayer->iSpatialBitrate = 1000 * atoi (strTag[1].c_str()); in ParseLayerConfig()
171 if (pDLayer->iSpatialBitrate <= 0) { in ParseLayerConfig()
172 …fprintf (stderr, "Invalid spatial bitrate(%d) in dependency layer #%d.\n", pDLayer->iSpatialBitrat… in ParseLayerConfig()
175 if (pDLayer->iSpatialBitrate > iLeftTargetBitrate) { in ParseLayerConfig()
177 pDLayer->iSpatialBitrate, iLeftTargetBitrate); in ParseLayerConfig()
[all …]
/third_party/openh264/codec/encoder/core/src/
Dencoder_ext.cpp762 SSpatialLayerConfig* pDLayer = &pParam->sSpatialLayers[iDIndex]; in AcquireLayersNals() local
770 if (SM_SIZELIMITED_SLICE == pDLayer->sSliceArgument.uiSliceMode) { in AcquireLayersNals()
783 const int32_t kiNumOfSlice = GetInitialSliceNum (&pDLayer->sSliceArgument); in AcquireLayersNals()