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

Issue 1191443003: VideoCaptureParams: add flag for hinting capture using GpuMemoryBuffers & flag for it (Closed)

Created:
5 years, 6 months ago by mcasas
Modified:
5 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch_chromium.org, miu+watch_chromium.org, posciak+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

VideoCaptureParams: add flag for hinting capture using GpuMemoryBuffers & flag for it This CL adds a command line flag and storage for it in VideoCaptureParams, so we can hint the Video Capture Device to use native GpuMemoryBuffers. Ths is an experimental CL to be used while other moving parts of the capture using GMBs are landed and performance numbers/finch experiments are collected. For consistency with Style Guide, VideoCaptureFormat and VideoCaptureParams are changed from class to struct. This flag is only used in Linux. BUG=440843 Committed: https://crrev.com/354e3e2d4a380bf463d683d853c27227729d15f0 Cr-Commit-Position: refs/heads/master@{#334674}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : tommi@s comments (VideoCaptureFormat, VideoCaptureParams passed to struct) #

Total comments: 2

Patch Set 3 : Added #include "build/build_config.h" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -12 lines) Patch
M chrome/renderer/media/cast_receiver_session.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/capture/content_video_capture_device_core.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_manager.cc View 4 chunks +10 lines, -1 line 0 comments Download
M content/common/media/media_param_traits.h View 1 1 chunk +1 line, -1 line 0 comments Download
M media/base/media_switches.h View 1 chunk +4 lines, -0 lines 0 comments Download
M media/base/media_switches.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M media/base/video_capture_types.h View 1 2 4 chunks +11 lines, -4 lines 0 comments Download
M media/base/video_capture_types.cc View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 31 (18 generated)
mcasas
tommi@ PTAL/Owners RS
5 years, 6 months ago (2015-06-15 18:44:39 UTC) #7
tommi (sloooow) - chröme
https://codereview.chromium.org/1191443003/diff/90001/media/base/video_capture_types.h File media/base/video_capture_types.h (right): https://codereview.chromium.org/1191443003/diff/90001/media/base/video_capture_types.h#newcode106 media/base/video_capture_types.h:106: bool operator==(const VideoCaptureParams& other) const { update this operator ...
5 years, 6 months ago (2015-06-15 19:08:58 UTC) #8
mcasas
PTAL https://codereview.chromium.org/1191443003/diff/90001/media/base/video_capture_types.h File media/base/video_capture_types.h (right): https://codereview.chromium.org/1191443003/diff/90001/media/base/video_capture_types.h#newcode106 media/base/video_capture_types.h:106: bool operator==(const VideoCaptureParams& other) const { On 2015/06/15 ...
5 years, 6 months ago (2015-06-16 05:50:02 UTC) #16
mcasas
dalecurtis@ can you PTAL? (I think this CL is generic enough that any owner can ...
5 years, 6 months ago (2015-06-16 17:28:07 UTC) #18
mcasas
tsepez@: tiny change in media_param_traits.cc plz
5 years, 6 months ago (2015-06-16 17:36:08 UTC) #20
DaleCurtis
Why are you passing this value in a struct instead of using the command line ...
5 years, 6 months ago (2015-06-16 17:51:18 UTC) #21
mcasas
On 2015/06/16 17:51:18, DaleCurtis wrote: > Why are you passing this value in a struct ...
5 years, 6 months ago (2015-06-16 18:09:19 UTC) #22
DaleCurtis
lgtm % change https://codereview.chromium.org/1191443003/diff/220001/media/base/video_capture_types.h File media/base/video_capture_types.h (right): https://codereview.chromium.org/1191443003/diff/220001/media/base/video_capture_types.h#newcode12 media/base/video_capture_types.h:12: Include build/build_config to ensure OS_XXX macros ...
5 years, 6 months ago (2015-06-16 18:26:08 UTC) #23
Tom Sepez
param traits LGTM
5 years, 6 months ago (2015-06-16 18:47:12 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1191443003/260001
5 years, 6 months ago (2015-06-16 19:06:29 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:260001)
5 years, 6 months ago (2015-06-16 20:14:43 UTC) #29
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/354e3e2d4a380bf463d683d853c27227729d15f0 Cr-Commit-Position: refs/heads/master@{#334674}
5 years, 6 months ago (2015-06-16 20:15:46 UTC) #30
mcasas
5 years, 6 months ago (2015-06-16 20:47:02 UTC) #31
Message was sent while issue was closed.
sending a draft, please ignore.

https://codereview.chromium.org/1191443003/diff/220001/media/base/video_captu...
File media/base/video_capture_types.h (right):

https://codereview.chromium.org/1191443003/diff/220001/media/base/video_captu...
media/base/video_capture_types.h:12: 
On 2015/06/16 18:26:08, DaleCurtis wrote:
> Include build/build_config to ensure OS_XXX macros are defined at this point.

Done.

Powered by Google App Engine
This is Rietveld 408576698