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
This commit is contained in:
mflodman@webrtc.org 2011-10-27 12:59:47 +00:00
parent 8fc663b3ae
commit 7e4269e9ee

View File

@ -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<vp8e_token_partitions>(_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);