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
3616 eNalRefIdc = NRI_PRI_LOWEST;3616 eNalRefIdc = NRI_PRI_LOWEST;
3617 else if (1 + iCurTid == iDecompositionStages)3617 else if (1 + iCurTid == iDecompositionStages)
3618 eNalRefIdc = NRI_PRI_LOW;3618 eNalRefIdc = NRI_PRI_LOW;
3619 else if (2 + iCurTid == iDecompositionStages)
3620 eNalRefIdc = NRI_PRI_HIGH;
3619 else // more details for other temporal layers?3621 else // more details for other temporal layers?
3620 eNalRefIdc = NRI_PRI_HIGHEST;3622 eNalRefIdc = NRI_PRI_HIGHEST;
3621 pCtx->eNalType = eNalType;3623 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