OpenKinect/libfreenect — pull request #257 by nneonneo (2011-11-15 21:16:11+00:00)
Title: Update Java wrapper API to support frame modes

This change fixes Java wrapper API to use frame modes throughout, but retains the existing method of setting the frame mode using setVideoFormat and setDepthFormat. DepthFormat and VideoFormat are made into simple enums with no height, width or format data; that information is now stored on the FrameMode object.

The one backwards-incompatible change here is the change to the DepthHandler and VideoHandler classes to make them take FrameMode objects instead of DepthFormat/VideoFormat objects. This is necessary because this change unifies the frame format information under FrameMode.