Showing the changes to codec/encoder/core/src/wels_preprocess.cpp (1 of 7 files). Show all
Unified · Split
| @@ -368,8 +368,8 @@ int32_t CWelsPreProcess::SingleLayerPreprocess (sWelsEncCtx* pCtx, const SSource · 367 unmodified lines | |||
| 368 | 368 | ||
| 369 | // generate other spacial layer | 369 | // generate other spacial layer |
| 370 | // pSrc is | 370 | // pSrc is |
| 371 | // -- padded input pic, if downsample should be applied to generate highest layer, [if] block above | 371 | // -- padded input pic, if downsample should be applied to generate highest layer, [if] block above |
| 372 | // -- highest layer, if no downsampling, [else] block above | 372 | // -- highest layer, if no downsampling, [else] block above |
| 373 | if (pSvcParam->iSpatialLayerNum > 1) { | 373 | if (pSvcParam->iSpatialLayerNum > 1) { |
| 374 | while (iDependencyId >= 0) { | 374 | while (iDependencyId >= 0) { |
| 375 | pDlayerParamInternal = &pSvcParam->sDependencyLayers[iDependencyId]; | 375 | pDlayerParamInternal = &pSvcParam->sDependencyLayers[iDependencyId]; |