]> git.sesse.net Git - bmusb/commitdiff
Change from RGBA to BGRA; slightly more Intel GPU-friendly, and Caspar uses that...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 21 Apr 2017 18:18:31 +0000 (20:18 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 21 Apr 2017 18:18:31 +0000 (20:18 +0200)
bmusb/bmusb.h

index 0ea7c369fb86e04398d41f019617c0e6f8e5eb74..7a31a4d8372fb249b918bd6dde87d49f83cd834c 100644 (file)
@@ -153,9 +153,9 @@ enum PixelFormat {
        // the stride member of VideoFormat.
        PixelFormat_10BitYCbCr,
 
-       // 8-bit 4:4:4:4 RGBA (in that order). bmusb itself doesn't
+       // 8-bit 4:4:4:4 BGRA (in that order). bmusb itself doesn't
        // produce this, but it is useful to represent e.g. synthetic inputs.
-       PixelFormat_8BitRGBA
+       PixelFormat_8BitBGRA
 };
 
 typedef std::function<void(uint16_t timecode,