Use Int instead of Double in Rate Control and Modify anchor SHA1 value
Showing the changes to codec/encoder/core/src/wels_preprocess.cpp (1 of 12 files). Show all
Unified · Split
| @@ -663,7 +663,7 @@ void CWelsPreProcess::BackgroundDetection (SVAAFrameInfo* pVaaInfo, SPicture* pC · 662 unmodified lines | |||
| 663 | 663 | ||
| 664 | void CWelsPreProcess::AdaptiveQuantCalculation (SVAAFrameInfo* pVaaInfo, SPicture* pCurPicture, SPicture* pRefPicture) { | 664 | void CWelsPreProcess::AdaptiveQuantCalculation (SVAAFrameInfo* pVaaInfo, SPicture* pCurPicture, SPicture* pRefPicture) { |
| 665 | pVaaInfo->sAdaptiveQuantParam.pCalcResult = & (pVaaInfo->sVaaCalcInfo); | 665 | pVaaInfo->sAdaptiveQuantParam.pCalcResult = & (pVaaInfo->sVaaCalcInfo); |
| 666 | pVaaInfo->sAdaptiveQuantParam.dAverMotionTextureIndexToDeltaQp = 0; | 666 | pVaaInfo->sAdaptiveQuantParam.iAverMotionTextureIndexToDeltaQp = 0; |
| 667 | 667 | ||
| 668 | { | 668 | { |
| 669 | int32_t iMethodIdx = METHOD_ADAPTIVE_QUANT; | 669 | int32_t iMethodIdx = METHOD_ADAPTIVE_QUANT; |