iPhone 4S 上的两种(受支持的三种)像素格式是:
kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange
kCVPixelFormatType_420YpCbCr8BiPlanarFullRange
有谁知道其中的区别,使用其中一种相对于另一种有什么后果/优点吗?
Apple 的描述基本相同:http://developer.apple.com/library/mac/#documentation/QuartzCore/Reference/CVPixelFormatDescriptionRef/Reference/reference.html http://developer.apple.com/library/mac/#documentation/QuartzCore/Reference/CVPixelFormatDescriptionRef/Reference/reference.html
视频范围意味着 Y 分量仅使用 16 到 235 之间的字节值(由于某些历史原因)。 Full range 使用字节的完整范围,即 0 到 255。
色度分量(Cb、Cr)始终使用全范围。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)