Notice: MediaWiki has been updated. Report any rough edges to marcan@marcan.st

Talk:C Sync Wrapper

From OpenKinect
Jump to: navigation, search

For now, this page is not true, the real functions are: int freenect_sync_get_rgb(void **rgb, uint32_t *timestamp); /* Synchronous rgb function, starts the runloop if it isn't running

   Args:
       rgb: Populated with a pointer to a RGB buffer (of size RGB_BYTES)
       timestamp: Populated with a pointer to the associated timestamp
   Returns:
       Nonzero on error.
  • /

int freenect_sync_get_depth(void **depth, uint32_t *timestamp); /* Synchronous depth function, starts the runloop if it isn't running

   Args:
       depth: Populated with a pointer to a depth buffer (of size DEPTH_BYTES)
       timestamp: Populated with a pointer to the associated timestamp
   Returns:
       Nonzero on error.
  • /