[PATCH 3/12] meye: picture depth is in bits not in bytes

From: Stelian Pop
Date: Thu Nov 04 2004 - 06:24:03 EST


===================================================================

ChangeSet@xxxxxx, 2004-11-02 15:41:24+01:00, stelian@xxxxxxxxxx
meye: picture depth is in bits not in bytes

Signed-off-by: Stelian Pop <stelian@xxxxxxxxxx>

===================================================================

meye.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

===================================================================

diff -Nru a/drivers/media/video/meye.c b/drivers/media/video/meye.c
--- a/drivers/media/video/meye.c 2004-11-04 11:20:03 +01:00
+++ b/drivers/media/video/meye.c 2004-11-04 11:20:03 +01:00
@@ -904,7 +904,7 @@

case VIDIOCSPICT: {
struct video_picture *p = arg;
- if (p->depth != 2)
+ if (p->depth != 16)
return -EINVAL;
if (p->palette != VIDEO_PALETTE_YUV422)
return -EINVAL;
@@ -1335,7 +1335,7 @@
init_MUTEX(&meye.lock);
init_waitqueue_head(&meye.proc_list);

- meye.picture.depth = 2;
+ meye.picture.depth = 16;
meye.picture.palette = VIDEO_PALETTE_YUV422;
meye.picture.brightness = 32 << 10;
meye.picture.hue = 32 << 10;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/