mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
[media] em28xx: add support for V4L2_PIX_FMT_SRGGB8
Adding support for SRGGB8 is as simple as adding a new entry at struct em28xx_fmt. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
a7b8e9a5b3
commit
495ab569d0
@ -115,6 +115,11 @@ static struct em28xx_fmt format[] = {
|
|||||||
.fourcc = V4L2_PIX_FMT_RGB565,
|
.fourcc = V4L2_PIX_FMT_RGB565,
|
||||||
.depth = 16,
|
.depth = 16,
|
||||||
.reg = EM28XX_OUTFMT_RGB_16_656,
|
.reg = EM28XX_OUTFMT_RGB_16_656,
|
||||||
|
}, {
|
||||||
|
.name = "8 bpp Bayer RGRG..GBGB",
|
||||||
|
.fourcc = V4L2_PIX_FMT_SRGGB8,
|
||||||
|
.depth = 8,
|
||||||
|
.reg = EM28XX_OUTFMT_RGB_8_RGRG,
|
||||||
}, {
|
}, {
|
||||||
.name = "8 bpp Bayer BGBG..GRGR",
|
.name = "8 bpp Bayer BGBG..GRGR",
|
||||||
.fourcc = V4L2_PIX_FMT_SBGGR8,
|
.fourcc = V4L2_PIX_FMT_SBGGR8,
|
||||||
|
Loading…
Reference in New Issue
Block a user