-
Notifications
You must be signed in to change notification settings - Fork 5k
color processing block acc to platform #11294
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
color processing block acc to platform #11294
Conversation
|
closing branch because of design change |
src/linux/backend-v4l2.cpp
Outdated
| } | ||
|
|
||
| std::string driver_str = reinterpret_cast<char*>(cap.driver); | ||
| return (driver_str.substr(0, 5) == "tegra"); |
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.
close missing
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.
done
src/linux/backend-v4l2.cpp
Outdated
|
|
||
| bool v4l_mipi_device::is_platform_jetson() const | ||
| { | ||
| int fd = open(_name.c_str(), O_RDONLY); |
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.
Instead lets use get_dev_capabilities
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.
done
c8387da to
abd95d8
Compare
Nir-Az
left a comment
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.
LGTM
Tracked by: LRS-599