mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
b608767288
Previously changing the template property resulted in an exception thrown from cvMatchTemplate, because "dist_image" (the intermediate match-certainty-distribution) was the wrong size (because the template image size had changed). Locking has also been added to allow changing the properties (e.g. the pattern to match) while the pipeline is playing. * gst_element_post_message is moved outside of the lock, because it will call into arbitrary user code (otherwise, if that user code calls into gst_templatematch_set_property on this same thread it would deadlock). * gst_template_match_load_template: If we fail to load the new template we still unload the previous template, so this element becomes a no-op in the pipeline. The alternative would be to keep the previous template; I believe unloading the previous template is a better choice, because it is consistent with the state this element would be in if it fails to load the very first template at start-up. Thanks to Will Manley for the bulk of this work; any errors are probably mine. |
||
---|---|---|
.. | ||
fist.xml | ||
gstcvdilate.c | ||
gstcvdilate.h | ||
gstcvdilateerode.c | ||
gstcvdilateerode.h | ||
gstcvequalizehist.c | ||
gstcvequalizehist.h | ||
gstcverode.c | ||
gstcverode.h | ||
gstcvlaplace.c | ||
gstcvlaplace.h | ||
gstcvsmooth.c | ||
gstcvsmooth.h | ||
gstcvsobel.c | ||
gstcvsobel.h | ||
gstdisparity.cpp | ||
gstdisparity.h | ||
gstedgedetect.c | ||
gstedgedetect.h | ||
gstfaceblur.c | ||
gstfaceblur.h | ||
gstfacedetect.c | ||
gstfacedetect.h | ||
gstgrabcut.cpp | ||
gstgrabcut.h | ||
gsthanddetect.c | ||
gsthanddetect.h | ||
gstmotioncells.c | ||
gstmotioncells.h | ||
gstopencv.c | ||
gstopencvutils.c | ||
gstopencvutils.h | ||
gstopencvvideofilter.c | ||
gstopencvvideofilter.h | ||
gstpyramidsegment.c | ||
gstpyramidsegment.h | ||
gstretinex.c | ||
gstretinex.h | ||
gstsegmentation.cpp | ||
gstsegmentation.h | ||
gstskindetect.c | ||
gstskindetect.h | ||
gsttemplatematch.c | ||
gsttemplatematch.h | ||
gsttextoverlay.c | ||
gsttextoverlay.h | ||
Makefile.am | ||
MotionCells.cpp | ||
MotionCells.h | ||
motioncells_wrapper.cpp | ||
motioncells_wrapper.h | ||
palm.xml |