Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Unified Diff: webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc

Issue 1289933003: Full stack graphs (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Removing unused define + rebase master Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/video/full_stack.h » ('j') | webrtc/video/full_stack.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc
diff --git a/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc b/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc
index 04bbd161ec699338a2a36ac9a6f912ee39207132..38fe6a20685c6b4f5f71ea19843d032b0c95f20a 100644
--- a/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc
+++ b/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc
@@ -404,6 +404,10 @@ int VP9EncoderImpl::InitAndSetControlSettings(const VideoCodec* inst) {
vpx_codec_control(encoder_, VP9E_SET_NOISE_SENSITIVITY,
inst->codecSpecific.VP9.denoisingOn ? 1 : 0);
#endif
+ if (codec_.mode == kScreensharing) {
+ vpx_codec_control(encoder_, VP9E_SET_TUNE_CONTENT, 1);
+ }
+ vpx_codec_control(encoder_, VP8E_SET_STATIC_THRESHOLD, 1);
sprang_webrtc 2015/08/19 13:33:37 one-line comments about what these are supposed to
ivica 2015/08/20 13:25:59 Done.
inited_ = true;
return WEBRTC_VIDEO_CODEC_OK;
}
« no previous file with comments | « no previous file | webrtc/video/full_stack.h » ('j') | webrtc/video/full_stack.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698