DescriptionMac Video Capture format change ARGB->YUY2.
Using RGBA implies a colour space conversion in the driver from YUY2 (native capture) to RGBA, which is undone in VideoCaptureController, RGBA to YUV I420. Avoiding this double conversion uses about 5% less CPU in the CMIO thread.
BUG=285967
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222250
Patch Set 1 #Patch Set 2 : MacOsSDK 10.6 not supporting YUYV, changed to UYVY, added it to VideoCaptureController #Patch Set 3 : Corrected the CVPixelFormat to UYUV #
Messages
Total messages: 6 (0 generated)
|