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

Camera Flags - Auto Exposure, Auto White Balance, Raw Color, & Mirror #332

Merged
merged 2 commits into from
Jul 13, 2013
Merged

Camera Flags - Auto Exposure, Auto White Balance, Raw Color, & Mirror #332

merged 2 commits into from
Jul 13, 2013

Conversation

piedar
Copy link
Contributor

@piedar piedar commented Jun 28, 2013

This enables toggling of a few camera flags. Available flags are in the freenect_flag enum and values in freenect_flag_value. Call freenect_set_flag() to enable or disable a flag.

Internally, hardware commands and register handling were split out into flags.h and flags.c.

There are two caveats with mirror:

  • The IR stream cannot be mirrored (in hardware) since doing so corrupts the stream.
  • Video stream is of slightly lower quality when mirrored because the Bayer decoder assumes a GB interleave but a mirrored stream has a BG interleave.

Signed-off-by: Benn Snyder benn.snyder@gmail.com

piedar added 2 commits June 27, 2013 22:48
Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
@piedar piedar mentioned this pull request Jun 30, 2013
@piedar
Copy link
Contributor Author

piedar commented Jul 5, 2013

If there are no objections by July 12 (1 week), I will merge this into unstable.

piedar added a commit that referenced this pull request Jul 13, 2013
Camera Flags - Auto Exposure, Auto White Balance, Raw Color, & Mirror
@piedar piedar merged commit bd66645 into OpenKinect:unstable Jul 13, 2013
@piedar piedar mentioned this pull request Jul 24, 2013
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

Successfully merging this pull request may close these issues.

1 participant