]> git.baikalelectronics.ru Git - kernel.git/commit
media: usbtv: Use V4L2 defines to select capture resolution
authorHugo Grostabussiat <bonstra@bonstra.fr.eu.org>
Sun, 8 Apr 2018 21:11:58 +0000 (17:11 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 10:49:26 +0000 (06:49 -0400)
commit80345a7f2ba2be267d127436634879ccbb6eea0c
treed995bcd945a49a233c6c366c76a82e2da76ca4be
parentdc2d41ef71e7be57bbf643fc57c2304138ad9575
media: usbtv: Use V4L2 defines to select capture resolution

Make use of the V4L2_STD_525_60 and V4L2_STD_625_50 defines to
determine the vertical resolution to use when capturing.

V4L2_STD_525_60 (resp. V4L2_STD_625_50) is the set of standards using
525 (resp. 625) lines per frame, independently of the color encoding.

Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/usbtv/usbtv-video.c