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

Issue 1036063002: MEDIASUBTYPE_RGB32 support for Windows (Closed)

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

Description

This CL adds support for MEDIASUBTYPE_RGB32 in Windows platform. MEDIASUBTYPE_RGB32 is observed to be equivalent to MEDIASUBTYPE_ARGB32 in terms of color space conversion. This CL adds support for this sub type by directing it to PIXEL_FORMAT_ARGB VideoPixelFormat. It is also observed that output is flipped as it happens on PIXEL_FORMAT_RGB24 [0]. This is solved by adding a Windows specific flip switch. [0] https://code.google.com/p/chromium/codesearch#chromium/src/content/browser/renderer_host/media/video_capture_device_client.cc&l=156 BUG=464855 BUG=389542 TEST=AppRTC loopback was tested with DXTory capturing on Solitaire. Committed: https://crrev.com/fd97d7dcce06c31744a9f5eaf06239650daadfc8 Cr-Commit-Position: refs/heads/master@{#322687}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Adding PIXEL_FORMAT_RGB32 #

Patch Set 3 : Fallback in switch statement. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -7 lines) Patch
M content/browser/renderer_host/media/video_capture_device_client.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M media/base/video_capture_types.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M media/base/video_capture_types.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M media/video/capture/win/sink_input_pin_win.cc View 1 2 2 chunks +18 lines, -4 lines 0 comments Download
M media/video/capture/win/video_capture_device_win.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
emircan
Please take a look.
5 years, 9 months ago (2015-03-26 23:08:44 UTC) #2
mcasas
https://codereview.chromium.org/1036063002/diff/1/content/browser/renderer_host/media/video_capture_device_client.cc File content/browser/renderer_host/media/video_capture_device_client.cc (right): https://codereview.chromium.org/1036063002/diff/1/content/browser/renderer_host/media/video_capture_device_client.cc#newcode167 content/browser/renderer_host/media/video_capture_device_client.cc:167: flip = true; Please be sure that devices using ...
5 years, 9 months ago (2015-03-27 01:02:11 UTC) #3
emircan
Please take a look. https://codereview.chromium.org/1036063002/diff/1/content/browser/renderer_host/media/video_capture_device_client.cc File content/browser/renderer_host/media/video_capture_device_client.cc (right): https://codereview.chromium.org/1036063002/diff/1/content/browser/renderer_host/media/video_capture_device_client.cc#newcode167 content/browser/renderer_host/media/video_capture_device_client.cc:167: flip = true; On 2015/03/27 ...
5 years, 8 months ago (2015-03-27 17:50:39 UTC) #5
mcasas
LGTM modulo my suggestions. Bots plz. https://codereview.chromium.org/1036063002/diff/60001/content/browser/renderer_host/media/video_capture_device_client.cc File content/browser/renderer_host/media/video_capture_device_client.cc (right): https://codereview.chromium.org/1036063002/diff/60001/content/browser/renderer_host/media/video_capture_device_client.cc#newcode169 content/browser/renderer_host/media/video_capture_device_client.cc:169: break; What about: ...
5 years, 8 months ago (2015-03-27 18:23:53 UTC) #6
emircan
Thanks. Bots were done on Patch Set #2.
5 years, 8 months ago (2015-03-27 19:27:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1036063002/80001
5 years, 8 months ago (2015-03-27 19:27:55 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/52397)
5 years, 8 months ago (2015-03-27 19:37:02 UTC) #13
emircan
I still need owners review for /media/base/* dalecurtis@ can you please take a look at ...
5 years, 8 months ago (2015-03-27 20:26:51 UTC) #15
DaleCurtis
lgtm
5 years, 8 months ago (2015-03-28 00:21:33 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1036063002/80001
5 years, 8 months ago (2015-03-28 00:36:45 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 8 months ago (2015-03-28 00:40:06 UTC) #19
commit-bot: I haz the power
5 years, 8 months ago (2015-03-28 00:40:34 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fd97d7dcce06c31744a9f5eaf06239650daadfc8
Cr-Commit-Position: refs/heads/master@{#322687}

Powered by Google App Engine
This is Rietveld 408576698