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

Issue 1328113004: Work on flexible mode and screen sharing. (Closed)

Created:
5 years, 3 months ago by philipel
Modified:
5 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, mflodman, perkj_webrtc, andresp
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Work on flexible mode and screen sharing. Implement VP8 style screensharing but with spatial layers. Implement flexible mode. Files from other patches: generic_encoder.cc layer_filtering_transport.cc BUG=webrtc:4914 Committed: https://crrev.com/77ccfb4d16c148e61a316746bb5d9705e8b39f4a Cr-Commit-Position: refs/heads/master@{#10572}

Patch Set 1 #

Patch Set 2 : Undo renaming. #

Patch Set 3 : Undo renaming #

Total comments: 47

Patch Set 4 : Spatial layers when screensharing. #

Total comments: 54

Patch Set 5 : Fixing comments. #

Patch Set 6 : Bug fix screenshare_layers. #

Patch Set 7 : Implement general screenshare layer logic and unittests. #

Total comments: 16

Patch Set 8 : Fix comments. #

Patch Set 9 : Changed interface for spatial layer encoding. #

Total comments: 30

Patch Set 10 : Feedback fixes. #

Patch Set 11 : Unit test fixes. #

Patch Set 12 : Rebase #

Patch Set 13 : Rebase #

Patch Set 14 : Rebase trickery #

Patch Set 15 : Use alt_fb_idx for keyframes, fully initialize structure. #

Total comments: 21

Patch Set 16 : Rebase + comments. #

Patch Set 17 : static cast #

Patch Set 18 : Rebase. #

Patch Set 19 : Rebase magic #

Patch Set 20 : Conflict confussion #

Patch Set 21 : Newline before EOF in video_send_stream_tests.cc #

Patch Set 22 : Rebase + Comments #

Total comments: 4

Patch Set 23 : Bracers initialization fix #

Patch Set 24 : Initialization compile fix android #

Total comments: 4

Patch Set 25 : Comments #

Total comments: 8

Patch Set 26 : Rebase + comments #

Total comments: 12

Patch Set 27 : Comment fix #

Patch Set 28 : Unittest fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1114 lines, -39 lines) Patch
M webrtc/modules/include/module_common_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/modules.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/interface/video_codec_interface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +4 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/codecs/vp9/screenshare_layers.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +66 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/codecs/vp9/screenshare_layers.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +93 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +323 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9.gyp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 4 chunks +34 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 12 chunks +176 lines, -16 lines 0 comments Download
M webrtc/modules/video_coding/main/source/decoding_state.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +12 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/main/source/decoding_state.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 6 chunks +66 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/main/source/decoding_state_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +250 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/main/source/encoded_frame.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/main/source/generic_encoder.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/main/source/jitter_buffer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -6 lines 0 comments Download
M webrtc/video/full_stack.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +6 lines, -3 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +59 lines, -6 lines 0 comments Download

Messages

Total messages: 78 (24 generated)
philipel
Sorry for large CL :(
5 years, 3 months ago (2015-09-07 10:15:02 UTC) #2
sprang_webrtc
https://codereview.webrtc.org/1328113004/diff/40001/webrtc/modules/video_coding/codecs/vp9/screenshare_layers.cc File webrtc/modules/video_coding/codecs/vp9/screenshare_layers.cc (right): https://codereview.webrtc.org/1328113004/diff/40001/webrtc/modules/video_coding/codecs/vp9/screenshare_layers.cc#newcode1 webrtc/modules/video_coding/codecs/vp9/screenshare_layers.cc:1: /* Copyright (c) 2013 The WebRTC project authors. All ...
5 years, 3 months ago (2015-09-07 14:39:05 UTC) #3
philipel
Much of the code has changed, but many of the comments are still relevant and ...
5 years, 3 months ago (2015-09-10 14:47:02 UTC) #4
sprang_webrtc
On 2015/09/10 14:47:02, philipel wrote: > Much of the code has changed, but many of ...
5 years, 3 months ago (2015-09-11 08:12:11 UTC) #5
philipel
5 years, 3 months ago (2015-09-15 10:54:10 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1328113004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1328113004/60001
5 years, 3 months ago (2015-09-15 11:12:30 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_rel/builds/8086) linux_gn_rel on ...
5 years, 3 months ago (2015-09-15 11:13:49 UTC) #10
sprang_webrtc
Good job getting this to work. I know things are messy and/or missing... Some observations: ...
5 years, 3 months ago (2015-09-15 15:41:22 UTC) #11
philipel
https://codereview.webrtc.org/1328113004/diff/60001/webrtc/modules/video_coding/codecs/interface/video_codec_interface.h File webrtc/modules/video_coding/codecs/interface/video_codec_interface.h (right): https://codereview.webrtc.org/1328113004/diff/60001/webrtc/modules/video_coding/codecs/interface/video_codec_interface.h#newcode72 webrtc/modules/video_coding/codecs/interface/video_codec_interface.h:72: // Frame reference data On 2015/09/15 15:41:21, språng wrote: ...
5 years, 3 months ago (2015-09-16 09:35:54 UTC) #12
philipel
General fixes and improvements in regards to the comments. I have not included any major ...
5 years, 3 months ago (2015-09-16 09:40:24 UTC) #13
philipel
5 years, 3 months ago (2015-09-18 12:53:45 UTC) #14
sprang_webrtc
https://codereview.webrtc.org/1328113004/diff/60001/webrtc/modules/video_coding/codecs/vp9/screenshare_layers.cc File webrtc/modules/video_coding/codecs/vp9/screenshare_layers.cc (right): https://codereview.webrtc.org/1328113004/diff/60001/webrtc/modules/video_coding/codecs/vp9/screenshare_layers.cc#newcode53 webrtc/modules/video_coding/codecs/vp9/screenshare_layers.cc:53: if (l0_bits_used_ > threshold_kbps_ * 1000 && !is_keyframe) { ...
5 years, 2 months ago (2015-09-25 09:53:15 UTC) #15
philipel
https://codereview.webrtc.org/1328113004/diff/120001/webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc File webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc (right): https://codereview.webrtc.org/1328113004/diff/120001/webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc#newcode2 webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc:2: * Copyright (c) 2013 The WebRTC project authors. All ...
5 years, 2 months ago (2015-09-28 16:46:38 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1328113004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1328113004/140001
5 years, 2 months ago (2015-10-09 08:56:23 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_clang_dbg/builds/8096) linux_gn_rel on ...
5 years, 2 months ago (2015-10-09 08:57:33 UTC) #20
philipel1
5 years, 1 month ago (2015-10-26 10:06:02 UTC) #22
stefan-webrtc
Review until vp9_impl.h https://codereview.webrtc.org/1328113004/diff/160001/webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc File webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc (right): https://codereview.webrtc.org/1328113004/diff/160001/webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc#newcode752 webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc:752: b_bit && (!l_bit || !vp9->inter_layer_predicted); Add ...
5 years, 1 month ago (2015-10-28 13:59:05 UTC) #23
philipel1
I ran the video_engine_tests and many of the VP9 screenshare tests fail because they do ...
5 years, 1 month ago (2015-10-29 14:49:27 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1328113004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1328113004/220001
5 years, 1 month ago (2015-11-02 16:00:44 UTC) #26
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 1 month ago (2015-11-02 16:00:47 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1328113004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1328113004/220001
5 years, 1 month ago (2015-11-02 16:03:19 UTC) #30
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 1 month ago (2015-11-02 16:03:21 UTC) #32
philipel1
5 years, 1 month ago (2015-11-04 09:57:33 UTC) #34
mflodman
Illl be OOO the rest of the day and most of tomorrow. Erik and Åsa, ...
5 years, 1 month ago (2015-11-05 11:25:59 UTC) #36
sprang_webrtc
Looks good, just a few nits and questions. I'm relying on Åsa to look more ...
5 years, 1 month ago (2015-11-05 12:18:17 UTC) #37
philipel1
https://codereview.webrtc.org/1328113004/diff/280001/webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc File webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc (right): https://codereview.webrtc.org/1328113004/diff/280001/webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc#newcode156 webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc:156: expected_.start_layer = l; On 2015/11/05 12:18:17, språng wrote: > ...
5 years, 1 month ago (2015-11-05 13:36:25 UTC) #38
sprang_webrtc
lgtm asapersson@, ptal
5 years, 1 month ago (2015-11-05 13:40:18 UTC) #39
philipel
Rebase magic
5 years, 1 month ago (2015-11-05 15:16:42 UTC) #40
philipel
Newline before EOF in video_send_stream_tests.cc
5 years, 1 month ago (2015-11-05 16:06:23 UTC) #41
åsapersson
https://codereview.webrtc.org/1328113004/diff/280001/webrtc/modules/video_coding/codecs/interface/video_codec_interface.h File webrtc/modules/video_coding/codecs/interface/video_codec_interface.h (right): https://codereview.webrtc.org/1328113004/diff/280001/webrtc/modules/video_coding/codecs/interface/video_codec_interface.h#newcode74 webrtc/modules/video_coding/codecs/interface/video_codec_interface.h:74: uint16_t p_diff[kMaxVp9RefPics]; Max p_diff for flexible mode is now ...
5 years, 1 month ago (2015-11-06 10:19:34 UTC) #42
philipel1
https://codereview.webrtc.org/1328113004/diff/280001/webrtc/modules/video_coding/codecs/interface/video_codec_interface.h File webrtc/modules/video_coding/codecs/interface/video_codec_interface.h (right): https://codereview.webrtc.org/1328113004/diff/280001/webrtc/modules/video_coding/codecs/interface/video_codec_interface.h#newcode74 webrtc/modules/video_coding/codecs/interface/video_codec_interface.h:74: uint16_t p_diff[kMaxVp9RefPics]; On 2015/11/06 10:19:34, åsapersson wrote: > Max ...
5 years, 1 month ago (2015-11-06 14:35:16 UTC) #43
philipel
Bracers initialization fix
5 years, 1 month ago (2015-11-06 14:48:10 UTC) #44
philipel
Initialization compile fix android
5 years, 1 month ago (2015-11-06 14:54:10 UTC) #45
åsapersson
https://codereview.webrtc.org/1328113004/diff/280001/webrtc/modules/video_coding/main/source/decoding_state.cc File webrtc/modules/video_coding/main/source/decoding_state.cc (right): https://codereview.webrtc.org/1328113004/diff/280001/webrtc/modules/video_coding/main/source/decoding_state.cc#newcode69 webrtc/modules/video_coding/main/source/decoding_state.cc:69: if (frame->CodecSpecific()->codecType != kVideoCodecVP9) On 2015/11/06 14:35:16, philipel1 wrote: ...
5 years, 1 month ago (2015-11-06 17:08:03 UTC) #46
philipel
Comments
5 years, 1 month ago (2015-11-06 17:20:20 UTC) #47
philipel1
https://codereview.webrtc.org/1328113004/diff/420001/webrtc/modules/video_coding/main/source/decoding_state.cc File webrtc/modules/video_coding/main/source/decoding_state.cc (right): https://codereview.webrtc.org/1328113004/diff/420001/webrtc/modules/video_coding/main/source/decoding_state.cc#newcode94 webrtc/modules/video_coding/main/source/decoding_state.cc:94: frame_decoded_[frame_index] = true; On 2015/11/06 17:08:03, åsapersson wrote: > ...
5 years, 1 month ago (2015-11-06 17:20:48 UTC) #48
åsapersson
https://codereview.webrtc.org/1328113004/diff/460002/webrtc/modules/video_coding/main/source/decoding_state.cc File webrtc/modules/video_coding/main/source/decoding_state.cc (right): https://codereview.webrtc.org/1328113004/diff/460002/webrtc/modules/video_coding/main/source/decoding_state.cc#newcode69 webrtc/modules/video_coding/main/source/decoding_state.cc:69: if (frame->CodecSpecific()->codecType != kVideoCodecVP9) This is needed for non-flexible ...
5 years, 1 month ago (2015-11-09 12:04:23 UTC) #49
philipel
Rebase + comments
5 years, 1 month ago (2015-11-09 12:25:10 UTC) #50
philipel1
https://codereview.webrtc.org/1328113004/diff/460002/webrtc/modules/video_coding/main/source/decoding_state.cc File webrtc/modules/video_coding/main/source/decoding_state.cc (right): https://codereview.webrtc.org/1328113004/diff/460002/webrtc/modules/video_coding/main/source/decoding_state.cc#newcode69 webrtc/modules/video_coding/main/source/decoding_state.cc:69: if (frame->CodecSpecific()->codecType != kVideoCodecVP9) On 2015/11/09 12:04:22, åsapersson wrote: ...
5 years, 1 month ago (2015-11-09 12:25:40 UTC) #51
åsapersson
lgtm
5 years, 1 month ago (2015-11-09 12:40:52 UTC) #52
stefan-webrtc
Mostly a rubberstamp lgtm, reyling on åsas and eriks reviews here. I found a few ...
5 years, 1 month ago (2015-11-09 17:01:27 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1328113004/480001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1328113004/480001
5 years, 1 month ago (2015-11-09 17:12:26 UTC) #56
philipel
Comment fix
5 years, 1 month ago (2015-11-09 17:17:00 UTC) #58
philipel1
Will write unittests for vp9_impl.cc, currently lots of untested code. https://codereview.webrtc.org/1328113004/diff/480001/webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc File webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc (right): https://codereview.webrtc.org/1328113004/diff/480001/webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc#newcode45 ...
5 years, 1 month ago (2015-11-09 17:17:50 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1328113004/500001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1328113004/500001
5 years, 1 month ago (2015-11-09 17:18:21 UTC) #62
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1625)
5 years, 1 month ago (2015-11-09 17:20:56 UTC) #64
philipel
Unittest fix
5 years, 1 month ago (2015-11-09 17:38:21 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1328113004/520001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1328113004/520001
5 years, 1 month ago (2015-11-09 17:40:43 UTC) #68
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1628)
5 years, 1 month ago (2015-11-09 17:43:11 UTC) #70
mflodman
LGTM
5 years, 1 month ago (2015-11-10 10:03:15 UTC) #73
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1328113004/520001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1328113004/520001
5 years, 1 month ago (2015-11-10 10:03:55 UTC) #75
commit-bot: I haz the power
Committed patchset #28 (id:520001)
5 years, 1 month ago (2015-11-10 10:19:19 UTC) #76
commit-bot: I haz the power
Patchset 28 (id:??) landed as https://crrev.com/77ccfb4d16c148e61a316746bb5d9705e8b39f4a Cr-Commit-Position: refs/heads/master@{#10572}
5 years, 1 month ago (2015-11-10 10:19:27 UTC) #77
terelius
5 years, 1 month ago (2015-11-10 13:30:54 UTC) #78
Message was sent while issue was closed.
A revert of this CL (patchset #28 id:520001) has been created in
https://codereview.webrtc.org/1438543002/ by terelius@webrtc.org.

The reason for reverting is: Seems to break
VideoSendStreamTest.ReconfigureBitratesSetsEncoderBitratesCorrectly on Linux
Memcheck buildbot..

Powered by Google App Engine
This is Rietveld 408576698