diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-03-13 05:36:08 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-02 21:05:37 -0300 |
commit | 68cd4e9f21d9d3b868f78eb3a85165229cb4f024 (patch) | |
tree | 28c5eb39c207e89f9ab8abf049a580bf212e308b /drivers/media/platform/vivid/vivid-vid-common.c | |
parent | f234a76e10e700a01ad473358921bc695b6ef5c9 (diff) | |
download | op-kernel-dev-68cd4e9f21d9d3b868f78eb3a85165229cb4f024.zip op-kernel-dev-68cd4e9f21d9d3b868f78eb3a85165229cb4f024.tar.gz |
[media] vivid: add support for BGR666
Add support for the four byte BGR666 format.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/vivid/vivid-vid-common.c')
-rw-r--r-- | drivers/media/platform/vivid/vivid-vid-common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/platform/vivid/vivid-vid-common.c b/drivers/media/platform/vivid/vivid-vid-common.c index 9e8c06a..58b42d2 100644 --- a/drivers/media/platform/vivid/vivid-vid-common.c +++ b/drivers/media/platform/vivid/vivid-vid-common.c @@ -291,6 +291,14 @@ struct vivid_fmt vivid_formats[] = { .buffers = 1, }, { + .name = "BGR666", + .fourcc = V4L2_PIX_FMT_BGR666, /* bbbbbbgg ggggrrrr rrxxxxxx */ + .vdownsampling = { 1 }, + .bit_depth = { 32 }, + .planes = 1, + .buffers = 1, + }, + { .name = "RGB32 (LE)", .fourcc = V4L2_PIX_FMT_RGB32, /* xrgb */ .vdownsampling = { 1 }, |