gstreamer/ext
Matthew Waters 044ed50190 opencv/facedetect: fix the build with opencv 3.1.0
- add using namespace std; for std::vector
    - use the cpp header imgproc.hpp file for the cv::ellipse function instead of
      the C header
    - Mat no longer takes IplImage in it's constructors, use the cvarrtomat()
      function instead.

    Fixes a couple of build errors:

    gstfacedetect.cpp:140:30: error: ‘vector’ does not name a type
     structure_and_message (const vector < Rect > &rectangles, const gchar * name,
                                  ^~~~~~
    gstfacedetect.cpp:140:37: error: expected ‘,’ or ‘...’ before ‘<’ token
     structure_and_message (const vector < Rect > &rectangles, const gchar * name,
                                         ^
    gstfacedetect.cpp: In function ‘void structure_and_message(int)’:
    gstfacedetect.cpp:143:13: error: ‘rectangles’ was not declared in this scope
       Rect sr = rectangles[0];

    [...]

    gstfacedetect.cpp: In function ‘void
    gst_face_detect_run_detector(GstFaceDetect*, cv::CascadeClassifier*, gint, gint,
    cv::Rect, std::vector<cv::Rect_<int> >&)’:
    gstfacedetect.cpp:562:31: error: no matching function for call to
    ‘cv::Mat::Mat(IplImage*&, cv::Rect&)’
         Mat roi (filter->cvGray, r);

    [...]

    gstfacedetect.cpp: In function ‘GstFlowReturn
    gst_face_detect_transform_ip(GstOpencvVideoFilter*, GstBuffer*, IplImage*)’:
    gstfacedetect.cpp:594:44: error: no matching function for call to
    ‘cv::Mat::Mat(cv::Mat, bool)’
         Mat mtxOrg (cv::cvarrToMat (img), false);

    [...]

    gstfacedetect.cpp:734:79: error: ‘ellipse’ was not declared in this scope
             ellipse (mtxOrg, center, axes, 0, 0, 360, Scalar (cr, cg, cb), 3, 8,
    0);
2016-05-15 12:29:07 +01:00
..
apexsink bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
assrender bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
bs2b Constify some static arrays everywhere 2015-01-21 10:18:50 +01:00
bz2 bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
chromaprint chromaprint: emit notify::fingerprint signal when fingerprint is ready 2016-04-07 20:44:09 +01:00
curl curlsink: catch an unknown error 2016-04-04 17:48:55 +01:00
daala bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
dash dash: strip lead/trailing whitespace from descriptortype attributes 2016-04-22 17:33:15 -03:00
dc1394 Remove a bunch of silly ';;' typos at the end of lines 2015-03-12 01:33:03 +11:00
directfb meta: Initialize all remaining metas in their init function 2016-04-13 10:25:32 +03:00
dtls dtsl: add some documentation 2016-04-18 12:35:40 +01:00
dts bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
faac bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
faad bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
flite bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
fluidsynth bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gl gltransformation: use the affine transformation meta if available downstream 2016-05-14 16:35:29 +03:00
gme bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gsm bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
gtk gtk: Fix logging in base widget and fix desc of GL sink 2016-03-27 12:04:16 +03:00
hls bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
kate bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
ladspa ladspa: code cleanup 2016-05-10 14:21:35 -07:00
libde265 bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
libmms bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
libvisual bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
lv2 lv2: add a source plugin 2016-05-13 11:54:08 -07:00
mimic bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
modplug bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
mpeg2enc bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
mplex bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
musepack bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
nas bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
neon bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
ofa ofa: port to 1.0 2013-05-12 23:42:06 +01:00
openal bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
opencv opencv/facedetect: fix the build with opencv 3.1.0 2016-05-15 12:29:07 +01:00
openexr bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
openh264 openh264dec: minor clean-ups 2016-04-11 20:23:45 +01:00
openjpeg openjpeg: Port to 2.1 and require a pkg-config file for 2.0 and 2.1 2016-05-10 14:03:33 +03:00
openni2 bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
opus bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
qt bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
resindvd bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
rsvg bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
rtmp rtmpsrc plugin : add timeout option 2016-03-27 11:54:36 +03:00
sbc bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
schroedinger bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
sdl bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
smoothstreaming bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
sndfile bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
sndio bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
soundtouch bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
spandsp bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
spc bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
srtp srtpdec: also check for "roc" in caps 2016-04-15 15:37:32 +02:00
teletextdec teletexdec: Simplify negotiation code 2016-03-29 10:57:32 +02:00
timidity bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
voaacenc bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
voamrwbenc bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
vulkan vkswapper: check the error of the presentation for out of date 2016-05-13 15:24:35 +03:00
wayland bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
webp bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
x265 bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
xvid bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
zbar bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
Makefile.am new vulkan based video sink 2016-02-17 01:13:43 +11:00