mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
Version of freenect patched for Kinect for Windows support.
This commit is contained in:
parent
5e989b6ee5
commit
afab7d32ef
7 changed files with 24 additions and 3 deletions
|
@ -24,7 +24,8 @@
|
||||||
* either License.
|
* either License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef LIBFREENECT_AUDIO_H
|
||||||
|
#define LIBFREENECT_AUDIO_H
|
||||||
|
|
||||||
#include <libfreenect.h>
|
#include <libfreenect.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
@ -113,3 +114,7 @@ FREENECTAPI int freenect_stop_audio(freenect_device* dev);
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif //
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,8 @@
|
||||||
* either License.
|
* either License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef LIBFREENECT_REGISTRATION_H
|
||||||
|
#define LIBFREENECT_REGISTRATION_H
|
||||||
|
|
||||||
#include <libfreenect.h>
|
#include <libfreenect.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
@ -124,3 +125,5 @@ FREENECTAPI void freenect_camera_to_world(freenect_device* dev,
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif // LIBFREENECT_REGISTRATION_H
|
||||||
|
|
|
@ -24,7 +24,8 @@
|
||||||
* either License.
|
* either License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef LIBFREENECT_H
|
||||||
|
#define LIBFREENECT_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
@ -302,6 +303,15 @@ FREENECTAPI int freenect_supported_subdevices(void);
|
||||||
*/
|
*/
|
||||||
FREENECTAPI void freenect_select_subdevices(freenect_context *ctx, freenect_device_flags subdevs);
|
FREENECTAPI void freenect_select_subdevices(freenect_context *ctx, freenect_device_flags subdevs);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the devices that are enabled after calls to freenect_open_device()
|
||||||
|
* On newer kinects the motor and audio are automatically disabled for now
|
||||||
|
*
|
||||||
|
* @param ctx Context to set future subdevice selection for
|
||||||
|
* @return Flags representing the subdevices that were actually opened (see freenect_device_flags)
|
||||||
|
*/
|
||||||
|
FREENECTAPI freenect_device_flags freenect_enabled_subdevices(freenect_context *ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Opens a kinect device via a context. Index specifies the index of
|
* Opens a kinect device via a context. Index specifies the index of
|
||||||
* the device on the current state of the bus. Bus resets may cause
|
* the device on the current state of the bus. Bus resets may cause
|
||||||
|
@ -617,3 +627,6 @@ FREENECTAPI int freenect_set_depth_mode(freenect_device* dev, const freenect_fra
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif //
|
||||||
|
|
||||||
|
|
BIN
interface/external/freenect/lib/MacOS/libfreenect.a
vendored
BIN
interface/external/freenect/lib/MacOS/libfreenect.a
vendored
Binary file not shown.
Binary file not shown.
BIN
interface/external/freenect/lib/UNIX/libfreenect.a
vendored
BIN
interface/external/freenect/lib/UNIX/libfreenect.a
vendored
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue