From 7e4269e9ee1e63b92e7c2c3a9ff85a7f0f9b71cf Mon Sep 17 00:00:00 2001 From: "mflodman@webrtc.org" Date: Thu, 27 Oct 2011 12:59:47 +0000 Subject: [PATCH] Changed VP8 qp min and added noise reduction. Review URL: http://webrtc-codereview.appspot.com/248003 git-svn-id: http://webrtc.googlecode.com/svn/trunk@821 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/modules/video_coding/codecs/vp8/main/source/vp8.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/video_coding/codecs/vp8/main/source/vp8.cc b/src/modules/video_coding/codecs/vp8/main/source/vp8.cc index 8214bb18a6..4d75ccc540 100644 --- a/src/modules/video_coding/codecs/vp8/main/source/vp8.cc +++ b/src/modules/video_coding/codecs/vp8/main/source/vp8.cc @@ -312,7 +312,7 @@ VP8Encoder::InitEncode(const VideoCodec* inst, _cfg->rc_end_usage = VPX_CBR; _cfg->g_pass = VPX_RC_ONE_PASS; _cfg->rc_resize_allowed = 0; - _cfg->rc_min_quantizer = 4; + _cfg->rc_min_quantizer = 8; _cfg->rc_max_quantizer = 56; _cfg->rc_undershoot_pct = 100; _cfg->rc_overshoot_pct = 15; @@ -386,6 +386,7 @@ VP8Encoder::InitAndSetControlSettings() vpx_codec_control(_encoder, VP8E_SET_CPUUSED, _cpuSpeed); vpx_codec_control(_encoder, VP8E_SET_TOKEN_PARTITIONS, static_cast(_tokenPartitions)); + vpx_codec_control(_encoder, VP8E_SET_NOISE_SENSITIVITY, 2); #if WEBRTC_LIBVPX_VERSION >= 971 vpx_codec_control(_encoder, VP8E_SET_MAX_INTRA_BITRATE_PCT, _rcMaxIntraTarget);