]> git.baikalelectronics.ru Git - kernel.git/commit
[media] videodev2.h: add V4L2_FIELD_HAS_T_OR_B macro
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 26 Feb 2014 21:22:05 +0000 (18:22 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 21:30:13 +0000 (18:30 -0300)
commit28f1b2d8268b23529e167fb6641094c9d1f71374
tree644a3199f968f24b315ae9face51823e5e5ff5b0
parent2bb58c804b73257d74882d9529314ab363d3a4e6
[media] videodev2.h: add V4L2_FIELD_HAS_T_OR_B macro

Add a macro to test if the field consists of a single top
or bottom field. Anyone who needs to work with fields as opposed to
frame will need this.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
include/uapi/linux/videodev2.h