v4l: vsp1: Switch to XRGB formats
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 26 May 2014 22:57:21 +0000 (19:57 -0300)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:24:30 +0000 (09:24 +0900)
commit2a201aa753cb570cc88f4f5c47ed9e914f77cc5f
tree73129df10d2405f2d7b8aae784e0b49e402a0a6e
parent0ee8cf3d4b353c834e951a9862a0e8cfbfa5a65d
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