mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04: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
1 changed files with 5 additions and 0 deletions
|
|
@ -115,6 +115,11 @@ static struct em28xx_fmt format[] = {
|
|||
.fourcc = V4L2_PIX_FMT_RGB565,
|
||||
.depth = 16,
|
||||
.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",
|
||||
.fourcc = V4L2_PIX_FMT_SBGGR8,
|
||||
|
|
|
|||
Loading…
Reference in a new issue