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

Issue 7084013: Update VP8 encode options to speed up encoding for remoting (Closed)

Created:
9 years, 7 months ago by Alpha Left Google
Modified:
9 years, 5 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org, Alexander Potapenko
Visibility:
Public.

Description

Update VP8 encode options to speed up encoding for remoting More details changes made in this patch: g_profile: 1 -> 2 Will use a more simplified profile similar to H264 base profile g_threads: 1 -> 2 Use 2 threads for encoding, it was always intended to do this but disabled before due to a bug in libvpx cpuused: 13->16 Disable half pixel motion vector and use simple loop filtering Quality for static pictures will stay roughly the same but encoding time will be halved for the most common scenario. Quality of motion picture will suffer with this patch, but not by a large factor due to the fact that we were using real time encoding mode already. So This really trims the parts that we don't need. BUG=None TEST=None

Patch Set 1 #

Total comments: 2

Patch Set 2 : removed some comments #

Total comments: 1

Patch Set 3 : done #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -3 lines) Patch
M remoting/base/encoder_vp8.cc View 1 2 2 chunks +18 lines, -3 lines 4 comments Download

Messages

Total messages: 14 (0 generated)
Alpha Left Google
9 years, 7 months ago (2011-05-27 23:54:21 UTC) #1
Jamie
When you say "disable more VP8 quality related features", does this mean that the image ...
9 years, 7 months ago (2011-05-28 00:04:44 UTC) #2
Wez
http://codereview.chromium.org/7084013/diff/1/remoting/base/encoder_vp8.cc File remoting/base/encoder_vp8.cc (right): http://codereview.chromium.org/7084013/diff/1/remoting/base/encoder_vp8.cc#newcode102 remoting/base/encoder_vp8.cc:102: // TODO(hclam): Tune the parameters to better suit the ...
9 years, 7 months ago (2011-05-28 00:09:05 UTC) #3
hclam
The 'quality' that is referred here is with motion vector and loop filtering. It is ...
9 years, 7 months ago (2011-05-28 00:11:31 UTC) #4
dmac
http://codereview.chromium.org/7084013/diff/4001/remoting/base/encoder_vp8.cc File remoting/base/encoder_vp8.cc (right): http://codereview.chromium.org/7084013/diff/4001/remoting/base/encoder_vp8.cc#newcode116 remoting/base/encoder_vp8.cc:116: if (vpx_codec_control(codec_.get(), VP8E_SET_CPUUSED, 16)) Can we put some comments ...
9 years, 7 months ago (2011-05-28 00:16:33 UTC) #5
Alpha Left Google
On 2011/05/28 00:16:33, dmac wrote: > http://codereview.chromium.org/7084013/diff/4001/remoting/base/encoder_vp8.cc > File remoting/base/encoder_vp8.cc (right): > > http://codereview.chromium.org/7084013/diff/4001/remoting/base/encoder_vp8.cc#newcode116 > ...
9 years, 7 months ago (2011-05-28 00:21:42 UTC) #6
Wez
On 2011/05/28 00:21:42, Alpha wrote: > On 2011/05/28 00:16:33, dmac wrote: > > http://codereview.chromium.org/7084013/diff/4001/remoting/base/encoder_vp8.cc > ...
9 years, 7 months ago (2011-05-28 00:59:14 UTC) #7
dmac
On 2011/05/28 00:59:14, Wez wrote: > On 2011/05/28 00:21:42, Alpha wrote: > > On 2011/05/28 ...
9 years, 6 months ago (2011-06-16 17:48:03 UTC) #8
Alpha Left Google
Will update this patch shortly.
9 years, 6 months ago (2011-06-16 17:50:13 UTC) #9
Alpha Left Google
Patch updated with comments in the code.
9 years, 6 months ago (2011-06-20 18:49:02 UTC) #10
Wez
LGTM, but please check the comments below. http://codereview.chromium.org/7084013/diff/9001/remoting/base/encoder_vp8.cc File remoting/base/encoder_vp8.cc (right): http://codereview.chromium.org/7084013/diff/9001/remoting/base/encoder_vp8.cc#newcode111 remoting/base/encoder_vp8.cc:111: config.g_profile = ...
9 years, 6 months ago (2011-06-20 19:55:00 UTC) #11
Lambros
http://codereview.chromium.org/7084013/diff/9001/remoting/base/encoder_vp8.cc File remoting/base/encoder_vp8.cc (right): http://codereview.chromium.org/7084013/diff/9001/remoting/base/encoder_vp8.cc#newcode114 remoting/base/encoder_vp8.cc:114: config.g_threads = 2; Drive-by: I'd also like to know ...
9 years, 6 months ago (2011-06-20 20:02:07 UTC) #12
Alpha Left Google
http://codereview.chromium.org/7084013/diff/9001/remoting/base/encoder_vp8.cc File remoting/base/encoder_vp8.cc (right): http://codereview.chromium.org/7084013/diff/9001/remoting/base/encoder_vp8.cc#newcode111 remoting/base/encoder_vp8.cc:111: config.g_profile = 2; On 2011/06/20 19:55:01, Wez wrote: > ...
9 years, 6 months ago (2011-06-20 20:02:07 UTC) #13
Timur Iskhodzhanov
9 years, 6 months ago (2011-06-21 07:53:50 UTC) #14

Powered by Google App Engine
This is Rietveld 408576698