是否有2通道16位CVPixelBuffer类型?

时间:2014-12-30 05:34:54

标签: ios cocoa-touch quartz-graphics

我无法找到任何可以容纳2分量像素值的CVPixelBuffer整数类型;其中每个组件为16位(有符号或无符号)。 bpp = 32 bpc = 16 components = 2

https://developer.apple.com/library/ios/documentation/QuartzCore/Reference/CVPixelFormatDescriptionRef/index.html

1 个答案:

答案 0 :(得分:0)

也许这个?我不确定你需要什么:整数或浮点型......

kCVPixelFormatType_TwoComponent32Float
32 bit two component IEEE float, 32-bit little-endian samples.

https://developer.apple.com/library/ios/documentation/QuartzCore/Reference/CVPixelFormatDescriptionRef/index.html#//apple_ref/doc/constant_group/Pixel_Format_Types