History

decode_slice: Rename ComputeColocated

Rename the ComputeColocated method to ComputeColocatedTemporalScaling to make it clearer what it's doing, and add a comment about it. Remove some obsolete comments

Jan Schmidt committed 7 years ago

Commit 8c006e21 parent 579a5bc3 files · +8 −9Browse files

Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 3 files). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+2−2
@@ -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 prediction2553 //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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t