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

Issue 1374233002: Collecting encode_time_ms for each frame (Closed)

Created:
5 years, 2 months ago by ivica
Modified:
5 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, andresp, peah-webrtc, the sun, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Collecting encode_time_ms for each frame. Also, in Sample struct, replacing double with the original type. It makes more sense to save the original data as truthful as possible, and then convert it to double later if necessary (in the plot script). Committed: https://crrev.com/092b13384e57b33e2003d9736dfa1f491e76f938 Cr-Commit-Position: refs/heads/master@{#10184}

Patch Set 1 #

Patch Set 2 : Replacing std::function with rtc::Callback2 #

Patch Set 3 : Switching to C-style callback, because mac... #

Patch Set 4 : Editing comments #

Total comments: 6

Patch Set 5 : Replacing static callback with an interface #

Patch Set 6 : Updating a comment #

Total comments: 10

Patch Set 7 : Changing the interface name #

Patch Set 8 : Again changing the name #

Total comments: 6

Patch Set 9 : Addressing comments #

Total comments: 4

Patch Set 10 : Addressing comments + rebase master #

Patch Set 11 : Don't need that include in the end #

Patch Set 12 : Fixing the unit test #

Total comments: 7

Patch Set 13 : Addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -44 lines) Patch
M webrtc/video/full_stack_plot.py View 2 chunks +10 lines, -8 lines 0 comments Download
M webrtc/video/video_capture_input.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/video/video_capture_input.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +13 lines, -6 lines 0 comments Download
M webrtc/video/video_capture_input_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/video_quality_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +52 lines, -27 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video_send_stream.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (13 generated)
ivica
Unfortunately, std::function solution doesn't compile on Mac, so I have to use the old style ...
5 years, 2 months ago (2015-09-29 13:36:13 UTC) #2
pbos-webrtc
https://codereview.webrtc.org/1374233002/diff/60001/webrtc/video/full_stack_plot.py File webrtc/video/full_stack_plot.py (right): https://codereview.webrtc.org/1374233002/diff/60001/webrtc/video/full_stack_plot.py#newcode37 webrtc/video/full_stack_plot.py:37: INPUT_TIME = 1 # ms (timestamp) INPUT_TIMESTAMP .. for ...
5 years, 2 months ago (2015-09-30 09:58:57 UTC) #3
ivica
https://codereview.webrtc.org/1374233002/diff/60001/webrtc/video/full_stack_plot.py File webrtc/video/full_stack_plot.py (right): https://codereview.webrtc.org/1374233002/diff/60001/webrtc/video/full_stack_plot.py#newcode37 webrtc/video/full_stack_plot.py:37: INPUT_TIME = 1 # ms (timestamp) On 2015/09/30 09:58:57, ...
5 years, 2 months ago (2015-09-30 10:45:58 UTC) #4
ivica
https://codereview.webrtc.org/1374233002/diff/60001/webrtc/video/full_stack_plot.py File webrtc/video/full_stack_plot.py (right): https://codereview.webrtc.org/1374233002/diff/60001/webrtc/video/full_stack_plot.py#newcode37 webrtc/video/full_stack_plot.py:37: INPUT_TIME = 1 # ms (timestamp) Didn't change the ...
5 years, 2 months ago (2015-09-30 11:41:43 UTC) #5
pbos-webrtc
https://codereview.webrtc.org/1374233002/diff/100001/webrtc/video/video_capture_input.cc File webrtc/video/video_capture_input.cc (right): https://codereview.webrtc.org/1374233002/diff/100001/webrtc/video/video_capture_input.cc#newcode156 webrtc/video/video_capture_input.cc:156: encode_time_callback_->OnFrameEncoded(deliver_frame, encode_time_ms); OnEncodedFrame to match stats_proxy_ above https://codereview.webrtc.org/1374233002/diff/100001/webrtc/video/video_capture_input.h File ...
5 years, 2 months ago (2015-09-30 11:52:44 UTC) #6
pbos-webrtc
https://codereview.webrtc.org/1374233002/diff/100001/webrtc/video_send_stream.h File webrtc/video_send_stream.h (right): https://codereview.webrtc.org/1374233002/diff/100001/webrtc/video_send_stream.h#newcode158 webrtc/video_send_stream.h:158: // 'nullptr' disables the callback. I don't think you ...
5 years, 2 months ago (2015-09-30 11:53:06 UTC) #7
ivica
https://codereview.webrtc.org/1374233002/diff/100001/webrtc/video/video_capture_input.cc File webrtc/video/video_capture_input.cc (right): https://codereview.webrtc.org/1374233002/diff/100001/webrtc/video/video_capture_input.cc#newcode156 webrtc/video/video_capture_input.cc:156: encode_time_callback_->OnFrameEncoded(deliver_frame, encode_time_ms); On 2015/09/30 11:52:43, pbos-webrtc wrote: > OnEncodedFrame ...
5 years, 2 months ago (2015-09-30 12:24:12 UTC) #8
pbos-webrtc
lgtm, but please let sprang do a review as well :) https://codereview.webrtc.org/1374233002/diff/140001/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): ...
5 years, 2 months ago (2015-09-30 12:48:31 UTC) #9
ivica
https://codereview.webrtc.org/1374233002/diff/140001/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): https://codereview.webrtc.org/1374233002/diff/140001/webrtc/video/video_quality_test.cc#newcode55 webrtc/video/video_quality_test.cc:55: : input_(nullptr), On 2015/09/30 12:48:31, pbos-webrtc wrote: > When ...
5 years, 2 months ago (2015-09-30 13:18:04 UTC) #10
sprang_webrtc
lgtm with nits https://codereview.webrtc.org/1374233002/diff/80008/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): https://codereview.webrtc.org/1374233002/diff/80008/webrtc/video/video_quality_test.cc#newcode526 webrtc/video/video_quality_test.cc:526: for (size_t i = 0; i ...
5 years, 2 months ago (2015-09-30 13:34:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1374233002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1374233002/180001
5 years, 2 months ago (2015-09-30 13:46:03 UTC) #14
ivica
https://codereview.webrtc.org/1374233002/diff/80008/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): https://codereview.webrtc.org/1374233002/diff/80008/webrtc/video/video_quality_test.cc#newcode526 webrtc/video/video_quality_test.cc:526: for (size_t i = 0; i < samples_.size(); ++i) ...
5 years, 2 months ago (2015-09-30 13:46:08 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_compile_x64_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_compile_x64_dbg/builds/191) presubmit on tryserver.webrtc (JOB_FAILED, ...
5 years, 2 months ago (2015-09-30 13:48:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1374233002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1374233002/200001
5 years, 2 months ago (2015-09-30 14:06:29 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1019)
5 years, 2 months ago (2015-09-30 14:13:47 UTC) #22
ivica
Adding mflodman@ as a reviewer (he's the owner of webrtc/video_send_stream.h).
5 years, 2 months ago (2015-09-30 14:21:18 UTC) #24
mflodman
+Åsa who has lloked the most at these stats.
5 years, 2 months ago (2015-10-02 09:26:57 UTC) #26
åsapersson
lgtm
5 years, 2 months ago (2015-10-05 09:49:00 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1374233002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1374233002/200001
5 years, 2 months ago (2015-10-05 10:21:41 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1081)
5 years, 2 months ago (2015-10-05 10:26:33 UTC) #31
mflodman
https://codereview.webrtc.org/1374233002/diff/200001/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): https://codereview.webrtc.org/1374233002/diff/200001/webrtc/video/video_quality_test.cc#newcode130 webrtc/video/video_quality_test.cc:130: } override https://codereview.webrtc.org/1374233002/diff/200001/webrtc/video_send_stream.h File webrtc/video_send_stream.h (right): https://codereview.webrtc.org/1374233002/diff/200001/webrtc/video_send_stream.h#newcode33 webrtc/video_send_stream.h:33: virtual ...
5 years, 2 months ago (2015-10-06 11:11:27 UTC) #32
ivica
https://codereview.webrtc.org/1374233002/diff/200001/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): https://codereview.webrtc.org/1374233002/diff/200001/webrtc/video/video_quality_test.cc#newcode130 webrtc/video/video_quality_test.cc:130: } On 2015/10/06 11:11:26, mflodman wrote: > override Hmm, ...
5 years, 2 months ago (2015-10-06 12:04:32 UTC) #33
mflodman
lgtm https://codereview.webrtc.org/1374233002/diff/200001/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): https://codereview.webrtc.org/1374233002/diff/200001/webrtc/video/video_quality_test.cc#newcode130 webrtc/video/video_quality_test.cc:130: } On 2015/10/06 12:04:32, ivica wrote: > On ...
5 years, 2 months ago (2015-10-06 12:10:00 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1374233002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1374233002/220001
5 years, 2 months ago (2015-10-06 12:11:36 UTC) #37
ivica
https://codereview.webrtc.org/1374233002/diff/200001/webrtc/video/video_quality_test.cc File webrtc/video/video_quality_test.cc (right): https://codereview.webrtc.org/1374233002/diff/200001/webrtc/video/video_quality_test.cc#newcode130 webrtc/video/video_quality_test.cc:130: } On 2015/10/06 12:10:00, mflodman wrote: > On 2015/10/06 ...
5 years, 2 months ago (2015-10-06 12:12:34 UTC) #38
commit-bot: I haz the power
Committed patchset #13 (id:220001)
5 years, 2 months ago (2015-10-06 14:13:48 UTC) #39
commit-bot: I haz the power
Patchset 13 (id:??) landed as https://crrev.com/092b13384e57b33e2003d9736dfa1f491e76f938 Cr-Commit-Position: refs/heads/master@{#10184}
5 years, 2 months ago (2015-10-06 14:13:57 UTC) #40
kjellander_webrtc
5 years, 2 months ago (2015-10-06 18:33:44 UTC) #41
Message was sent while issue was closed.
A revert of this CL (patchset #13 id:220001) has been created in
https://codereview.webrtc.org/1383283005/ by kjellander@webrtc.org.

The reason for reverting is: Breaks EndToEndTest.AssignsTransportSequenceNumbers
in video_engine_tests
on several bots: 
http://build.chromium.org/p/client.webrtc/builders/Linux64%20Debug/builds/5507
http://build.chromium.org/p/client.webrtc/builders/Mac64%20Debug/builds/4815
http://build.chromium.org/p/client.webrtc/builders/Win%20SyzyASan/builds/3272
http://build.chromium.org/p/client.webrtc/builders/Linux%20Memcheck/builds/4414

It seems very unfortunate that it breaks on _exactly_ the bot configs that
aren't covered by the CQ trybots..

Powered by Google App Engine
This is Rietveld 408576698