• Home
  • Raw
  • Download

Lines Matching refs:pDLayer

138   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()
180 iLeftTargetBitrate -= pDLayer->iSpatialBitrate; in ParseLayerConfig()
183 pDLayer->iMaxSpatialBitrate = 1000 * atoi (strTag[1].c_str()); in ParseLayerConfig()
185 if (pDLayer->iMaxSpatialBitrate < 0) { in ParseLayerConfig()
186 …fprintf (stderr, "Invalid max spatial bitrate(%d) in dependency layer #%d.\n", pDLayer->iMaxSpatia… in ParseLayerConfig()
189 … if (pDLayer->iMaxSpatialBitrate > 0 && pDLayer->iMaxSpatialBitrate < pDLayer->iSpatialBitrate) { in ParseLayerConfig()
191 pDLayer->iMaxSpatialBitrate, pDLayer->iSpatialBitrate); in ParseLayerConfig()
212 pDLayer->iDLayerQp = sLayerCtx.iDLayerQp; in ParseLayerConfig()
213 pDLayer->sSliceArgument.uiSliceMode = sLayerCtx.sSliceArgument.uiSliceMode; in ParseLayerConfig()
215 …memcpy (&pDLayer->sSliceArgument, &sLayerCtx.sSliceArgument, sizeof (SSliceArgument)); // confirme… in ParseLayerConfig()
216 memcpy (&pDLayer->sSliceArgument.uiSliceMbNum[0], &sLayerCtx.sSliceArgument.uiSliceMbNum[0], in ParseLayerConfig()
585 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() local
586 pDLayer->uiProfileIdc = (EProfileIdc) atoi (argv[n++]); in ParseCommandLine()
596 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() local
597 pDLayer->iVideoWidth = atoi (argv[n++]); in ParseCommandLine()
602 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() local
603 pDLayer->iVideoHeight = atoi (argv[n++]); in ParseCommandLine()
608 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() local
609 pDLayer->fFrameRate = (float)atof (argv[n++]); in ParseCommandLine()
614 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() local
615 pDLayer->iDLayerQp = sLayerCtx[iLayer].iDLayerQp = atoi (argv[n++]); in ParseCommandLine()
621 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() local
622 pDLayer->iSpatialBitrate = 1000 * atoi (argv[n++]); in ParseCommandLine()
627 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() local
628 pDLayer->iMaxSpatialBitrate = 1000 * atoi (argv[n++]); in ParseCommandLine()
633 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() local
637 pDLayer->sSliceArgument.uiSliceMode = SM_SINGLE_SLICE; in ParseCommandLine()
640 pDLayer->sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; in ParseCommandLine()
643 pDLayer->sSliceArgument.uiSliceMode = SM_RASTER_SLICE; in ParseCommandLine()
646 pDLayer->sSliceArgument.uiSliceMode = SM_SIZELIMITED_SLICE; in ParseCommandLine()
649 pDLayer->sSliceArgument.uiSliceMode = SM_RESERVED; in ParseCommandLine()
656 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() local
657 pDLayer->sSliceArgument.uiSliceSizeConstraint = atoi (argv[n++]); in ParseCommandLine()
662 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() local
663 pDLayer->sSliceArgument.uiSliceNum = atoi (argv[n++]); in ParseCommandLine()
666 SSpatialLayerConfig* pDLayer = &pSvcParam.sSpatialLayers[iLayer]; in ParseCommandLine() local
667 pDLayer->sSliceArgument.uiSliceMbNum[0] = atoi (argv[n++]); in ParseCommandLine()
838 SSpatialLayerConfig* pDLayer = &sSvcParam.sSpatialLayers[iLayer]; in ProcessEncoding() local
839 sSvcParam.iPicWidth = WELS_MAX (sSvcParam.iPicWidth, pDLayer->iVideoWidth); in ProcessEncoding()
840 sSvcParam.iPicHeight = WELS_MAX (sSvcParam.iPicHeight, pDLayer->iVideoHeight); in ProcessEncoding()