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

Issue 2924993002: Move temporal-layer properties to FrameConfig. (Closed)

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

Description

Move temporal-layer properties to FrameConfig. Removes keying on pattern_idx inside TemporalLayers implementations for several properties that are different between screencast temporal layers and normal/default temporal layers. This is a step towards sharing PopulateCodecSpecific between the layer patterns and code deduplication to longer term be able to separate the packetizer step from encoder settings, so that temporal patterns can be used for asynchronous hardware encoders where there may be outstanding frames. BUG=chromium:702017, webrtc:7349 R=brandtr@webrtc.org Review-Url: https://codereview.webrtc.org/2924993002 Cr-Commit-Position: refs/heads/master@{#19097} Committed: https://chromium.googlesource.com/external/webrtc/+/1777c5fec5f14b7ecc882e359e36cfe89903cbfb

Patch Set 1 #

Patch Set 2 : remove timestamp check, input frame doesn't repeat #

Total comments: 9

Patch Set 3 : feedback #

Patch Set 4 : rebase #

Patch Set 5 : fix operator #

Patch Set 6 : simple layer_sync setter #

Patch Set 7 : improve unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -66 lines) Patch
M webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc View 1 2 3 4 5 6 5 chunks +10 lines, -18 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/default_temporal_layers_unittest.cc View 1 2 3 4 5 6 4 chunks +28 lines, -5 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc View 1 2 3 4 5 4 chunks +9 lines, -25 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/screenshare_layers_unittest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/temporal_layers.h View 1 2 3 4 3 chunks +17 lines, -8 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 34 (19 generated)
pbos-webrtc
PTAL, I think this makes the code simpler (removes pattern_idx as an opaque handle).
3 years, 6 months ago (2017-06-07 01:31:35 UTC) #1
pbos-webrtc
remove timestamp check, input frame doesn't repeat
3 years, 6 months ago (2017-06-07 20:50:53 UTC) #8
pbos-webrtc
3 years, 6 months ago (2017-06-07 20:51:10 UTC) #9
pbos-webrtc
On 2017/06/07 20:51:10, pbos-webrtc wrote: ping!
3 years, 6 months ago (2017-06-08 23:20:48 UTC) #18
brandtr
I think this looks good. But let Erik have a look too, since he is ...
3 years, 6 months ago (2017-06-12 15:15:53 UTC) #20
sprang_webrtc
Looks good, but I think adding unit test could be in order. https://codereview.webrtc.org/2924993002/diff/20001/webrtc/modules/video_coding/codecs/vp8/temporal_layers.h File webrtc/modules/video_coding/codecs/vp8/temporal_layers.h ...
3 years, 6 months ago (2017-06-13 11:39:23 UTC) #21
pbos-webrtc
Done, which tests do you suggest I move into the common space? This seemed fairly ...
3 years, 6 months ago (2017-06-15 21:59:09 UTC) #22
brandtr
lgtm https://codereview.webrtc.org/2924993002/diff/20001/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc File webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc (left): https://codereview.webrtc.org/2924993002/diff/20001/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc#oldcode365 webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.cc:365: if (vp8_info->temporalIdx == 0 && timestamp != timestamp_) ...
3 years, 6 months ago (2017-06-19 06:54:19 UTC) #23
sprang_webrtc
On 2017/06/15 21:59:09, pbos-webrtc wrote: > Done, which tests do you suggest I move into ...
3 years, 6 months ago (2017-06-19 09:20:45 UTC) #24
pbos-webrtc
rebase
3 years, 5 months ago (2017-07-19 21:40:50 UTC) #25
pbos-webrtc
fix operator
3 years, 5 months ago (2017-07-19 21:54:09 UTC) #26
pbos-webrtc
simple layer_sync setter
3 years, 5 months ago (2017-07-19 22:58:50 UTC) #27
pbos-webrtc
improve unittests
3 years, 5 months ago (2017-07-19 23:31:02 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/2924993002/120001
3 years, 5 months ago (2017-07-19 23:32:09 UTC) #31
commit-bot: I haz the power
3 years, 5 months ago (2017-07-20 00:04:09 UTC) #34
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/external/webrtc/+/1777c5fec5f14b7ecc882e359...

Powered by Google App Engine
This is Rietveld 408576698