RC LOWBR mode merge
Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 5 files). Show all
Unified · Split
| @@ -903,7 +903,7 @@ int CWelsH264SVCEncoder::SetOption (ENCODER_OPTION eOptionId, void* pOption) { · 902 unmodified lines | ||
| 903 | 903 | WelsEncoderApplyBitRate (m_pEncContext->pSvcParam,pInfo->iLayer); |
| 904 | 904 | } |
| 905 | 905 | break; |
| 906 | − case ENCODER_OPTION_RC_MODE: { // 0:quality mode;1:bit-rate mode | |
| 906 | + case ENCODER_OPTION_RC_MODE: { // 0:quality mode;1:bit-rate mode;2:bitrate limited mode | |
| 907 | 907 | int32_t iValue = * ((int32_t*)pOption); |
| 908 | 908 | m_pEncContext->pSvcParam->iRCMode = iValue; |
| 909 | 909 | } |