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

Issue 1969403007: FrameBuffer for the new jitter buffer. (Closed)

Created:
4 years, 7 months ago by philipel
Modified:
4 years, 7 months ago
Reviewers:
danilchap, mflodman
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

FrameBuffer for the new jitter buffer. BUG=webrtc:5514 R=danilchap@webrtc.org, mflodman@webrtc.org Committed: https://crrev.com/a376e70cf9d0df3c35d53533b454da542661775b Cr-Commit-Position: refs/heads/master@{#12798}

Patch Set 1 #

Patch Set 2 : Added comments. #

Total comments: 57

Patch Set 3 : Added unittest for late frame insertions. #

Total comments: 17

Patch Set 4 : Feedback fixes. #

Patch Set 5 : Feedback fixes. #

Total comments: 21

Patch Set 6 : Implemented FrameKey and changed decoded_frames_ to a std::set<FrameKey>, also feedback fixes. #

Total comments: 18

Patch Set 7 : Unittest fix and feedback fixes. #

Total comments: 4

Patch Set 8 : Feedback fixes. #

Total comments: 1

Patch Set 9 : Added comment and rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+576 lines, -3 lines) Patch
M webrtc/modules/modules.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 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
A webrtc/modules/video_coding/frame_buffer2.h View 1 2 3 4 5 6 7 1 chunk +83 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/frame_buffer2.cc View 1 2 3 4 5 6 7 8 1 chunk +154 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/frame_buffer2_unittest.cc View 1 2 3 4 5 6 7 1 chunk +329 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/frame_object.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/frame_object.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/timing.h View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/video_coding.gypi View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (6 generated)
philipel
4 years, 7 months ago (2016-05-13 11:20:20 UTC) #2
danilchap
some style-like suggestions https://codereview.webrtc.org/1969403007/diff/20001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/1969403007/diff/20001/webrtc/modules/video_coding/frame_buffer2.cc#newcode13 webrtc/modules/video_coding/frame_buffer2.cc:13: #include "webrtc/modules/video_coding/frame_buffer2.h" this include goes first, ...
4 years, 7 months ago (2016-05-13 13:31:05 UTC) #3
danilchap
few more suggestions. https://codereview.webrtc.org/1969403007/diff/40001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/1969403007/diff/40001/webrtc/modules/video_coding/frame_buffer2.cc#newcode61 webrtc/modules/video_coding/frame_buffer2.cc:61: if (!frame_inserted_event_.Wait(wait_ms)) { because of the ...
4 years, 7 months ago (2016-05-13 15:33:57 UTC) #4
philipel
https://codereview.webrtc.org/1969403007/diff/20001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/1969403007/diff/20001/webrtc/modules/video_coding/frame_buffer2.cc#newcode13 webrtc/modules/video_coding/frame_buffer2.cc:13: #include "webrtc/modules/video_coding/frame_buffer2.h" On 2016/05/13 13:31:04, danilchap wrote: > this ...
4 years, 7 months ago (2016-05-16 12:10:22 UTC) #5
philipel
https://codereview.webrtc.org/1969403007/diff/40001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/1969403007/diff/40001/webrtc/modules/video_coding/frame_buffer2.cc#newcode61 webrtc/modules/video_coding/frame_buffer2.cc:61: if (!frame_inserted_event_.Wait(wait_ms)) { On 2016/05/13 15:33:56, danilchap wrote: > ...
4 years, 7 months ago (2016-05-17 09:16:41 UTC) #6
danilchap
https://codereview.webrtc.org/1969403007/diff/20001/webrtc/modules/video_coding/frame_buffer2_unittest.cc File webrtc/modules/video_coding/frame_buffer2_unittest.cc (right): https://codereview.webrtc.org/1969403007/diff/20001/webrtc/modules/video_coding/frame_buffer2_unittest.cc#newcode135 webrtc/modules/video_coding/frame_buffer2_unittest.cc:135: void CheckFrame(size_t index, On 2016/05/13 13:31:04, danilchap wrote: > ...
4 years, 7 months ago (2016-05-17 12:35:03 UTC) #7
philipel
https://codereview.webrtc.org/1969403007/diff/20001/webrtc/modules/video_coding/frame_buffer2_unittest.cc File webrtc/modules/video_coding/frame_buffer2_unittest.cc (right): https://codereview.webrtc.org/1969403007/diff/20001/webrtc/modules/video_coding/frame_buffer2_unittest.cc#newcode135 webrtc/modules/video_coding/frame_buffer2_unittest.cc:135: void CheckFrame(size_t index, On 2016/05/17 12:35:01, danilchap wrote: > ...
4 years, 7 months ago (2016-05-17 14:57:05 UTC) #8
danilchap
https://codereview.webrtc.org/1969403007/diff/80001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/1969403007/diff/80001/webrtc/modules/video_coding/frame_buffer2.cc#newcode76 webrtc/modules/video_coding/frame_buffer2.cc:76: wait_ms = std::max(wait_ms, 0l); On 2016/05/17 14:57:04, philipel wrote: ...
4 years, 7 months ago (2016-05-17 16:21:39 UTC) #9
philipel
https://codereview.webrtc.org/1969403007/diff/100001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/1969403007/diff/100001/webrtc/modules/video_coding/frame_buffer2.cc#newcode26 webrtc/modules/video_coding/frame_buffer2.cc:26: // The maximum age of a frame stored in ...
4 years, 7 months ago (2016-05-18 09:00:56 UTC) #10
danilchap
https://codereview.webrtc.org/1969403007/diff/100001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/1969403007/diff/100001/webrtc/modules/video_coding/frame_buffer2.cc#newcode122 webrtc/modules/video_coding/frame_buffer2.cc:122: decoded_frames_.lower_bound(FrameKey(old_picture_id, kMaxSpatialLayers)); On 2016/05/18 09:00:56, philipel wrote: > On ...
4 years, 7 months ago (2016-05-18 09:57:59 UTC) #11
philipel
https://codereview.webrtc.org/1969403007/diff/100001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/1969403007/diff/100001/webrtc/modules/video_coding/frame_buffer2.cc#newcode122 webrtc/modules/video_coding/frame_buffer2.cc:122: decoded_frames_.lower_bound(FrameKey(old_picture_id, kMaxSpatialLayers)); On 2016/05/18 09:57:59, danilchap wrote: > On ...
4 years, 7 months ago (2016-05-18 10:42:57 UTC) #12
danilchap
lgtm https://codereview.webrtc.org/1969403007/diff/100001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/1969403007/diff/100001/webrtc/modules/video_coding/frame_buffer2.cc#newcode122 webrtc/modules/video_coding/frame_buffer2.cc:122: decoded_frames_.lower_bound(FrameKey(old_picture_id, kMaxSpatialLayers)); On 2016/05/18 10:42:56, philipel wrote: > ...
4 years, 7 months ago (2016-05-18 11:46:25 UTC) #13
philipel
Magnus, PTAL https://codereview.webrtc.org/1969403007/diff/100001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/1969403007/diff/100001/webrtc/modules/video_coding/frame_buffer2.cc#newcode122 webrtc/modules/video_coding/frame_buffer2.cc:122: decoded_frames_.lower_bound(FrameKey(old_picture_id, kMaxSpatialLayers)); On 2016/05/18 11:46:25, danilchap wrote: ...
4 years, 7 months ago (2016-05-18 12:07:57 UTC) #14
mflodman
LGTM, but do you want Stefan's view of this as well? https://codereview.webrtc.org/1969403007/diff/140001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): ...
4 years, 7 months ago (2016-05-18 13:07:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1969403007/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1969403007/160001
4 years, 7 months ago (2016-05-18 13:46:56 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 7 months ago (2016-05-18 15:47:22 UTC) #20
philipel
Committed patchset #9 (id:160001) manually as a376e70cf9d0df3c35d53533b454da542661775b (presubmit successful).
4 years, 7 months ago (2016-05-18 16:10:21 UTC) #23
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/a376e70cf9d0df3c35d53533b454da542661775b Cr-Commit-Position: refs/heads/master@{#12798}
4 years, 7 months ago (2016-05-18 16:10:21 UTC) #24
honghaiz3
4 years, 7 months ago (2016-05-18 22:52:10 UTC) #25
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:160001) has been created in
https://codereview.webrtc.org/1991513004/ by honghaiz@webrtc.org.

The reason for reverting is: Two tests added by this CL failed in Win DrMemory
Full:
 TestFrameBuffer2.OneLayerStreamReordered - TestFrameBuffer2.WaitForFrame

See the link here:
https://build.chromium.org/p/client.webrtc/waterfall?builder=Win%20DrMemory%2....

Powered by Google App Engine
This is Rietveld 408576698