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

Issue 2137503003: AVFoundation Video Capturer: Remove thread jump when delivering frames (Closed)

Created:
4 years, 5 months ago by magjed_webrtc
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

AVFoundation Video Capturer: Remove thread jump when delivering frames WebRTC no longer has any restriction on what thread frames should be delivered on. One possible problem with this CL is that NV21->I420 conversion and scaling is done on the thread that delivers frames, which might cause fps regressions. R=nisse@webrtc.org, perkj@webrtc.org, tkchin@webrtc.org Committed: https://crrev.com/0bade0df3b45650c47074f9304e2ddd97b771f93 Cr-Commit-Position: refs/heads/master@{#14021}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Synchronize frame delivery #

Patch Set 4 : Remove critical section #

Total comments: 2

Patch Set 5 : Add thread comment in TimestampAligner #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -68 lines) Patch
M webrtc/base/timestampaligner.h View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/base/timestampaligner.cc View 1 2 2 chunks +1 line, -7 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h View 1 3 2 chunks +1 line, -10 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm View 1 3 6 chunks +2 lines, -48 lines 0 comments Download

Messages

Total messages: 38 (14 generated)
magjed_webrtc
tkchin - please take a look.
4 years, 5 months ago (2016-07-12 14:05:02 UTC) #4
tkchin_webrtc
On 2016/07/12 14:05:02, magjed_webrtc wrote: > tkchin - please take a look. I'm not certain ...
4 years, 5 months ago (2016-07-12 22:19:06 UTC) #5
magjed_webrtc
On 2016/07/12 22:19:06, tkchin_webrtc wrote: > On 2016/07/12 14:05:02, magjed_webrtc wrote: > > tkchin - ...
4 years, 4 months ago (2016-08-08 14:06:02 UTC) #6
tkchin_webrtc
On 2016/08/08 14:06:02, magjed_webrtc wrote: > On 2016/07/12 22:19:06, tkchin_webrtc wrote: > > On 2016/07/12 ...
4 years, 4 months ago (2016-08-08 22:48:41 UTC) #7
tkchin_webrtc
On 2016/08/08 22:48:41, tkchin_webrtc wrote: > On 2016/08/08 14:06:02, magjed_webrtc wrote: > > On 2016/07/12 ...
4 years, 4 months ago (2016-08-08 22:49:45 UTC) #8
tkchin_webrtc
any news on this CL?
4 years, 3 months ago (2016-08-25 17:53:40 UTC) #9
magjed_webrtc
On 2016/08/25 17:53:40, tkchin_webrtc wrote: > any news on this CL? I will measure the ...
4 years, 3 months ago (2016-08-26 14:35:16 UTC) #10
magjed_webrtc
4 years, 3 months ago (2016-08-30 15:25:10 UTC) #12
magjed_webrtc
It seems frames are delivered from the OS on multiple threads. I guess it's still ...
4 years, 3 months ago (2016-08-30 15:27:08 UTC) #13
tkchin_webrtc
On 2016/08/30 15:27:08, magjed_webrtc wrote: > It seems frames are delivered from the OS on ...
4 years, 3 months ago (2016-08-30 18:08:00 UTC) #14
nisse-webrtc
On 2016/08/30 15:27:08, magjed_webrtc wrote: > It seems frames are delivered from the OS on ...
4 years, 3 months ago (2016-08-31 07:31:36 UTC) #15
nisse-webrtc
On 2016/08/30 18:08:00, tkchin_webrtc wrote: > It is arriving on a serial dispatch queue so ...
4 years, 3 months ago (2016-08-31 07:33:33 UTC) #16
magjed_webrtc
> Hmm. To be safe, do we need synchronization in each caller? Yes, the calls ...
4 years, 3 months ago (2016-08-31 11:26:19 UTC) #18
nisse-webrtc
On 2016/08/31 11:26:19, magjed_webrtc wrote: > > Hmm. To be safe, do we need synchronization ...
4 years, 3 months ago (2016-08-31 11:38:42 UTC) #19
magjed_webrtc
On 2016/08/31 11:38:42, nisse-webrtc wrote: > On 2016/08/31 11:26:19, magjed_webrtc wrote: > > > Hmm. ...
4 years, 3 months ago (2016-08-31 13:03:16 UTC) #20
nisse-webrtc
lgtm
4 years, 3 months ago (2016-08-31 13:15:06 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/2137503003/80001
4 years, 3 months ago (2016-08-31 14:06:41 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: ios64_gn_dbg on master.tryserver.webrtc (JOB_FAILED, no build URL) ios64_gn_rel on ...
4 years, 3 months ago (2016-08-31 14:07:31 UTC) #26
magjed_webrtc
Per - please take a look. I need your approval for TimeStampAligner.
4 years, 3 months ago (2016-09-01 09:06:31 UTC) #28
perkj_webrtc
lgtm if you just add a comment instead. https://codereview.webrtc.org/2137503003/diff/80001/webrtc/base/timestampaligner.h File webrtc/base/timestampaligner.h (right): https://codereview.webrtc.org/2137503003/diff/80001/webrtc/base/timestampaligner.h#newcode20 webrtc/base/timestampaligner.h:20: class ...
4 years, 3 months ago (2016-09-01 10:10:22 UTC) #29
magjed_webrtc
https://codereview.webrtc.org/2137503003/diff/80001/webrtc/base/timestampaligner.h File webrtc/base/timestampaligner.h (right): https://codereview.webrtc.org/2137503003/diff/80001/webrtc/base/timestampaligner.h#newcode20 webrtc/base/timestampaligner.h:20: class TimestampAligner { On 2016/09/01 10:10:22, perkj_webrtc wrote: > ...
4 years, 3 months ago (2016-09-01 10:21:04 UTC) #30
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/2137503003/100001
4 years, 3 months ago (2016-09-01 10:21:22 UTC) #33
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) android_rel on ...
4 years, 3 months ago (2016-09-01 12:21:53 UTC) #35
magjed_webrtc
4 years, 3 months ago (2016-09-01 13:15:17 UTC) #37
Message was sent while issue was closed.
Committed patchset #5 (id:100001) manually as
0bade0df3b45650c47074f9304e2ddd97b771f93 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698