diff options
author | Martin Bugge <marbugge@cisco.com> | 2013-08-14 03:58:38 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-24 03:19:08 -0400 |
commit | c3e75c7d5e203b6d1d16519bef8571b5d228b7fe (patch) | |
tree | 66b42a19890ad31ad6ca612b3f465ed654048ba8 /tools/perf/scripts/python | |
parent | 1056e4388b0454917a512618c8416a98628fc9ce (diff) |
[media] v4l2-dv-timings: fix CVT calculation
This patch fixes two errors that caused incorrect format detections:
The first bug is in the calculation of the vertical backporch: the combined
period of vsync and backporch must *exceed* a certain minimum value, and not
be equal to it.
The second bug is a rounding error in the reduced blanking calculation:
expand the ideal_duty_cylce to be in parts per ten thousand to avoid
rounding errors.
Signed-off-by: Martin Bugge <marbugge@cisco.com>
Cc: Mats Randgaard <matrandg@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions