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

Issue 1192173003: VP9 wrapper: Adjust speed setting. (Closed)

Created:
5 years, 6 months ago by marpan
Modified:
5 years, 5 months ago
Reviewers:
tommi, stefan-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

VP9 wrapper: Adjust speed setting. Use lower speed setting for smaller resolutions. R=stefan@webrtc.org TBR=stefan@webrtc.org BUG= Committed: https://chromium.googlesource.com/external/webrtc/+/6e89b25143b23e19cc2f50f740626f1f4540c1d9

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -6 lines) Patch
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc View 1 2 3 chunks +12 lines, -6 lines 2 comments Download

Messages

Total messages: 6 (1 generated)
stefan-webrtc
lgtm https://codereview.webrtc.org/1192173003/diff/20001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right): https://codereview.webrtc.org/1192173003/diff/20001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc#newcode207 webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:207: int VP9EncoderImpl::SetCpuSpeed(int width, int height) { GetCpuSpeed
5 years, 6 months ago (2015-06-25 15:26:03 UTC) #1
stefan-webrtc
https://codereview.webrtc.org/1192173003/diff/20001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right): https://codereview.webrtc.org/1192173003/diff/20001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc#newcode207 webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:207: int VP9EncoderImpl::SetCpuSpeed(int width, int height) { On 2015/06/25 15:26:02, ...
5 years, 6 months ago (2015-06-25 15:26:50 UTC) #2
stefan-webrtc
On 2015/06/25 15:26:50, stefan-webrtc (holmer) wrote: > https://codereview.webrtc.org/1192173003/diff/20001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc > File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right): > > https://codereview.webrtc.org/1192173003/diff/20001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc#newcode207 ...
5 years, 6 months ago (2015-06-25 15:27:01 UTC) #3
marpan
Committed patchset #3 (id:40001) manually as 6e89b25143b23e19cc2f50f740626f1f4540c1d9 (presubmit successful).
5 years, 5 months ago (2015-07-07 21:40:55 UTC) #4
tommi
5 years, 5 months ago (2015-07-08 09:13:39 UTC) #6
Message was sent while issue was closed.
drive-by nits

https://codereview.webrtc.org/1192173003/diff/40001/webrtc/modules/video_codi...
File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (left):

https://codereview.webrtc.org/1192173003/diff/40001/webrtc/modules/video_codi...
webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:226: cpu_speed_ = 7;
cpu_speed_ is in my opinion not a great variable name. For something that
determines quality of the encoding, I would have liked to use something like
encoding_quality_ and define the range in constants (min/max).  As is, cpu_used_
would at least be better since it matches with the vpx settings constant.

https://codereview.webrtc.org/1192173003/diff/40001/webrtc/modules/video_codi...
File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right):

https://codereview.webrtc.org/1192173003/diff/40001/webrtc/modules/video_codi...
webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:47: int GetCpuSpeed(int
width, int height) {
Can this be in an anonymous namespace?
Also, I find the function name and parameters to be confusing. :-/
The return value doesn't tell you anything about the speed of the cpu...  where
is the range defined (aside from the comment)?  Would it make sense to call this
GetCompressionQuality or GetEncodingQuality?

Powered by Google App Engine
This is Rietveld 408576698