xxorde / librekinect

Depth data from a kinect sensor! Small and fast kernel driver. Also for embedded devices like the raspberry pi!
407 stars 68 forks source link

Getting Both Streams #3

Closed ghost closed 9 years ago

ghost commented 10 years ago

For some reason I thought this driver could provide both color and depth streams. It looks like I was misinformed, but now I have two questions:

xxorde commented 10 years ago

That's the problem!

What has to be done.

  1. gspca must give the driver the possibility to choose any number of isoc endpoints
  2. the driver must handle both endpoints

Number 2 should be quite easy when 1 is done. My code provides everything that is needed for depth and the kernel code provides everything needed for video.

Point 1 is a problem because gspca and the interface has to be changed.

As a starting point you can read my mail to the linux-media mailing list: http://www.spinics.net/lists/linux-media/msg75490.html

piedar commented 9 years ago

@xxorde If/when dual-stream support makes it into the mainline kernel, please open an issue at OpenKinect/libfreenect. I would love to eventually add backend support so everyone using libfreenect on Linux can benefit from these kernel drivers.

xxorde commented 9 years ago

@piedar I will let you know, many users won't notice but everyone with slower hardware could benefit from this.