public static extern k4a_result_t k4a_image_create_from_buffer( ImageFormat format, int width_pixels, int height_pixels, int stride_bytes, IntPtr buffer, UIntPtr buffer_size, k4a_memory_destroy_cb_t buffer_release_cb, IntPtr buffer_release_cb_context, out k4a_image_t image_handle);
public static extern k4a_result_t k4a_set_allocator( k4a_memory_allocate_cb_t allocate, k4a_memory_destroy_cb_t free);