diff options
author | Jonathan Corbet <corbet@lwn.net> | 2006-12-01 15:37:49 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-10 09:05:31 -0200 |
commit | a66d23368068d6027feedc010304d510e6d1fe56 (patch) | |
tree | 01dafb7ad67524c516922a379f079cbe91e1466c /drivers/media/video/ov7670.c | |
parent | bf5dbed6b499787809c78710b209efc76939592b (diff) | |
download | kernel_samsung_smdk4412-a66d23368068d6027feedc010304d510e6d1fe56.tar.gz kernel_samsung_smdk4412-a66d23368068d6027feedc010304d510e6d1fe56.tar.bz2 kernel_samsung_smdk4412-a66d23368068d6027feedc010304d510e6d1fe56.zip |
V4L/DVB (4908): Remove the fake RGB32 format from cafe_ccic
Remove RGB32, useful for debugging, but with no place in production.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ov7670.c')
-rw-r--r-- | drivers/media/video/ov7670.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/media/video/ov7670.c b/drivers/media/video/ov7670.c index b7d824ee03e..7d380d76338 100644 --- a/drivers/media/video/ov7670.c +++ b/drivers/media/video/ov7670.c @@ -497,19 +497,6 @@ static struct ov7670_format_struct { .regs = ov7670_fmt_rgb565, .cmatrix = { 179, -179, 0, -61, -176, 228 }, }, - /* - * Pretend we do RGB32. This is here on the assumption that the - * upper layer will reformat RGB444 appropriately. - * - * The entire purpose for this thing's existence is to enable easy - * display of RGB444 for debugging purposes. It will come out soon. - */ - { - .desc = "RGB32 (faked)", - .pixelformat = V4L2_PIX_FMT_RGB32, - .regs = ov7670_fmt_rgb444, - .cmatrix = { 179, -179, 0, -61, -176, 228 }, - }, }; #define N_OV7670_FMTS (sizeof(ov7670_formats)/sizeof(ov7670_formats[0])) @@ -694,8 +681,6 @@ static int ov7670_try_fmt(struct i2c_client *c, struct v4l2_format *fmt, pix->width = wsize->width; pix->height = wsize->height; pix->bytesperline = pix->width*BYTES_PER_PIXEL; - if (pix->pixelformat == V4L2_PIX_FMT_RGB32) - pix->bytesperline *= 2; pix->sizeimage = pix->height*pix->bytesperline; return 0; } |