[vdr] [ANNOUNCE] VDR-1.5.12: some "micro" speed improvements

Reinhard Nissl rnissl at gmx.de
Fri Dec 28 23:26:59 CET 2007


Hi,

the first patch optimizes cNitFilter::Process() by looping only over the
relevant channels. It introduces a further hash in cChannels and
implements an iterator for hiding this implementation detail.

The channel_display patch avoids to call DrawText() when the "date" text
has not changed in the channel display. As DrawText() calls
DrawRectangle() when a non transparent background color was specified,
drawing the same text will always yield a dirty area although there is
no difference when looking at the bitmap before and after the call to
DrawText().

And finally, the formerly released osd_draw patch has been updated a
little bit. DrawBitmap() and DrawRectangle() use now memcpy() when possible.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl at gmx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.5.12-channel_iterator.diff
Type: text/x-patch
Size: 13860 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20071228/96ac4cae/attachment-0003.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.5.12-channel_display.diff
Type: text/x-patch
Size: 2051 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20071228/96ac4cae/attachment-0004.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.5.12-osd_draw2.diff
Type: text/x-patch
Size: 16182 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20071228/96ac4cae/attachment-0005.bin 


More information about the vdr mailing list