Yes there is still room for optimizing the code but it will be after 0.3.8 is released.
John > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:ivtv-devel- > [EMAIL PROTECTED] On Behalf Of Jesse Guardiani > Sent: 11 September 2005 23:52 > To: [email protected] > Subject: Re: [ivtv-devel] Change in yuv playback in 0.3.8 version > > On Sunday 11 September 2005 5:58 pm, Graeme Wilford wrote: > > John, > > > > Defaulting to interlaced certainly fixes my MythTV 'good' DVD rips! > > Motion is now smooth as silk. > > Not quite smooth as silk here, but it's certainly a major improvement. > The stutter is now very subtle and less frequent. I have to compare > a scene on my hardware DVD player vs xine to be sure there is a > difference, but there *is* a subtle difference during high motion scenes. > My 733mhz CPU is between 40% and 30% idle during high motion playback. > Is it possible that this is within the range where the CPU starts > becoming a bottleneck? Or is there more room for optimization? > > Either way, I think it's actually usable for daily DVD playback now, > which is quite nice! > > Thanks John! Hats off to you! > > > > > > Thanks, > > Wilf. > > > > On 11/09/05, John Harvey <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > I have just commited my changes to svn for the yuv playback. > > > > > > The commit message was > > > > > > > > > > > > Log: > > > > > > YUV playback now always defaults to interlaced. > > > > > > There are now 3 modes interlace,progressive & auto. > > > > > > There are 2 new ioctl's to set & get the mode & the threshold used for > auto. > > > > > > There are 2 new options to ivtvctl to get & set the mode and threshold > > > --set-yuv-mode & --get-yuv-mode. > > > > > > There are 2 new module load options to set the default values > ivtv_yuv_mode > > > & ivtv_yuv_threshold. > > > > > > The yuv playback code has been altered to cope with the mode being > changed > > > whilst in the moddle of playing back something. > > > > > > > > > > > > > > > > > > The change here is that until now anything with a source height of 480 > lines > > > or less was treated as progressive video and the 350 was set up to > play back > > > like this. As long as it is being fed a progressive video stream this > works > > > well and doubles the frame rate which works well for xmame. > > > > > > However if it is being fed an interlaced video stream then it doesn't > > > display complete frames. This is I suspect what has been causing the > > > comments about jumpy playback. > > > > > > With this commit the default changes to always being interlaced but > the mode > > > can be changed with either kernel load options or options to ivtvctl. > > > > > > It would make sense for instance to wrap xmame in a script that sets > > > progressive mode at the start and restores interlaced mode on exit. > > > > > > To change back to the original settings you would either specify the > module > > > load options > > > > > > > > > > > > ivtv_yuv_mode=2 ivtv_yuv_threshold=480 > > > > > > > > > > > > or after loading the module you could use ivtvctl > > > > > > > > > > > > ivtvctl -set-yuv-mode=mode=2,threshold=480 > > > > > > > > > > > > Any problems let me know. > > > > > > > > > > > > John > > > > > > -- > Jesse Guardiani > Programmer/Sys Admin > [EMAIL PROTECTED] > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > ivtv-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ivtv-devel ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
