[mythtv-commits] mythtv commits

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Apr 16 20:15:02 UTC 2005

Changes committed by cpinkham on Sat Apr 16 20:12:39 2005

Modified Files:
   in mythtv/libs/libmythtv:
        NuppelVideoPlayer.cpp NuppelVideoRecorder.cpp 
        commercial_skip.cpp commercial_skip.h 
Log Message:

* Merge the blank-frame and scene-change detection loops inside CommDetect
  into one loop so that we only loop through the video frame once instead
  of twice when the detection method is set to blank-frame, scene-change,
  or ALL.  With both of these inside one loop, we get better performance
  since the data is still in the CPU cache when checked for the scene-change.
  When flagging a large-frame video such as HDTV or when flagging on a
  CPU with a small data cache, the single loop gives a big performance
  increase since the CPU does not have to reload the data from memory
  twice, it can use it the value in its onboard data cache instead.

* Check the settings table for default values for certain detection
  thresholds.  This allows for easier user testing and potential future tuning
  rather than having to recompile to try new values.  Potentially some of
  these may become user-configurable settings in the commercial flagging
  page in setup, but for now they are undocumented and uneditable via a GUI.


More information about the mythtv-commits mailing list