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

Issue 1150163002: Update VideoFramePump to pass un-changed frames to encoders. (Closed)

Created:
5 years, 7 months ago by Wez
Modified:
5 years, 6 months ago
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update VideoFramePump to pass un-changed frames to encoders. This allows VP9/lossy mode to "top-off" previously encoded imagery to improve visual quality at the client, by continuing to deliver data even when nothing has actually changed on the host desktop. This CL makes several other minor changes: - Fix the host's --enable-i444 flag, which was broken by refactoring. - Tweak VP9/lossy mode to more conservative quantization settings. - Tweak VP9/lossy mode to encode up to two unchanged frames for top-off. - Update VideoEncoderVerbatim for the new VideoFramePump semantics. - Update the VideoFrameRecorder & FakeDesktopCapturer. - Adds simple codec & VideoFramePump unit-tests for the new behaviour. BUG=134202 Committed: https://crrev.com/43ac266109c2cb29aca8a4858726a3b369c1f9db Cr-Commit-Position: refs/heads/master@{#333764}

Patch Set 1 #

Patch Set 2 : Tweak settings #

Patch Set 3 : Tweak comments #

Total comments: 8

Patch Set 4 : Address review comments #

Total comments: 4

Patch Set 5 : Add basic tests for unchanged frames #

Total comments: 6

Patch Set 6 : Address review comments #

Patch Set 7 : Work-around Visual Studio issue w/ undefined references #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -47 lines) Patch
M remoting/codec/codec_test.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M remoting/codec/codec_test.cc View 1 2 3 4 5 3 chunks +23 lines, -2 lines 0 comments Download
M remoting/codec/video_encoder.h View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M remoting/codec/video_encoder_verbatim.cc View 1 1 chunk +6 lines, -1 line 0 comments Download
M remoting/codec/video_encoder_verbatim_unittest.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/codec/video_encoder_vpx.h View 1 2 3 2 chunks +8 lines, -4 lines 0 comments Download
M remoting/codec/video_encoder_vpx.cc View 1 2 3 4 5 5 chunks +20 lines, -18 lines 0 comments Download
M remoting/codec/video_encoder_vpx_unittest.cc View 1 2 3 4 7 chunks +25 lines, -8 lines 0 comments Download
M remoting/host/client_session.cc View 1 2 3 chunks +6 lines, -1 line 0 comments Download
M remoting/host/fake_desktop_capturer.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 2 3 4 5 6 3 chunks +14 lines, -0 lines 0 comments Download
M remoting/host/host_mock_objects.cc View 1 2 3 4 2 chunks +13 lines, -0 lines 0 comments Download
M remoting/host/video_frame_pump.cc View 1 2 1 chunk +13 lines, -9 lines 0 comments Download
M remoting/host/video_frame_pump_unittest.cc View 1 2 3 4 5 3 chunks +73 lines, -0 lines 0 comments Download
M remoting/host/video_frame_recorder_unittest.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 14 (3 generated)
Wez
5 years, 7 months ago (2015-05-23 01:11:01 UTC) #2
Sergey Ulanov
This change actually enables top-off in the encoder, while description says that the change is ...
5 years, 7 months ago (2015-05-26 21:57:22 UTC) #3
Wez
On 2015/05/26 21:57:22, Sergey Ulanov wrote: > This change actually enables top-off in the encoder, ...
5 years, 6 months ago (2015-06-03 23:56:55 UTC) #4
Sergey Ulanov
lgtm https://codereview.chromium.org/1150163002/diff/60001/remoting/codec/video_encoder.h File remoting/codec/video_encoder.h (right): https://codereview.chromium.org/1150163002/diff/60001/remoting/codec/video_encoder.h#newcode28 remoting/codec/video_encoder.h:28: // Encode an image stored in |frame|. If ...
5 years, 6 months ago (2015-06-06 00:19:58 UTC) #5
Wez
https://codereview.chromium.org/1150163002/diff/40001/remoting/codec/video_encoder_vpx.cc File remoting/codec/video_encoder_vpx.cc (right): https://codereview.chromium.org/1150163002/diff/40001/remoting/codec/video_encoder_vpx.cc#newcode275 remoting/codec/video_encoder_vpx.cc:275: if (!--topoff_frame_count_) { On 2015/05/26 21:57:22, Sergey Ulanov wrote: ...
5 years, 6 months ago (2015-06-09 01:46:21 UTC) #6
Wez
Please take a look at the new tests.
5 years, 6 months ago (2015-06-09 01:46:36 UTC) #7
Sergey Ulanov
lgtm https://codereview.chromium.org/1150163002/diff/60001/remoting/codec/video_encoder_vpx.cc File remoting/codec/video_encoder_vpx.cc (right): https://codereview.chromium.org/1150163002/diff/60001/remoting/codec/video_encoder_vpx.cc#newcode277 remoting/codec/video_encoder_vpx.cc:277: if (topoff_frame_count_ > 0) { On 2015/06/06 00:19:58, ...
5 years, 6 months ago (2015-06-09 05:32:44 UTC) #8
Wez
https://codereview.chromium.org/1150163002/diff/60001/remoting/codec/video_encoder_vpx.cc File remoting/codec/video_encoder_vpx.cc (right): https://codereview.chromium.org/1150163002/diff/60001/remoting/codec/video_encoder_vpx.cc#newcode277 remoting/codec/video_encoder_vpx.cc:277: if (topoff_frame_count_ > 0) { On 2015/06/09 05:32:43, Sergey ...
5 years, 6 months ago (2015-06-09 22:00:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1150163002/110001
5 years, 6 months ago (2015-06-10 17:44:36 UTC) #12
commit-bot: I haz the power
Committed patchset #7 (id:110001)
5 years, 6 months ago (2015-06-10 18:22:35 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 18:25:18 UTC) #14
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/43ac266109c2cb29aca8a4858726a3b369c1f9db
Cr-Commit-Position: refs/heads/master@{#333764}

Powered by Google App Engine
This is Rietveld 408576698