right now, the avfoundation binding maps FrameFormate::GRAY to kCMPixelFormat_8IndexedGray_WhiteIsZero.
kCMPixelFormat_8IndexedGray_WhiteIsZero seems to mean, as its name suggests, 0 -> white, 255 -> black.
is it what FrameFormat::GRAY means?
anyway, i guess FrameFormat should have precise bit-level definitions on each formats.
right now, the avfoundation binding maps FrameFormate::GRAY to kCMPixelFormat_8IndexedGray_WhiteIsZero. kCMPixelFormat_8IndexedGray_WhiteIsZero seems to mean, as its name suggests, 0 -> white, 255 -> black. is it what FrameFormat::GRAY means?
anyway, i guess FrameFormat should have precise bit-level definitions on each formats.