V4L/DVB (9239): Add support for rgb555 pixel formats to vivi
commitdef52393205cbd22b0b4a59096db2a0dcc72cd0a
authorMagnus Damm <damm@igel.co.jp>
Tue, 14 Oct 2008 15:47:43 +0000 (14 12:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 17 Oct 2008 20:25:08 +0000 (17 17:25 -0300)
tree7a6194c4771c010591ff051c189bc95c51df2022
parentaeadb5d4e590ed0d678ab0bb5fe068160a49e79d
V4L/DVB (9239): Add support for rgb555 pixel formats to vivi

This patch adds RGB555 pixel format support to the vivi driver. Both
little endian and big endian versions are added. The driver follows
the RGB pixel format described in Table 2-2 of the V4L2 API spec,
_not_ the older BGR interpretation described in Table 2-1.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/vivi.c