Skip to content

Conversation

@matkatz
Copy link
Contributor

@matkatz matkatz commented Aug 20, 2019

This PR reverts the bulk transfer reads on the streaming endpoints back to USB requests.
The bulk transfer (ioctl(device, USBDEVFS_BULK, &ctrl)) requires memory allocation of the entire frame size which failed on some devices with "Out of memory" error.
Moving back to USB requests (ioctl(device, USBDEVFS_SUBMITURB, urb)) seems to eliminate this issue.
Removing unnecessary synchronization and memcopies from the previous implementation of the backend with USB requests equalized the performance that we had with the bulk transfer implementation.
Fix issues: #3612, #4091, #4215

- missing pointcloud filter API added.
- 3D view added to the camera app.
@matkatz matkatz closed this Aug 20, 2019
@matkatz matkatz reopened this Aug 20, 2019
@matkatz matkatz requested a review from ev-mp August 20, 2019 12:08
@ev-mp ev-mp merged commit 9c6f3e0 into realsenseai:development Aug 20, 2019
@matkatz matkatz deleted the android-uvc-urb branch November 5, 2019 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants