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

Issue 3003823003: Fix FrameConfigs used for VP8 with four temporal layers. (Closed)

Created:
3 years, 3 months ago by sprang_webrtc
Modified:
3 years, 2 months ago
Reviewers:
pbos-webrtc, marpan2, ilnik
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix FrameConfigs used for VP8 with four temporal layers. sync flag should only be true if: * temporal layer > 0 * frame predics _only_ from tl0 (last) Furthermore, flags should not predict from a buffer unless it has been previously updated in the current iteration for the pattern. I also added an experiment with an alternative pattern for a three layer setup, where loose some efficieny by halving the pattern but gain a little bit by updating arf for the top layer. The theory is that this will cause fewer frame drops since we don't have as much dependency on previous frames in the upper layer (which might not be retransmitted). BUG=webrtc:8162 Review-Url: https://codereview.webrtc.org/3003823003 Cr-Commit-Position: refs/heads/master@{#19716} Committed: https://chromium.googlesource.com/external/webrtc/+/ff19d35bae3cb2567ad39f82dda9e1f9ded107c9

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix unit tests, add full stack tests #

Total comments: 6

Patch Set 3 : Added generalized frame config test. Cleanup. #

Total comments: 4

Patch Set 4 : typos #

Patch Set 5 : Fixed int to uint cast in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -67 lines) Patch
M webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc View 1 2 3 4 chunks +75 lines, -39 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc View 1 2 3 4 13 chunks +186 lines, -26 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/full_stack_tests.cc View 1 2 2 chunks +82 lines, -0 lines 0 comments Download
M webrtc/video/replay.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/video/video_quality_test.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (19 generated)
sprang_webrtc
3 years, 3 months ago (2017-08-25 14:13:30 UTC) #2
sprang_webrtc
3 years, 3 months ago (2017-08-29 08:34:03 UTC) #4
ilnik
On 2017/08/29 08:34:03, sprang_webrtc wrote: lgtm
3 years, 3 months ago (2017-08-29 13:41:12 UTC) #5
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/3003823003/1
3 years, 3 months ago (2017-08-29 15:00:41 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/29114)
3 years, 3 months ago (2017-08-29 15:05:52 UTC) #9
pbos-webrtc
https://codereview.webrtc.org/3003823003/diff/1/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc File webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc (right): https://codereview.webrtc.org/3003823003/diff/1/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc#newcode99 webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc:99: if (field_trial::IsEnabled("WebRTC-AltTemporalLayers")) { Since this is a subset of ...
3 years, 3 months ago (2017-08-29 15:46:42 UTC) #10
sprang_webrtc
updated and added tests. ptal https://codereview.webrtc.org/3003823003/diff/1/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc File webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc (right): https://codereview.webrtc.org/3003823003/diff/1/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc#newcode99 webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc:99: if (field_trial::IsEnabled("WebRTC-AltTemporalLayers")) { On ...
3 years, 3 months ago (2017-08-31 11:56:19 UTC) #13
pbos1
https://codereview.webrtc.org/3003823003/diff/20001/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc File webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc (right): https://codereview.webrtc.org/3003823003/diff/20001/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc#newcode101 webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc:101: if (field_trial::IsEnabled("WebRTC-AltTemporalLayers")) Actually if this is not supposed to ...
3 years, 3 months ago (2017-08-31 19:54:38 UTC) #17
sprang_webrtc
https://codereview.webrtc.org/3003823003/diff/20001/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc File webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc (right): https://codereview.webrtc.org/3003823003/diff/20001/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc#newcode101 webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc:101: if (field_trial::IsEnabled("WebRTC-AltTemporalLayers")) On 2017/08/31 19:54:38, pbos1 wrote: > Actually ...
3 years, 3 months ago (2017-09-01 14:32:56 UTC) #18
pbos-webrtc
lgtm, I'd like marpan@ to sign off on the new pattern though. https://codereview.webrtc.org/3003823003/diff/40001/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc File webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc ...
3 years, 3 months ago (2017-09-01 18:07:57 UTC) #19
sprang_webrtc
https://codereview.webrtc.org/3003823003/diff/40001/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc File webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc (right): https://codereview.webrtc.org/3003823003/diff/40001/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc#newcode165 webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc:165: // This field trial is intended to check if ...
3 years, 3 months ago (2017-09-05 07:25:08 UTC) #20
sprang_webrtc
Got approval from marpan2 out of band, gonna land this. Feel free to lgtm after ...
3 years, 3 months ago (2017-09-06 12:37:37 UTC) #22
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/3003823003/60001
3 years, 3 months ago (2017-09-06 12:38:00 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_msvc_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_msvc_rel/builds/632) win_rel on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 3 months ago (2017-09-06 12:42:31 UTC) #27
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/3003823003/80001
3 years, 3 months ago (2017-09-06 13:38:30 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/27483)
3 years, 3 months ago (2017-09-06 13:55:21 UTC) #32
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/3003823003/80001
3 years, 3 months ago (2017-09-06 14:00:10 UTC) #34
commit-bot: I haz the power
3 years, 3 months ago (2017-09-06 14:14:09 UTC) #37
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/ff19d35bae3cb2567ad39f82d...

Powered by Google App Engine
This is Rietveld 408576698