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

Issue 2322263002: Frame continuity is now tested as soon as a frame is inserted into the FrameBuffer. (Closed)

Created:
4 years, 3 months ago by philipel
Modified:
4 years, 2 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

Frame continuity is now tested as soon as a frame is inserted into the FrameBuffer. Since we want to stop sending NACKS for frames not needed to keep the stream decodable we must know which frames that are continuous or not. BUG=webrtc:5514 R=danilchap@webrtc.org, stefan@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/e0b2f154170ae2bfc11ddfede3241101748dfec3

Patch Set 1 #

Patch Set 2 : Added logging, comments and unittest. #

Patch Set 3 : More comments. #

Total comments: 21

Patch Set 4 : Feedback fixes #

Total comments: 42

Patch Set 5 : Feedback Fixes. #

Total comments: 20

Patch Set 6 : Feeback fixes. #

Patch Set 7 : inter_layer_predicted continuity fix + unittest #

Total comments: 2

Patch Set 8 : Avoid adding unnecessary backwards references for inter layer predicted frames. #

Total comments: 48

Patch Set 9 : Feedback #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+374 lines, -134 lines) Patch
M webrtc/modules/video_coding/frame_buffer2.h View 1 2 3 4 5 6 7 8 4 chunks +73 lines, -21 lines 0 comments Download
M webrtc/modules/video_coding/frame_buffer2.cc View 1 2 3 4 5 6 7 8 4 chunks +250 lines, -107 lines 1 comment Download
M webrtc/modules/video_coding/frame_buffer2_unittest.cc View 1 2 3 4 5 6 4 chunks +51 lines, -6 lines 0 comments Download

Messages

Total messages: 30 (10 generated)
philipel
4 years, 3 months ago (2016-09-09 14:08:19 UTC) #2
danilchap
https://codereview.webrtc.org/2322263002/diff/40001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2322263002/diff/40001/webrtc/modules/video_coding/frame_buffer2.cc#newcode55 webrtc/modules/video_coding/frame_buffer2.cc:55: decltype(frames_.end()) next_frame_it; may be add using Frames = std::map<FrameKey, ...
4 years, 3 months ago (2016-09-12 12:20:15 UTC) #3
philipel
https://codereview.webrtc.org/2322263002/diff/40001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2322263002/diff/40001/webrtc/modules/video_coding/frame_buffer2.cc#newcode55 webrtc/modules/video_coding/frame_buffer2.cc:55: decltype(frames_.end()) next_frame_it; On 2016/09/12 12:20:14, danilchap wrote: > may ...
4 years, 3 months ago (2016-09-16 14:01:20 UTC) #4
danilchap
Looks useful! While reading added few suggestions that may improve readability. https://codereview.webrtc.org/2322263002/diff/40001/webrtc/modules/video_coding/frame_buffer2.h File webrtc/modules/video_coding/frame_buffer2.h (right): ...
4 years, 3 months ago (2016-09-19 12:21:51 UTC) #5
philipel
https://codereview.webrtc.org/2322263002/diff/60001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2322263002/diff/60001/webrtc/modules/video_coding/frame_buffer2.cc#newcode37 webrtc/modules/video_coding/frame_buffer2.cc:37: : frames_(), On 2016/09/19 12:21:50, danilchap wrote: > may ...
4 years, 3 months ago (2016-09-19 15:36:58 UTC) #6
danilchap
https://codereview.webrtc.org/2322263002/diff/80001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2322263002/diff/80001/webrtc/modules/video_coding/frame_buffer2.cc#newcode53 webrtc/modules/video_coding/frame_buffer2.cc:53: int64_t now_ms = clock_->TimeInMilliseconds(); now_ms is not used outside ...
4 years, 3 months ago (2016-09-19 17:44:48 UTC) #7
philipel
https://codereview.webrtc.org/2322263002/diff/80001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2322263002/diff/80001/webrtc/modules/video_coding/frame_buffer2.cc#newcode53 webrtc/modules/video_coding/frame_buffer2.cc:53: int64_t now_ms = clock_->TimeInMilliseconds(); On 2016/09/19 17:44:48, danilchap wrote: ...
4 years, 3 months ago (2016-09-20 09:30:25 UTC) #8
danilchap
https://codereview.webrtc.org/2322263002/diff/80001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2322263002/diff/80001/webrtc/modules/video_coding/frame_buffer2.cc#newcode321 webrtc/modules/video_coding/frame_buffer2.cc:321: ++info->second.num_missing_decodable; On 2016/09/20 09:30:25, philipel wrote: > On 2016/09/19 ...
4 years, 3 months ago (2016-09-20 11:15:08 UTC) #9
philipel
https://codereview.webrtc.org/2322263002/diff/80001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2322263002/diff/80001/webrtc/modules/video_coding/frame_buffer2.cc#newcode321 webrtc/modules/video_coding/frame_buffer2.cc:321: ++info->second.num_missing_decodable; On 2016/09/20 11:15:08, danilchap wrote: > On 2016/09/20 ...
4 years, 3 months ago (2016-09-20 11:44:44 UTC) #10
danilchap
https://codereview.webrtc.org/2322263002/diff/120001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2322263002/diff/120001/webrtc/modules/video_coding/frame_buffer2.cc#newcode331 webrtc/modules/video_coding/frame_buffer2.cc:331: ref_info->second.dependent_frames[ref_info->second.num_dependent_frames] = this one not needed if (ref_info == ...
4 years, 3 months ago (2016-09-20 12:06:37 UTC) #11
philipel
https://codereview.webrtc.org/2322263002/diff/80001/webrtc/modules/video_coding/frame_buffer2.h File webrtc/modules/video_coding/frame_buffer2.h (right): https://codereview.webrtc.org/2322263002/diff/80001/webrtc/modules/video_coding/frame_buffer2.h#newcode146 webrtc/modules/video_coding/frame_buffer2.h:146: FrameMap::iterator last_decoded_frame_it_ GUARDED_BY(crit_); On 2016/09/20 11:44:44, philipel wrote: > ...
4 years, 3 months ago (2016-09-20 13:11:08 UTC) #12
danilchap
lgtm https://codereview.webrtc.org/2322263002/diff/80001/webrtc/modules/video_coding/frame_buffer2.h File webrtc/modules/video_coding/frame_buffer2.h (right): https://codereview.webrtc.org/2322263002/diff/80001/webrtc/modules/video_coding/frame_buffer2.h#newcode146 webrtc/modules/video_coding/frame_buffer2.h:146: FrameMap::iterator last_decoded_frame_it_ GUARDED_BY(crit_); On 2016/09/20 13:11:08, philipel wrote: ...
4 years, 3 months ago (2016-09-20 13:45:25 UTC) #13
stefan-webrtc
https://codereview.webrtc.org/2322263002/diff/140001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2322263002/diff/140001/webrtc/modules/video_coding/frame_buffer2.cc#newcode28 webrtc/modules/video_coding/frame_buffer2.cc:28: constexpr int kMaxFramesBuffered = 1000; Old jitter buffer had ...
4 years, 3 months ago (2016-09-21 14:50:14 UTC) #18
philipel
https://codereview.webrtc.org/2322263002/diff/140001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2322263002/diff/140001/webrtc/modules/video_coding/frame_buffer2.cc#newcode28 webrtc/modules/video_coding/frame_buffer2.cc:28: constexpr int kMaxFramesBuffered = 1000; On 2016/09/21 14:50:14, stefan-webrtc ...
4 years, 3 months ago (2016-09-22 11:18:39 UTC) #19
philipel
ping
4 years, 2 months ago (2016-09-27 07:58:55 UTC) #20
stefan-webrtc
lgtm https://codereview.webrtc.org/2322263002/diff/160001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2322263002/diff/160001/webrtc/modules/video_coding/frame_buffer2.cc#newcode322 webrtc/modules/video_coding/frame_buffer2.cc:322: // Gets or create the FrameInfo for the ...
4 years, 2 months ago (2016-09-27 14:11:40 UTC) #21
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/2322263002/160001
4 years, 2 months ago (2016-09-27 14:12:49 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 2 months ago (2016-09-27 16:13:29 UTC) #26
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/e0b2f154170ae2bfc11ddfede3241101748dfec3 Cr-Commit-Position: refs/heads/master@{#14412}
4 years, 2 months ago (2016-09-28 08:24:08 UTC) #28
philipel
4 years, 2 months ago (2016-09-28 08:24:10 UTC) #30
Message was sent while issue was closed.
Committed patchset #9 (id:160001) manually as
e0b2f154170ae2bfc11ddfede3241101748dfec3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698