Hi,
this might interest you.
I didn't look at the v4l code of the DVB driver myself, yet.
Example: buffer.pitch = 1440, buffer.width = 200
----- Forwarded message from Denis Oliver Kropp via CVS <[EMAIL PROTECTED]> -----
To: [EMAIL PROTECTED]
From: Denis Oliver Kropp via CVS <[EMAIL PROTECTED]>
Subject: [directfb-cvs] DirectFB
Date: Thu, 10 Jul 2003 19:37:30 +0200
CVSROOT: /cvs/directfb
Module name: DirectFB
Changes by: dok 20030710 19:37:30
Modified files:
interfaces/IDirectFBVideoProvider: idirectfbvideoprovider_v4l.c
Log message:
Work around a bug in the DVB kernel driver (more likely) or the DVB hardware.
When using buffers with a pitch much higher than the width suggests (e.g. using
DSCAPS_STATIC_ALLOC and downsizing), the lower part of the video is cut off.
- b.width = surface->width;
+ b.width = buffer->video.pitch / ((bpp + 7) / 8);
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-cvs" as subject.
----- End forwarded message -----
--
Best regards,
Denis Oliver Kropp
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
Convergence GmbH
--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as
subject.