Rename the ComputeColocated method to ComputeColocatedTemporalScaling to make it clearer what it's doing, and add a comment about it. Remove some obsolete comments
Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 3 files). Show all
Unified · Split
| @@ -2550,9 +2550,9 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 2549 unmodified lines | |||
| 2550 | } | 2550 | } |
| 2551 | } | 2551 | } |
| 2552 | } | 2552 | } |
| 2553 | //calculate Colocated mv scaler factor for temporal direct prediction | 2553 | //calculate Colocated mv scaling factor for temporal direct prediction |
| 2554 | if (pSh->eSliceType == B_SLICE && !pSh->iDirectSpatialMvPredFlag) | 2554 | if (pSh->eSliceType == B_SLICE && !pSh->iDirectSpatialMvPredFlag) |
| 2555 | ComputeColocated (pCtx); | 2555 | ComputeColocatedTemporalScaling (pCtx); |
| 2556 | 2556 | ||
| 2557 | iRet = WelsDecodeSlice (pCtx, bFreshSliceAvailable, pNalCur); | 2557 | iRet = WelsDecodeSlice (pCtx, bFreshSliceAvailable, pNalCur); |
| 2558 | 2558 | ||