-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix SR300 enumeration on linux #5278
Conversation
- add missing yuyv fourcc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two non-functional remarks, and it will do
src/image.cpp
Outdated
@@ -33,7 +33,7 @@ namespace librealsense | |||
case RS2_FORMAT_BGRA8: return 32; | |||
case RS2_FORMAT_Y8: return 8; | |||
case RS2_FORMAT_Y16: return 16; | |||
case RS2_FORMAT_RAW10: return 10; | |||
case RS2_FORMAT_RAW10: return 16; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put a comment for maintainers
src/libusb/enumerator-libusb.cpp
Outdated
std::stringstream port_path; | ||
auto port_count = libusb_get_port_numbers(usb_device, usb_ports, max_usb_depth); | ||
auto usb_dev = std::to_string(libusb_get_device_address(usb_device)); | ||
auto speed = libusb_get_device_speed(usb_device); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop the variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job on finding and resolving these bugs.
Consider removing the redundant support for YUYV from DS5 cameras.
@@ -27,12 +27,14 @@ namespace librealsense | |||
{ | |||
std::map<uint32_t, rs2_format> ds5_color_fourcc_to_rs2_format = { | |||
{rs_fourcc('Y','U','Y','2'), RS2_FORMAT_YUYV}, | |||
{rs_fourcc('Y','U','Y','V'), RS2_FORMAT_YUYV}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that ds5 does not support YUYV fourcc format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
DSO-13973
#5230, #5233, #5219