Mailing List archive

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

[vdr] [PATCH] patch for softdevice plugin



Hi,
 
This patch contains some fixes for video-vidix.c and video-fb.c
drivers from the softdevice plugin.
 
It adds hardware accelerated transparent OSD support to the video-vidix.c driver.
The OSD is written to the RGB memory and video is written to the overlay
memory. The videocard will scale the video and mix it with
the OSD (at least this works with Radeon cards).
If you have ATI Radeon videocard and want transparent OSD,
then the vidix.diff patch must be applied to the radeon-vid.c file.
The patch allows setting the bit in the DISP_MERGE_CNTL register
that enables per pixel alpha blending. If you don't apply the patch to
the radeon-vid.c the OSD will not be transparent.
 
In the video-fb driver the patch adds initialization of color map
for the FB_VISUAL_DIRECTCOLOR type of framebuffer and
restoring the original color map when the plugin exits. Without
it I get wrong colors when using Radeon videocard.
 
I tested this with linux-2.6.1, vdr-1.3.1, vidix drivers from CVS and
ATI Radeon 9200 videocard. I don't know if this works with other videocards.
If you have other type of videocard, then change the name of the vidix driver
in the Makefile. Check also the path to vidix directory etc.
 
Regards
V.Catana
 

Attachment: softdevice-0.0.5.diff
Description: Binary data

Attachment: vidix.diff
Description: Binary data

Scanned by evaluation version of Dr.Web antivirus Daemon 
http://drweb.ru/unix/


Home | Main Index | Thread Index