Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what FrameFormat::GRAY is? #158

Open
yamt opened this issue Dec 11, 2023 · 0 comments
Open

what FrameFormat::GRAY is? #158

yamt opened this issue Dec 11, 2023 · 0 comments

Comments

@yamt
Copy link
Contributor

yamt commented Dec 11, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant