DescriptionThis 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. #
Messages
Total messages: 20 (8 generated)
|