[mythtv] [PATCH] quck and dirty DNR filter plugin

Isaac Richards ijr at po.cwru.edu
Fri Oct 10 02:17:08 EDT 2003


On Thursday 09 October 2003 01:45 am, D Banerjee wrote:
> This implements dynamic noise reduction without all the usual fluff, making
> it *just* quick enough to filter livetv at 320x480 on an athlon 800
> (although it is probably offset by the encoder cpu time you can save by
> turning down the bitrate). The default thresholds are set to a "high"
> setting, you may notice ghosting on high motion scenes, but mostly video
> quality is much improved.

Couple reasonably quick requests on this -- could you move the static 
variables in dnr() to the VideoFilter struct for thread safety purposes?  
Also, the average array really should be dynamic -- I'd prefer it not to 
segfault if someone sends in hdtv sized video, for instance..  It also would 
probably make sense to check the incoming frame size and re-allocate the 
buffer if the video size changes (which it can).

Isaac


More information about the mythtv-dev mailing list