Added a feature to use accelerometer data to rotate camera view in software
when the camera is physically rotated such that the view on the screen is
always upright even when the camera is upside down. Enabling it, and
disabling it is done with the "r" key. Not on by default. I enabled several
things that were disabled in the last patch, but only when rotation
mode is toggled on.

I uploaded a youtube video of this feature
http://www.youtube.com/watch?v=JSjV1Y1eC8M

Signed-off-by: Daniel Patrick Johnson <teknotus@gmail.com> (teknotus)
Added Gentoo Linux ebuilds

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Make freenect_flags an actual flag enum

Signed-off-by: Robert Xiao <brx@cs.cmu.edu>
Fix include of libusb.h in wrappers/cpp/libfreenect.hpp

Otherwise fails to build on systems with libusb.h provided outside of versioned
directory, e.g. on kFreeBSD.  This "bug" was introduced after initial
changes of similar kind in e.g. 713c715 and 8219750

Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
Merge pull request #342 from nneonneo/freenect-flag-fix

freenect_flag should be a real flags enum (raw registers should be coded differently) (@nneonneo)

Reviewed-by: Benn Snyder <benn.snyder@gmail.com>
Tweaks to freenect_flag commit

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
csharp: Update Enumerations.cs - fixes #285

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
fakenect: Fix memory leaks - fixes #205

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
OpenNI2-FreenectDriver: initial commit

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Merge pull request #349 from yarikoptic/master

Fix include of libusb.h in wrappers/cpp/libfreenect.hpp (@yarikoptic)

Reviewed-by: Benn Snyder <benn.snyder@gmail.com>
wrappers/cpp: Stop loop before clearing devices (prevents hang on exit) - fixes #295

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
wrappers/cpp: replace std::make_pair with and more compatible assignment - fixes #339

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Merge pull request #357 from OpenKinect/unstable

Merge unstable for milestone v0.2.1

Reviewed-by: Benn Snyder <benn.snyder@gmail.com>
Update CMakeLists.txt for v0.2.1

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
wrappers/cpp: Remove pureness from virtual callbacks - fixes #286

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Fix missing semicolon in fakenect/record.c

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
Merge branch 'master' of git://github.com/teknotus/libfreenect

Conflicts:
	examples/glview.c

Use the 'o' key in glview to rotate video with accelerometer - fixes #234

Reviewed-by: Benn Snyder <benn.snyder@gmail.com>
Added chunk processing callbacks for depth and video streams - fixes #351

Signed-off-by: Yannis Gravezas <wizgrav@gmail.com>
(cherry picked from commit 0350c79ddfeb039f05a59f969c9137c2ea0e47b0)

Reviewed-by: Benn Snyder <benn.snyder@gmail.com>
OpenNI2-FreenectDriver: reduce compiler warnings

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
OpenNI2-FreenectDriver: support ONI_STREAM_PROPERTY_AUTO_WHITE_BALANCE and ONI_STREAM_PROPERTY_AUTO_EXPOSURE

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