From: Steinar H. Gunderson Date: Fri, 7 Jul 2017 14:57:06 +0000 (+0200) Subject: Add some pixel formats for private use. X-Git-Tag: 0.7.1~2 X-Git-Url: https://git.sesse.net/?p=bmusb;a=commitdiff_plain;h=6a012a41c5422092cdac1f18a9019f37c0b85368 Add some pixel formats for private use. --- diff --git a/bmusb/bmusb.h b/bmusb/bmusb.h index a72ed8b..b1861ef 100644 --- a/bmusb/bmusb.h +++ b/bmusb/bmusb.h @@ -162,7 +162,13 @@ enum PixelFormat { // (ie., first all Y', then all Cb, then all Cr). bmusb doesn't // produce this, nor does it specify a mechanism to describe // the precise details of the format. - PixelFormat_8BitYCbCrPlanar + PixelFormat_8BitYCbCrPlanar, + + // These exist only so that the type is guaranteed wide enough + // to contain values up to 127. CaptureInterface instances + // are free to use them as they see fit for private uses. + PixelFormat_Unused100 = 100, + PixelFormat_Unused127 = 127 }; typedef std::function