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

Issue 773673002: Add UMA to track software fallback in VTVideoDecodeAccelerator. (Closed)

Created:
6 years ago by sandersd (OOO until July 31)
Modified:
6 years ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add UMA to track software fallback in VTVideoDecodeAccelerator. VideoToolbox can fall back to software internally for two reasons: 1) The resolution is below the minimum (or other format incompatibility). Eventually we want Chromium to handle fallback in this case. 2) The sandbox was not initialized properly. This we want to know about and fix. This CL does not distinguish the two cases. BUG=133828 Committed: https://crrev.com/3125ca55d73650bd37ce9d9daa3dfe5182a7cf3a Cr-Commit-Position: refs/heads/master@{#306692}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove flush change. #

Total comments: 5

Patch Set 3 : Indenting #

Patch Set 4 : Rebase. #

Total comments: 2

Patch Set 5 : BooleanHardwareAccelerated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M content/common/gpu/media/vt.sig View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/media/vt_stubs_header.fragment View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator.cc View 1 2 3 4 2 chunks +13 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (6 generated)
sandersd (OOO until July 31)
6 years ago (2014-12-02 00:57:35 UTC) #2
Pawel Osciak
On 2014/12/02 00:57:35, sandersd wrote: We already have Media.GpuVideoDecoderInitializeStatus: https://code.google.com/p/chromium/codesearch#chromium/src/media/filters/gpu_video_decoder.cc&l=132.
6 years ago (2014-12-02 01:10:08 UTC) #3
sandersd (OOO until July 31)
On 2014/12/02 01:10:08, Pawel Osciak wrote: > On 2014/12/02 00:57:35, sandersd wrote: > > We ...
6 years ago (2014-12-02 01:15:27 UTC) #4
sandersd (OOO until July 31)
On 2014/12/02 01:15:27, sandersd wrote: > On 2014/12/02 01:10:08, Pawel Osciak wrote: > > On ...
6 years ago (2014-12-02 01:18:16 UTC) #5
Pawel Osciak
On 2014/12/02 01:15:27, sandersd wrote: > On 2014/12/02 01:10:08, Pawel Osciak wrote: > > On ...
6 years ago (2014-12-02 01:21:45 UTC) #6
Pawel Osciak
https://codereview.chromium.org/773673002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/773673002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode322 content/common/gpu/media/vt_video_decode_accelerator.cc:322: if (!FinishDelayedFrames()) This is I think not related to ...
6 years ago (2014-12-02 01:21:51 UTC) #8
sandersd (OOO until July 31)
https://codereview.chromium.org/773673002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/773673002/diff/1/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode322 content/common/gpu/media/vt_video_decode_accelerator.cc:322: if (!FinishDelayedFrames()) On 2014/12/02 01:21:51, Pawel Osciak wrote: > ...
6 years ago (2014-12-02 01:25:31 UTC) #9
DaleCurtis
https://codereview.chromium.org/773673002/diff/20001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/773673002/diff/20001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode338 content/common/gpu/media/vt_video_decode_accelerator.cc:338: if (VTSessionCopyProperty( Does clang-format bless this alignment? It looks ...
6 years ago (2014-12-02 18:20:22 UTC) #10
sandersd (OOO until July 31)
https://codereview.chromium.org/773673002/diff/20001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/773673002/diff/20001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode338 content/common/gpu/media/vt_video_decode_accelerator.cc:338: if (VTSessionCopyProperty( On 2014/12/02 18:20:22, DaleCurtis wrote: > Does ...
6 years ago (2014-12-02 18:28:29 UTC) #11
DaleCurtis
lgtm % updating the cl description https://codereview.chromium.org/773673002/diff/20001/content/common/gpu/media/vt_video_decode_accelerator.cc File content/common/gpu/media/vt_video_decode_accelerator.cc (right): https://codereview.chromium.org/773673002/diff/20001/content/common/gpu/media/vt_video_decode_accelerator.cc#newcode344 content/common/gpu/media/vt_video_decode_accelerator.cc:344: UMA_HISTOGRAM_BOOLEAN("Media.VTVDA.UsingHardware", On 2014/12/02 ...
6 years ago (2014-12-02 18:29:59 UTC) #12
sandersd (OOO until July 31)
isherman@chromium.org: Please review changes in histograms.xml.
6 years ago (2014-12-02 18:35:20 UTC) #14
Ilya Sherman
histograms lgtm % a nit: https://codereview.chromium.org/773673002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/773673002/diff/80001/tools/metrics/histograms/histograms.xml#newcode12750 tools/metrics/histograms/histograms.xml:12750: +<histogram name="Media.VTVDA.UsingHardware" enum="Boolean"> nit: ...
6 years ago (2014-12-02 23:26:40 UTC) #16
sandersd (OOO until July 31)
https://codereview.chromium.org/773673002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/773673002/diff/80001/tools/metrics/histograms/histograms.xml#newcode12750 tools/metrics/histograms/histograms.xml:12750: +<histogram name="Media.VTVDA.UsingHardware" enum="Boolean"> On 2014/12/02 23:26:40, Ilya Sherman wrote: ...
6 years ago (2014-12-03 18:33:35 UTC) #18
Ilya Sherman
Thanks. (Still LGTM.)
6 years ago (2014-12-03 19:22:27 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/773673002/100001
6 years ago (2014-12-03 20:49:36 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:100001)
6 years ago (2014-12-03 22:33:27 UTC) #22
commit-bot: I haz the power
6 years ago (2014-12-03 22:34:08 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3125ca55d73650bd37ce9d9daa3dfe5182a7cf3a
Cr-Commit-Position: refs/heads/master@{#306692}

Powered by Google App Engine
This is Rietveld 408576698