History

modify nal_ref_idc from 3 to 2 for level 1 when output 4 temporal layers

vacingFang committed 5 years ago

Commit debb01e1 parent eb2469f1 file · +2 −0Browse files

Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+2−0
@@ -3616,6 +3616,8 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSour · 3615 unmodified lines
36163616 eNalRefIdc = NRI_PRI_LOWEST;
36173617 else if (1 + iCurTid == iDecompositionStages)
36183618 eNalRefIdc = NRI_PRI_LOW;
3619+ else if (2 + iCurTid == iDecompositionStages)
3620+ eNalRefIdc = NRI_PRI_HIGH;
36193621 else // more details for other temporal layers?
36203622 eNalRefIdc = NRI_PRI_HIGHEST;
36213623 pCtx->eNalType = eNalType;

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