History

avoid using AQ which is untuned for screen route

sijchen committed 12 years ago

Commit 10804f31 parent 9506f711 file · +5 −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+5−0
@@ -91,6 +91,11 @@ int32_t ParamValidation (SLogContext* pLogCtx, SWelsSvcCodingParam* pCfg) { · 90 unmodified lines
91 pCfg->iSpatialLayerNum);91 pCfg->iSpatialLayerNum);
92 return ENC_RETURN_UNSUPPORTED_PARA;92 return ENC_RETURN_UNSUPPORTED_PARA;
93 }93 }
94 if (pCfg->bEnableAdaptiveQuant) {
95 WelsLog (pLogCtx, WELS_LOG_WARNING, "ParamValidation(), AdaptiveQuant(%d) is not supported yet for screen content, auto turned off\n",
96 pCfg->bEnableAdaptiveQuant);
97 pCfg->bEnableAdaptiveQuant = false;
98 }
94 }99 }
95 if (pCfg->iSpatialLayerNum > 1) {100 if (pCfg->iSpatialLayerNum > 1) {
96 int32_t iFinalWidth = pCfg->sSpatialLayers[pCfg->iSpatialLayerNum - 1].iVideoWidth;101 int32_t iFinalWidth = pCfg->sSpatialLayers[pCfg->iSpatialLayerNum - 1].iVideoWidth;

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