ref: 7bc1b7abf5c37fba66b48eb3a929dfc4b2e0e92c
parent: 18fdf6292db80d242581460d4f5941e86550f709
parent: 96b5b3965ef4355776917b9b1fdb233d183c0f0d
author: sijchen <sijchen@cisco.com>
date: Mon Nov 16 05:36:24 EST 2015
Merge pull request #2240 from ruil2/qp_trace add qp related trace
--- a/codec/encoder/plus/src/welsEncoderExt.cpp
+++ b/codec/encoder/plus/src/welsEncoderExt.cpp
@@ -488,7 +488,7 @@
WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO,
"iUsageType = %d,iPicWidth= %d;iPicHeight= %d;iTargetBitrate= %d;iMaxBitrate= %d;iRCMode= %d;iPaddingFlag= %d;iTemporalLayerNum= %d;iSpatialLayerNum= %d;fFrameRate= %.6ff;uiIntraPeriod= %d;"
"eSpsPpsIdStrategy = %d;bPrefixNalAddingCtrl = %d;bEnableDenoise= %d;bEnableBackgroundDetection= %d;bEnableAdaptiveQuant= %d;bEnableFrameSkip= %d;bEnableLongTermReference= %d;iLtrMarkPeriod= %d;"
- "iComplexityMode = %d;iNumRefFrame = %d;iEntropyCodingModeFlag = %d;uiMaxNalSize = %d;iLTRRefNum = %d;iMultipleThreadIdc = %d;iLoopFilterDisableIdc = %d (offset(alpha/beta): %d,%d)",
+ "iComplexityMode = %d;iNumRefFrame = %d;iEntropyCodingModeFlag = %d;uiMaxNalSize = %d;iLTRRefNum = %d;iMultipleThreadIdc = %d;iLoopFilterDisableIdc = %d (offset(alpha/beta): %d,%d;iMaxQp = %d;iMinQp = %d)",
pParam->iUsageType,
pParam->iPicWidth,
pParam->iPicHeight,
@@ -516,7 +516,9 @@
pParam->iMultipleThreadIdc,
pParam->iLoopFilterDisableIdc,
pParam->iLoopFilterAlphaC0Offset,
- pParam->iLoopFilterBetaOffset
+ pParam->iLoopFilterBetaOffset,
+ pParam->iMaxQp,
+ pParam->iMinQp
);
int32_t i = 0;
int32_t iSpatialLayers = (pParam->iSpatialLayerNum < MAX_SPATIAL_LAYER_NUM) ? (pParam->iSpatialLayerNum) :