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

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

Issue 1192173003: VP9 wrapper: Adjust speed setting. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 6 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
Index: webrtc/modules/video_coding/codecs/vp9/vp9_impl.h
diff --git a/webrtc/modules/video_coding/codecs/vp9/vp9_impl.h b/webrtc/modules/video_coding/codecs/vp9/vp9_impl.h
index 5775952d60c9a76ae7519d5f63d693e3962a3ca7..c17c895613885629546a22ea0815fd58f40215d3 100644
--- a/webrtc/modules/video_coding/codecs/vp9/vp9_impl.h
+++ b/webrtc/modules/video_coding/codecs/vp9/vp9_impl.h
@@ -48,6 +48,9 @@ class VP9EncoderImpl : public VP9Encoder {
// Determine number of encoder threads to use.
int NumberOfThreads(int width, int height, int number_of_cores);
+ // Set the cpu_speed setting for encoder based on resolution and/or platform.
+ int SetCpuSpeed(int width, int height);
+
// Call encoder initialize function and set control settings.
int InitAndSetControlSettings(const VideoCodec* inst);
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc » ('j') | webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698