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

Issue 2545523005: [Video] Collect average keyframe distance for video (Closed)

Created:
4 years ago by whywhat
Modified:
4 years ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Video] Collect average keyframe distance for video BUG=670150 TEST=None Committed: https://crrev.com/25bc24a5a449737281cd63e7deae7ea9777ba425 Cr-Commit-Position: refs/heads/master@{#437287}

Patch Set 1 #

Patch Set 2 : Added histogram logging #

Patch Set 3 : Removed spammy logs #

Total comments: 10

Patch Set 4 : Addressed some Dale's comments #

Total comments: 1

Patch Set 5 : Moved the comment #

Patch Set 6 : Record only the distance between frames #

Total comments: 2

Patch Set 7 : Fixed early exit conditions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -2 lines) Patch
M media/filters/decoder_stream_traits.h View 1 2 3 4 5 2 chunks +6 lines, -2 lines 0 comments Download
M media/filters/decoder_stream_traits.cc View 1 2 3 4 5 6 2 chunks +31 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (12 generated)
whywhat
Added histogram logging
4 years ago (2016-12-02 18:31:31 UTC) #1
whywhat
Hey Dale, could you take a first look to confirm I'm digging in the right ...
4 years ago (2016-12-02 18:42:51 UTC) #3
DaleCurtis
I wouldn't worry about trying to record at Stop, just continously record in a way ...
4 years ago (2016-12-02 18:52:06 UTC) #4
whywhat
Removed spammy logs
4 years ago (2016-12-02 23:39:12 UTC) #5
whywhat
PTAL Would UMA macros work without performance impact directly from the decoder_stream_traits (which is IIUC ...
4 years ago (2016-12-02 23:41:06 UTC) #6
DaleCurtis
UMA folk should way in on the best stat to report here. https://codereview.chromium.org/2545523005/diff/40001/media/filters/decoder_stream_traits.cc File media/filters/decoder_stream_traits.cc ...
4 years ago (2016-12-03 01:24:57 UTC) #7
whywhat
+Ilya for the histograms.xml and opinion on UMA
4 years ago (2016-12-03 01:55:52 UTC) #9
whywhat
https://codereview.chromium.org/2545523005/diff/40001/media/filters/decoder_stream_traits.cc File media/filters/decoder_stream_traits.cc (right): https://codereview.chromium.org/2545523005/diff/40001/media/filters/decoder_stream_traits.cc#newcode81 media/filters/decoder_stream_traits.cc:81: namespace { On 2016/12/03 at 01:24:57, DaleCurtis wrote: > ...
4 years ago (2016-12-05 19:20:20 UTC) #10
Ilya Sherman
https://codereview.chromium.org/2545523005/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2545523005/diff/40001/tools/metrics/histograms/histograms.xml#newcode25335 tools/metrics/histograms/histograms.xml:25335: + every time the average increases from the previous ...
4 years ago (2016-12-05 23:48:04 UTC) #11
whywhat
https://codereview.chromium.org/2545523005/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2545523005/diff/40001/tools/metrics/histograms/histograms.xml#newcode25335 tools/metrics/histograms/histograms.xml:25335: + every time the average increases from the previous ...
4 years ago (2016-12-06 05:16:28 UTC) #12
whywhat
Addressed some Dale's comments
4 years ago (2016-12-06 16:44:12 UTC) #13
DaleCurtis
Code lgtm, but defer on histogram usage. The question we're trying to answer is what ...
4 years ago (2016-12-06 21:31:05 UTC) #14
whywhat
Moved the comment
4 years ago (2016-12-06 21:45:09 UTC) #15
Ilya Sherman
https://codereview.chromium.org/2545523005/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2545523005/diff/40001/tools/metrics/histograms/histograms.xml#newcode25335 tools/metrics/histograms/histograms.xml:25335: + every time the average increases from the previous ...
4 years ago (2016-12-06 22:03:55 UTC) #16
whywhat
On 2016/12/06 at 22:03:55, isherman wrote: > https://codereview.chromium.org/2545523005/diff/40001/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (right): > > https://codereview.chromium.org/2545523005/diff/40001/tools/metrics/histograms/histograms.xml#newcode25335 ...
4 years ago (2016-12-07 21:02:46 UTC) #17
whywhat
Record only the distance between frames
4 years ago (2016-12-07 22:54:35 UTC) #18
whywhat
I went ahead and simplified this to simply record distance between each key frame pair.
4 years ago (2016-12-07 22:59:08 UTC) #20
DaleCurtis
lgtm % nit. https://codereview.chromium.org/2545523005/diff/100001/media/filters/decoder_stream_traits.cc File media/filters/decoder_stream_traits.cc (right): https://codereview.chromium.org/2545523005/diff/100001/media/filters/decoder_stream_traits.cc#newcode128 media/filters/decoder_stream_traits.cc:128: if (!buffer) This can't ever be ...
4 years ago (2016-12-07 23:02:43 UTC) #22
whywhat
Fixed early exit conditions
4 years ago (2016-12-08 00:23:18 UTC) #23
whywhat
https://codereview.chromium.org/2545523005/diff/100001/media/filters/decoder_stream_traits.cc File media/filters/decoder_stream_traits.cc (right): https://codereview.chromium.org/2545523005/diff/100001/media/filters/decoder_stream_traits.cc#newcode128 media/filters/decoder_stream_traits.cc:128: if (!buffer) On 2016/12/07 at 23:02:43, DaleCurtis wrote: > ...
4 years ago (2016-12-08 00:23:30 UTC) #24
Ilya Sherman
Metrics LGTM, thanks.
4 years ago (2016-12-08 04:55:27 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2545523005/120001
4 years ago (2016-12-08 16:54:56 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years ago (2016-12-08 18:21:42 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-08 18:25:51 UTC) #36
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/25bc24a5a449737281cd63e7deae7ea9777ba425
Cr-Commit-Position: refs/heads/master@{#437287}

Powered by Google App Engine
This is Rietveld 408576698