Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] (forw) [directfb-cvs] DirectFB



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 <dok@directfb.org> -----

To: directfb-cvs@directfb.org
From: Denis Oliver Kropp via CVS <dok@directfb.org>
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 ecartis@directfb.org 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 ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index