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

Issue 2288223002: Extract simulcast rate allocation outside of video encoder. (Closed)

Created:
4 years, 3 months ago by sprang_webrtc
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Extract simulcast rate allocation outside of video encoder. This is a first step to refactor this code. I'm deprecating https://codereview.webrtc.org/1913073002 and implementing this in smaller more isolated steps. BUG=webrtc:5206 R=asapersson@webrtc.org, kjellander@webrtc.org, noahric@chromium.org Committed: https://crrev.com/78ce619a0cd871a769b5c3892dc930df10dfa253 Cr-Commit-Position: refs/heads/master@{#14186}

Patch Set 1 #

Patch Set 2 : Clean up some dead code #

Total comments: 10

Patch Set 3 : Set rate = 0 for unused streams in adapter. Addressed comments. #

Patch Set 4 : Set start bitrate >= min bitrate, or bork may ensue. #

Patch Set 5 : Revert to old allocation strategy #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase, handle pause case in simulcast wrapper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+374 lines, -150 lines) Patch
M webrtc/modules/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/modules.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h View 1 2 3 chunks +5 lines, -12 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc View 1 2 3 4 5 6 13 chunks +32 lines, -86 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.h View 1 4 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 1 2 3 4 5 7 chunks +8 lines, -49 lines 0 comments Download
A webrtc/modules/video_coding/utility/simulcast_rate_allocator.h View 1 chunk +37 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/utility/simulcast_rate_allocator.cc View 1 2 3 4 1 chunk +72 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/utility/simulcast_rate_allocator_unittest.cc View 1 2 3 4 1 chunk +211 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/utility/video_coding_utility.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (19 generated)
sprang_webrtc
ptal Noah, add you thinking that you might have insight into why a disabled layer ...
4 years, 3 months ago (2016-08-29 12:52:25 UTC) #4
sprang_webrtc
ptal Noah, add you thinking that you might have insight into why a disabled layer ...
4 years, 3 months ago (2016-08-29 12:52:25 UTC) #5
noahric
https://codereview.webrtc.org/2288223002/diff/20001/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc File webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc (right): https://codereview.webrtc.org/2288223002/diff/20001/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc#newcode199 webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc:199: if (!start_bitrate_kbps) { Prefer == 0 for integral values. ...
4 years, 3 months ago (2016-08-29 21:32:09 UTC) #6
sprang_webrtc
https://codereview.webrtc.org/2288223002/diff/20001/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc File webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc (right): https://codereview.webrtc.org/2288223002/diff/20001/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc#newcode199 webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc:199: if (!start_bitrate_kbps) { On 2016/08/29 21:32:09, noahric wrote: > ...
4 years, 3 months ago (2016-08-30 13:27:24 UTC) #7
noahric
lgtm. > Now, if the top layer has been saturated, any remaining bitrate will be ...
4 years, 3 months ago (2016-08-30 18:14:33 UTC) #8
sprang_webrtc
+mflodman
4 years, 3 months ago (2016-08-31 09:41:07 UTC) #10
sprang_webrtc
Reverted to old allocation strategy (don't spill over to vga/qvga) for now. Let's enable this ...
4 years, 3 months ago (2016-09-01 07:47:14 UTC) #11
sprang_webrtc
-mflodman +stefan
4 years, 3 months ago (2016-09-05 12:20:24 UTC) #13
sprang_webrtc
ping?
4 years, 3 months ago (2016-09-06 15:42:52 UTC) #14
sprang_webrtc
-stefan +asapersson
4 years, 3 months ago (2016-09-07 09:51:28 UTC) #16
åsapersson
lgtm
4 years, 3 months ago (2016-09-07 15:35:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2288223002/80001
4 years, 3 months ago (2016-09-07 15:47:11 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/10784)
4 years, 3 months ago (2016-09-07 15:57:01 UTC) #23
sprang_webrtc
+kjellander as owner for BUILD.gn Any chance you could update owners for GN to match ...
4 years, 3 months ago (2016-09-07 17:31:38 UTC) #25
kjellander_webrtc
On 2016/09/07 17:31:38, språng wrote: > +kjellander as owner for BUILD.gn > Any chance you ...
4 years, 3 months ago (2016-09-08 06:13:12 UTC) #26
kjellander_webrtc
On 2016/09/08 06:13:12, kjellander_webrtc wrote: > On 2016/09/07 17:31:38, språng wrote: > > +kjellander as ...
4 years, 3 months ago (2016-09-08 06:57:05 UTC) #27
sprang_webrtc
On 2016/09/08 06:57:05, kjellander_webrtc wrote: > On 2016/09/08 06:13:12, kjellander_webrtc wrote: > > On 2016/09/07 ...
4 years, 3 months ago (2016-09-12 07:54:04 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2288223002/100001
4 years, 3 months ago (2016-09-12 07:54:13 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: mac_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_rel/builds/18139)
4 years, 3 months ago (2016-09-12 08:01:23 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2288223002/120001
4 years, 3 months ago (2016-09-12 12:39:22 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 3 months ago (2016-09-12 13:33:41 UTC) #38
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/78ce619a0cd871a769b5c3892dc930df10dfa253 Cr-Commit-Position: refs/heads/master@{#14186}
4 years, 3 months ago (2016-09-12 14:05:01 UTC) #41
sprang_webrtc
4 years, 3 months ago (2016-09-12 14:05:03 UTC) #42
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
78ce619a0cd871a769b5c3892dc930df10dfa253 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698