add scene change for screen content Approved by Sijia.
Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 7 files). Show all
Unified · Split
| @@ -2146,7 +2146,7 @@ void WelsUninitEncoderExt (sWelsEncCtx** ppCtx) { · 2145 unmodified lines | ||
| 2146 | 2146 | /*! |
| 2147 | 2147 | * \brief get temporal level due to configuration and coding context |
| 2148 | 2148 | */ |
| 2149 | −static inline int32_t GetTemporalLevel (SDLayerParam* fDlp, const int32_t kiFrameNum, const int32_t kiGopSize) { | |
| 2149 | +int32_t GetTemporalLevel (SDLayerParam* fDlp, const int32_t kiFrameNum, const int32_t kiGopSize) { | |
| 2150 | 2150 | const int32_t kiCodingIdx = kiFrameNum & (kiGopSize - 1); |
| 2151 | 2151 | |
| 2152 | 2152 | return fDlp->uiCodingIdx2TemporalId[kiCodingIdx]; |