Skip to content

Commit

Permalink
[media] rcar_vin: Add YUYV capture format support
Browse files Browse the repository at this point in the history
Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
  • Loading branch information
Koji Matsuoka authored and Mauro Carvalho Chehab committed Dec 12, 2014
1 parent 7194782 commit e5d49a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/media/platform/soc_camera/rcar_vin.c
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,14 @@ static const struct soc_mbus_pixelfmt rcar_vin_formats[] = {
.order = SOC_MBUS_ORDER_LE,
.layout = SOC_MBUS_LAYOUT_PLANAR_Y_C,
},
{
.fourcc = V4L2_PIX_FMT_YUYV,
.name = "YUYV",
.bits_per_sample = 16,
.packing = SOC_MBUS_PACKING_NONE,
.order = SOC_MBUS_ORDER_LE,
.layout = SOC_MBUS_LAYOUT_PACKED,
},
{
.fourcc = V4L2_PIX_FMT_UYVY,
.name = "UYVY",
Expand Down

0 comments on commit e5d49a3

Please sign in to comment.