Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
7b95bb20
Commit
7b95bb20
authored
Aug 14, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Aug 14, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1272 from kamjagin:fixingQTKitPublic2.4
parents
902aa309
69287c93
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
20 additions
and
7 deletions
+20
-7
CMakeLists.txt
CMakeLists.txt
+2
-2
OpenCVFindLibsVideo.cmake
cmake/OpenCVFindLibsVideo.cmake
+2
-0
cvconfig.h.cmake
cmake/templates/cvconfig.h.cmake
+3
-0
perf_video.cpp
modules/gpu/perf/perf_video.cpp
+1
-0
test_bgfg.cpp
modules/gpu/test/test_bgfg.cpp
+1
-0
CMakeLists.txt
modules/highgui/CMakeLists.txt
+1
-1
perf_precomp.hpp
modules/highgui/perf/perf_precomp.hpp
+2
-0
cap.cpp
modules/highgui/src/cap.cpp
+5
-4
test_precomp.hpp
modules/highgui/test/test_precomp.hpp
+3
-0
No files found.
CMakeLists.txt
View file @
7b95bb20
...
...
@@ -745,8 +745,8 @@ if(DEFINED WITH_GIGEAPI)
endif
(
DEFINED WITH_GIGEAPI
)
if
(
DEFINED WITH_QUICKTIME
)
status
(
" QuickTime:"
WITH
_QUICKTIME THEN YES ELSE NO
)
status
(
" QTKit:"
WITH_QUICKTIME THEN NO ELSE YES
)
status
(
" QuickTime:"
HAVE
_QUICKTIME THEN YES ELSE NO
)
status
(
" QTKit:"
HAVE_QTKIT THEN YES ELSE NO
)
endif
(
DEFINED WITH_QUICKTIME
)
if
(
DEFINED WITH_UNICAP
)
...
...
cmake/OpenCVFindLibsVideo.cmake
View file @
7b95bb20
...
...
@@ -244,4 +244,6 @@ endif()
# --- QuickTime ---
if
(
WITH_QUICKTIME
)
set
(
HAVE_QUICKTIME YES
)
elseif
(
APPLE
)
set
(
HAVE_QTKIT YES
)
endif
()
cmake/templates/cvconfig.h.cmake
View file @
7b95bb20
...
...
@@ -133,6 +133,9 @@
/* QuickTime video libraries */
#cmakedefine HAVE_QUICKTIME
/* QTKit video libraries */
#cmakedefine HAVE_QTKIT
/* Intel Threading Building Blocks */
#cmakedefine HAVE_TBB
...
...
modules/gpu/perf/perf_video.cpp
View file @
7b95bb20
...
...
@@ -49,6 +49,7 @@ using namespace perf;
#if defined(HAVE_XINE) || \
defined(HAVE_GSTREAMER) || \
defined(HAVE_QUICKTIME) || \
defined(HAVE_QTKIT) || \
defined(HAVE_AVFOUNDATION) || \
defined(HAVE_FFMPEG) || \
defined(WIN32)
/* assume that we have ffmpeg */
...
...
modules/gpu/test/test_bgfg.cpp
View file @
7b95bb20
...
...
@@ -49,6 +49,7 @@ using namespace cvtest;
#if defined(HAVE_XINE) || \
defined(HAVE_GSTREAMER) || \
defined(HAVE_QUICKTIME) || \
defined(HAVE_QTKIT) || \
defined(HAVE_AVFOUNDATION) || \
defined(HAVE_FFMPEG) || \
defined(WIN32)
/* assume that we have ffmpeg */
...
...
modules/highgui/CMakeLists.txt
View file @
7b95bb20
...
...
@@ -213,7 +213,7 @@ endif()
if
(
HAVE_QUICKTIME
)
list
(
APPEND highgui_srcs src/cap_qt.cpp
)
list
(
APPEND HIGHGUI_LIBRARIES
"-framework Carbon"
"-framework QuickTime"
"-framework CoreFoundation"
"-framework QuartzCore"
)
elseif
(
APPLE
)
elseif
(
HAVE_QTKIT
)
list
(
APPEND highgui_srcs src/cap_qtkit.mm
)
list
(
APPEND HIGHGUI_LIBRARIES
"-framework QTKit"
"-framework QuartzCore"
"-framework AppKit"
)
endif
()
...
...
modules/highgui/perf/perf_precomp.hpp
View file @
7b95bb20
...
...
@@ -19,6 +19,7 @@
#if defined(HAVE_XINE) || \
defined(HAVE_GSTREAMER) || \
defined(HAVE_QUICKTIME) || \
defined(HAVE_QTKIT) || \
defined(HAVE_AVFOUNDATION) || \
defined(HAVE_FFMPEG) || \
defined(HAVE_MSMF) || \
...
...
@@ -33,6 +34,7 @@
#if
/*defined(HAVE_XINE) || */
\
defined(HAVE_GSTREAMER) || \
defined(HAVE_QUICKTIME) || \
defined(HAVE_QTKIT) || \
defined(HAVE_AVFOUNDATION) || \
defined(HAVE_FFMPEG) || \
defined(HAVE_MSMF) || \
...
...
modules/highgui/src/cap.cpp
View file @
7b95bb20
...
...
@@ -135,7 +135,7 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index)
#ifdef HAVE_MIL
CV_CAP_MIL
,
#endif
#if
def HAVE_QUICKTIME
#if
defined(HAVE_QUICKTIME) || defined(HAVE_QTKIT)
CV_CAP_QT
,
#endif
#ifdef HAVE_UNICAP
...
...
@@ -185,6 +185,7 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index)
defined(HAVE_CMU1394) || \
defined(HAVE_MIL) || \
defined(HAVE_QUICKTIME) || \
defined(HAVE_QTKIT) || \
defined(HAVE_UNICAP) || \
defined(HAVE_PVAPI) || \
defined(HAVE_OPENNI) || \
...
...
@@ -277,7 +278,7 @@ CV_IMPL CvCapture * cvCreateCameraCapture (int index)
break
;
#endif
#if
def HAVE_QUICKTIME
#if
defined(HAVE_QUICKTIME) || defined(HAVE_QTKIT)
case
CV_CAP_QT
:
capture
=
cvCreateCameraCapture_QT
(
index
);
if
(
capture
)
...
...
@@ -378,7 +379,7 @@ CV_IMPL CvCapture * cvCreateFileCapture (const char * filename)
result
=
cvCreateCapture_GStreamer
(
CV_CAP_GSTREAMER_FILE
,
filename
);
#endif
#if
def HAVE_QUICKTIME
#if
defined(HAVE_QUICKTIME) || defined(HAVE_QTKIT)
if
(
!
result
)
result
=
cvCreateFileCapture_QT
(
filename
);
#endif
...
...
@@ -436,7 +437,7 @@ CV_IMPL CvVideoWriter* cvCreateVideoWriter( const char* filename, int fourcc,
result
=
cvCreateVideoWriter_AVFoundation
(
filename
,
fourcc
,
fps
,
frameSize
,
is_color
);
#endif
#if
def HAVE_QUICKTIME
#if
defined(HAVE_QUICKTIME) || defined(HAVE_QTKIT)
if
(
!
result
)
result
=
cvCreateVideoWriter_QT
(
filename
,
fourcc
,
fps
,
frameSize
,
is_color
);
#endif
...
...
modules/highgui/test/test_precomp.hpp
View file @
7b95bb20
...
...
@@ -27,6 +27,7 @@
defined(HAVE_CMU1394) || \
defined(HAVE_MIL) || \
defined(HAVE_QUICKTIME) || \
defined(HAVE_QTKIT) || \
defined(HAVE_UNICAP) || \
defined(HAVE_PVAPI) || \
defined(HAVE_OPENNI) || \
...
...
@@ -43,6 +44,7 @@
#if defined(HAVE_XINE) || \
defined(HAVE_GSTREAMER) || \
defined(HAVE_QUICKTIME) || \
defined(HAVE_QTKIT) || \
defined(HAVE_AVFOUNDATION) || \
/*defined(HAVE_OPENNI) || too specialized */
\
defined(HAVE_FFMPEG) || \
...
...
@@ -55,6 +57,7 @@
#if
/*defined(HAVE_XINE) || */
\
defined(HAVE_GSTREAMER) || \
defined(HAVE_QUICKTIME) || \
defined(HAVE_QTKIT) || \
defined(HAVE_AVFOUNDATION) || \
defined(HAVE_FFMPEG) || \
defined(HAVE_MSMF)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment