Menu ▾ ▴

Commit [r2613]  Maximize  Restore  History

MotionSearcher.hh

SetRegion2D.hh
main.c
newdenoise.cc
newdenoise.hh

Implemented the first, easy version of parallelism. "-p 0" produces
the original behavior. "-p 1" moves the reading/writing of video
frames to separate threads. "-p 2" moves the denoising of color to a
separate thread. Some work was needed to separate their memory spaces
better, using private allocators for the set-region objects.

This does pretty well, but since color generally takes far less time to
denoise than intensity, it still doesn't fill up 2 processors. The
next step is to rewrite denoising so that 2 search-windows can process
different slices of the same frame at the same time, but that is a BIG
project.

Also, the "skip" option was removed.

ulatec 2005-01-05

changed /trunk/mjpeg_play/y4mdenoise/MotionSearcher.hh
changed /trunk/mjpeg_play/y4mdenoise/SetRegion2D.hh
changed /trunk/mjpeg_play/y4mdenoise/main.c
changed /trunk/mjpeg_play/y4mdenoise/newdenoise.cc
changed /trunk/mjpeg_play/y4mdenoise/newdenoise.hh
/trunk/mjpeg_play/y4mdenoise/MotionSearcher.hh Diff Switch to side-by-side view
Loading...
/trunk/mjpeg_play/y4mdenoise/SetRegion2D.hh Diff Switch to side-by-side view
Loading...
/trunk/mjpeg_play/y4mdenoise/main.c Diff Switch to side-by-side view
Loading...
/trunk/mjpeg_play/y4mdenoise/newdenoise.cc Diff Switch to side-by-side view
Loading...
/trunk/mjpeg_play/y4mdenoise/newdenoise.hh Diff Switch to side-by-side view
Loading...