]> git.baikalelectronics.ru Git - kernel.git/commit
media: vicodec: add support for more pixel formats
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 19 Aug 2018 14:58:55 +0000 (10:58 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 31 Aug 2018 12:11:33 +0000 (08:11 -0400)
commit1095066d9aabd6313ea5c96fa93f2123fe26ca80
tree155ceffad3b03d643b5f194a725d46a70afca412
parent68cb5c16922aae6ec5fd6574a578e9068975e084
media: vicodec: add support for more pixel formats

Add support for 4:2:2, 4:4:4 and RGB 24/32 bits formats.

This makes it a lot more useful, esp. as a simple video compression
codec for use with v4l2-ctl/qvidcap.

Note that it does not do any conversion between e.g. 4:2:2 and 4:2:0
or RGB and YUV: it still just compresses planes be they Y/U/V or R/G/B.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vicodec/vicodec-codec.c
drivers/media/platform/vicodec/vicodec-codec.h
drivers/media/platform/vicodec/vicodec-core.c