Hi,
this patch try to handle case where the osd is limited (for example on ff card). For that it try to split area, count the really needed bpp (all transparent index can be merged together and will with my previous patch in osd.c).
Also it fix a bug in the current version : removing all the transparent baground area is ok only if it is recomputed at each draw. Otherwise a highlight request can happen outside the computed area.
With this patch I can navigate in dvd menu that produce oeOutOfMemory before.
Matthieu
matthieu castet a écrit :
Hi,
this patch try to handle case where the osd is limited (for example on ff card). For that it try to split area, count the really needed bpp (all transparent index can be merged together and will with my previous patch in osd.c).
Also it fix a bug in the current version : removing all the transparent baground area is ok only if it is recomputed at each draw. Otherwise a highlight request can happen outside the computed area.
With this patch I can navigate in dvd menu that produce oeOutOfMemory before.
Matthieu
I forgot the patch...
Did you know Klaus is updating the OSD to 24bit truecolor? I don't think he is going to adapt 1.6.x further though so you might need at least 1.7.10(?) to use it.
Cheers
On 21.11.2009 21:58, matthieu castet wrote:
matthieu castet a écrit :
Hi,
this patch try to handle case where the osd is limited (for example on ff card). For that it try to split area, count the really needed bpp (all transparent index can be merged together and will with my previous patch in osd.c).
Also it fix a bug in the current version : removing all the transparent baground area is ok only if it is recomputed at each draw. Otherwise a highlight request can happen outside the computed area.
With this patch I can navigate in dvd menu that produce oeOutOfMemory before.
Applied for version 1.7.11 (without testing - since VDR itself doesn't use the SPU stuff, I'll just rely on others to make sure this actually works ;-).
Klaus
Hi, I'm not sure if I got it right: This patch reduces the amount of memory that is needed for a osd by splitting the osd into several areas and adjusting the bbp for each area.
Regards,
JW
Am Samstag, den 21.11.2009, 21:57 +0100 schrieb matthieu castet:
Hi,
this patch try to handle case where the osd is limited (for example on ff card). For that it try to split area, count the really needed bpp (all transparent index can be merged together and will with my previous patch in osd.c).
Also it fix a bug in the current version : removing all the transparent baground area is ok only if it is recomputed at each draw. Otherwise a highlight request can happen outside the computed area.
With this patch I can navigate in dvd menu that produce oeOutOfMemory before.
Matthieu
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr