Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
nvidia-jetson-36_3
reimplement-v4l2_match_dv_timings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reimplement-v4l2_match_dv_timings.patch of Package nvidia-jetson-36_3
Index: src/nvidia-oot/drivers/media/platform/tegra/camera/camera_version_utils.c =================================================================== --- src.orig/nvidia-oot/drivers/media/platform/tegra/camera/camera_version_utils.c +++ src/nvidia-oot/drivers/media/platform/tegra/camera/camera_version_utils.c @@ -44,7 +44,29 @@ bool tegra_v4l2_match_dv_timings(struct unsigned pclock_delta, bool match_reduced_fps) { - return v4l2_match_dv_timings(t1, t2, pclock_delta, match_reduced_fps); + if (t1->type != t2->type || t1->type != V4L2_DV_BT_656_1120) + return false; + if (t1->bt.width == t2->bt.width && + t1->bt.height == t2->bt.height && + t1->bt.interlaced == t2->bt.interlaced && + t1->bt.polarities == t2->bt.polarities && + t1->bt.pixelclock >= t2->bt.pixelclock - pclock_delta && + t1->bt.pixelclock <= t2->bt.pixelclock + pclock_delta && + t1->bt.hfrontporch == t2->bt.hfrontporch && + t1->bt.hsync == t2->bt.hsync && + t1->bt.hbackporch == t2->bt.hbackporch && + t1->bt.vfrontporch == t2->bt.vfrontporch && + t1->bt.vsync == t2->bt.vsync && + t1->bt.vbackporch == t2->bt.vbackporch && + (!match_reduced_fps || + (t1->bt.flags & V4L2_DV_FL_REDUCED_FPS) == + (t2->bt.flags & V4L2_DV_FL_REDUCED_FPS)) && + (!t1->bt.interlaced || + (t1->bt.il_vfrontporch == t2->bt.il_vfrontporch && + t1->bt.il_vsync == t2->bt.il_vsync && + t1->bt.il_vbackporch == t2->bt.il_vbackporch))) + return true; + return false; } EXPORT_SYMBOL(tegra_v4l2_match_dv_timings);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor