[mythtv] [PATCH]pvr-350 performance patch

John Harvey john.p.harvey at btinternet.com
Tue Jan 11 03:58:48 EST 2005


It isn't a massive difference now that most of the
driver is stable and seems to cope with playing,
recording & OSD updates, but it does reduce the amount
of data transfered significantly which helps when
something like when the new channel information is
faded out after switching channel in live tv. 

John
 --- Nick Rosier <nick.rosier at gmail.com> wrote: 
> 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
> > 
> > 
> > 
> >
> > _______________________________________________
> 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