[mythtv-commits] mythtv commit: r10287 by rtsai
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Sat Jun 24 00:31:47 UTC 2006
Author: rtsai
Date: 2006-06-24 00:31:45 +0000 (Sat, 24 Jun 2006)
New Revision: 10287
Changeset: http://cvs.mythtv.org/trac/changeset/10287
Modified:
branches/commdetector2/programs/mythcommflag/BlankFrameDetector.cpp
branches/commdetector2/programs/mythcommflag/BlankFrameDetector.h
branches/commdetector2/programs/mythcommflag/CommDetector2.cpp
branches/commdetector2/programs/mythcommflag/CommDetector2.h
branches/commdetector2/programs/mythcommflag/FrameAnalyzer.h
branches/commdetector2/programs/mythcommflag/PGMConverter.cpp
branches/commdetector2/programs/mythcommflag/PGMConverter.h
branches/commdetector2/programs/mythcommflag/TemplateFinder.cpp
branches/commdetector2/programs/mythcommflag/TemplateFinder.h
branches/commdetector2/programs/mythcommflag/TemplateMatcher.cpp
branches/commdetector2/programs/mythcommflag/TemplateMatcher.h
Log:
- Speed up BlankFrameDetector by examining only every 4th pixel: cuts number
of analyzed pixels by 16x. Greater speedups could be realized by not
examining every frame (nvp->GetRawVideoFrame is a pig, so only decode every
other frame or so), at the cost of less resolution for seeking through
commercial breaks.
- Clean up reporting of timing information.
- Initialize some arrays to zero.
- Tune expected commercial-break coverage for TemplateMatcher.
TODO:
- Integrate better with Qt slots/signals for better integration with
"real-time flagging".
- Add an audio-analysis loop.
More information about the mythtv-commits
mailing list