diff options
author | Hao Yao <hao.yao@intel.com> | 2025-03-12 05:06:26 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-05-06 14:06:30 +0300 |
commit | 56fa9206d32da1bfc5ea3eb3d5f543973d6ea29f (patch) | |
tree | af85393d60d21b3c79fe2c739a9a0c903a6ea900 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d380dcad084b60d2f929c8ab8f74e3e7bf6bad1d (diff) | |
download | linux-56fa9206d32da1bfc5ea3eb3d5f543973d6ea29f.tar.xz |
media: i2c: ov13b10: Fix h_blank calculation
Pixel per line (PPL) is calculated as pixel_rate / (VTS * FPS), which
is not decided by MIPI CSI-2 link frequency. PPL can vary while link
frequency keeps the same. If PPL is wrong, the h_blank = PPL - width
is also wrong then FPS control is inaccurate.
This patch fix h_blank by:
1. Move PPL from link_freq_config to ov13b10_mode
2. Add PPL value for different modes
3. Use PPL from mode to calculate h_blank
Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Hao Yao <hao.yao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions