Hans Verkuil 7b575b6d8d media: vidioc-g-dv-timings.rst: fix wrong porch
It is the vfrontporch of field 1 that is one half-line longer,
not the backporch.

The order of the vertical signals in an interlaced system is:

Field 1:

vsync
vbackporch
active video of field 1
vfrontporch + 0.5

Field 2:

il_vsync
il_vbackporch - 0.5
active video of field 2
il_vfrontporch

Interlaced systems that use HALF_LINE set the il_ fields as follows:

il_vfrontporch = vfrontporch
il_vsync = vsync
il_vbackporch = vbackporch + 1

So the total vertical blanking for field 1 is:

	vsync + vbackporch + vfrontporch + 0.5

and for field 2:

	vsync + vbackporch + 1 + vfrontporch - 0.5 ==
	vsync + vbackporch + vfrontporch + 0.5

So each field has the same number of half-lines.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2019-12-13 09:23:09 +01:00
..
2019-12-03 14:37:12 -08:00
2019-11-25 15:39:19 -08:00
2019-10-30 16:25:31 +01:00
2019-12-06 13:36:31 -08:00
2019-12-04 19:44:14 -08:00
2019-07-16 12:21:41 -07:00
2019-10-20 23:48:28 -07:00
2019-11-15 00:22:35 +09:00
2019-10-10 11:25:39 -06:00
2019-12-03 13:58:22 -08:00
2019-12-03 14:09:14 -08:00
2019-11-12 22:21:35 -05:00
2019-07-17 06:57:52 -03:00
2019-07-30 17:27:37 +02:00
2019-11-23 19:56:45 -04:00
2019-09-27 11:17:38 -07:00
2019-12-02 17:35:04 -08:00