[mythtv] [PATCH]pvr-350 performance patch

Nick Rosier nick.rosier at gmail.com
Tue Jan 11 03:46:36 EST 2005


John,

applied the patch to my CVS-build; all seems to work fine. Didn't
notice performance improvements but then again, it doesn't seem slower
either (speed you get used to, slowness not...). No errors, lock-ups
or anything so far and I've tried using the OSD extensivelly.

N.

On Sun, 9 Jan 2005 21:52:31 -0000, John Harvey
<john.p.harvey at btinternet.com> wrote:
>  
>  
> 
> The attached patch is a slightly cleaned up version of  a patch several
> people have been using with recent ivtv drivers. 
> 
> I have modified the original patch to 
> 
>   
> 
> 1)       Work with older ivtv code 
> 
> 2)       Have an option in settigs.pro to allow the inclusion of an
> installed ivtv header file. 
> 
>   
> 
> I originally had code to check for the existence of the installed header
> file but there were some objections to this so I have made it an option in
> settings.pro which by default is off. I would prefer it to be on but I think
> we probably need to have had a couple of releases of ivtv that install the
> header file before we make that the default. 
> 
>   
> 
> This patch improves the performance of the OSD update code in 2 ways 
> 
>   
> 
> 1)       ClearOSD is performed by a bitblt operation on the card which is a
> single api command rather than a complete dma of the screen 
> 
> 2)       It calculates the region of the frame buffer that needs to be
> updated and passes it out so that only that region is sent to the card
> rather than the whole screen for every update. 
> 
>   
> 
> Any problems or suggested changes let me know. 
> 
>   
> 
> John 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 
> 
> 
>


More information about the mythtv-dev mailing list