v4l: vsp1: Switch to XRGB formats
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 26 May 2014 22:57:21 +0000 (19:57 -0300)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:40 +0000 (11:15 +0100)
commit6f4ede8632033e41751057315d49c046c2f271ed
treea7bbb57cc7b2fac3388e826a2c9790bea21bd11c
parent34fb6a1ce593bc22a0dfc382593d133ac890ca70
v4l: vsp1: Switch to XRGB formats

The driver ignores the alpha component on output video nodes and
hardcodes the alpha component to 0 on capture video nodes. Make this
explicit by exposing XRGB formats.

Compatibility with existing userspace applications is handled by
selecting the XRGB format corresponding to the requested old RGB format.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
(cherry picked from commit 56bfef3e72cf4a98d0e8f56129673146733c1366)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/media/platform/vsp1/vsp1_video.c