diff options
Diffstat (limited to 'drivers/media/video/omap3isp/ispvideo.c')
-rw-r--r-- | drivers/media/video/omap3isp/ispvideo.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/video/omap3isp/ispvideo.c b/drivers/media/video/omap3isp/ispvideo.c index 2107d99d523a..1fa29cc9bb6d 100644 --- a/drivers/media/video/omap3isp/ispvideo.c +++ b/drivers/media/video/omap3isp/ispvideo.c | |||
@@ -46,6 +46,10 @@ | |||
46 | * Helper functions | 46 | * Helper functions |
47 | */ | 47 | */ |
48 | 48 | ||
49 | /* | ||
50 | * NOTE: When adding new media bus codes, always remember to add | ||
51 | * corresponding in-memory formats to the table below!!! | ||
52 | */ | ||
49 | static struct isp_format_info formats[] = { | 53 | static struct isp_format_info formats[] = { |
50 | { V4L2_MBUS_FMT_Y8_1X8, V4L2_MBUS_FMT_Y8_1X8, | 54 | { V4L2_MBUS_FMT_Y8_1X8, V4L2_MBUS_FMT_Y8_1X8, |
51 | V4L2_MBUS_FMT_Y8_1X8, V4L2_MBUS_FMT_Y8_1X8, | 55 | V4L2_MBUS_FMT_Y8_1X8, V4L2_MBUS_FMT_Y8_1X8, |
@@ -68,9 +72,18 @@ static struct isp_format_info formats[] = { | |||
68 | { V4L2_MBUS_FMT_SRGGB8_1X8, V4L2_MBUS_FMT_SRGGB8_1X8, | 72 | { V4L2_MBUS_FMT_SRGGB8_1X8, V4L2_MBUS_FMT_SRGGB8_1X8, |
69 | V4L2_MBUS_FMT_SRGGB8_1X8, V4L2_MBUS_FMT_SRGGB8_1X8, | 73 | V4L2_MBUS_FMT_SRGGB8_1X8, V4L2_MBUS_FMT_SRGGB8_1X8, |
70 | V4L2_PIX_FMT_SRGGB8, 8, }, | 74 | V4L2_PIX_FMT_SRGGB8, 8, }, |
75 | { V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8, V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8, | ||
76 | V4L2_MBUS_FMT_SBGGR10_1X10, 0, | ||
77 | V4L2_PIX_FMT_SBGGR10DPCM8, 8, }, | ||
78 | { V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8, V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8, | ||
79 | V4L2_MBUS_FMT_SGBRG10_1X10, 0, | ||
80 | V4L2_PIX_FMT_SGBRG10DPCM8, 8, }, | ||
71 | { V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8, V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8, | 81 | { V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8, V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8, |
72 | V4L2_MBUS_FMT_SGRBG10_1X10, 0, | 82 | V4L2_MBUS_FMT_SGRBG10_1X10, 0, |
73 | V4L2_PIX_FMT_SGRBG10DPCM8, 8, }, | 83 | V4L2_PIX_FMT_SGRBG10DPCM8, 8, }, |
84 | { V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8, V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8, | ||
85 | V4L2_MBUS_FMT_SRGGB10_1X10, 0, | ||
86 | V4L2_PIX_FMT_SRGGB10DPCM8, 8, }, | ||
74 | { V4L2_MBUS_FMT_SBGGR10_1X10, V4L2_MBUS_FMT_SBGGR10_1X10, | 87 | { V4L2_MBUS_FMT_SBGGR10_1X10, V4L2_MBUS_FMT_SBGGR10_1X10, |
75 | V4L2_MBUS_FMT_SBGGR10_1X10, V4L2_MBUS_FMT_SBGGR8_1X8, | 88 | V4L2_MBUS_FMT_SBGGR10_1X10, V4L2_MBUS_FMT_SBGGR8_1X8, |
76 | V4L2_PIX_FMT_SBGGR10, 10, }, | 89 | V4L2_PIX_FMT_SBGGR10, 10, }, |