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
ae5649d3
Commit
ae5649d3
authored
Dec 03, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop unsupported imageio from grfmt
parent
00fbf589
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
85 deletions
+0
-85
CMakeLists.txt
CMakeLists.txt
+0
-1
cvconfig.h.cmake
cmake/templates/cvconfig.h.cmake
+0
-3
CMakeLists.txt
modules/highgui/CMakeLists.txt
+0
-7
grfmt_imageio.cpp
modules/highgui/src/grfmt_imageio.cpp
+0
-0
grfmt_imageio.hpp
modules/highgui/src/grfmt_imageio.hpp
+0
-67
grfmts.hpp
modules/highgui/src/grfmts.hpp
+0
-1
loadsave.cpp
modules/highgui/src/loadsave.cpp
+0
-6
No files found.
CMakeLists.txt
View file @
ae5649d3
...
...
@@ -120,7 +120,6 @@ OCV_OPTION(WITH_EIGEN "Include Eigen2/Eigen3 support" ON)
OCV_OPTION
(
WITH_FFMPEG
"Include FFMPEG support"
ON
IF
(
NOT ANDROID AND NOT IOS
)
)
OCV_OPTION
(
WITH_GSTREAMER
"Include Gstreamer support"
ON
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_GTK
"Include GTK support"
ON
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_IMAGEIO
"ImageIO support for OS X"
OFF IF APPLE
)
OCV_OPTION
(
WITH_IPP
"Include Intel IPP support"
OFF
IF
(
MSVC OR X86 OR X86_64
)
)
OCV_OPTION
(
WITH_JASPER
"Include JPEG2K support"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_JPEG
"Include JPEG support"
ON
IF
(
NOT IOS
)
)
...
...
cmake/templates/cvconfig.h.cmake
View file @
ae5649d3
...
...
@@ -58,9 +58,6 @@
/* OpenEXR codec */
#cmakedefine HAVE_ILMIMF
/* Apple ImageIO Framework */
#cmakedefine HAVE_IMAGEIO
/* Define to 1 if you have the <inttypes.h> header file. */
#cmakedefine HAVE_INTTYPES_H 1
...
...
modules/highgui/CMakeLists.txt
View file @
ae5649d3
...
...
@@ -171,13 +171,6 @@ if(HAVE_PVAPI)
list
(
APPEND HIGHGUI_LIBRARIES
${
PVAPI_LIBRARY
}
)
endif
()
if
(
WITH_IMAGEIO
)
add_definitions
(
-DHAVE_IMAGEIO=1
)
if
(
IOS
)
list
(
APPEND HIGHGUI_LIBRARIES
"-framework ImageIO"
)
endif
()
endif
(
WITH_IMAGEIO
)
if
(
WITH_AVFOUNDATION
)
add_definitions
(
-DHAVE_AVFOUNDATION=1
)
list
(
APPEND highgui_srcs src/cap_avfoundation.mm
)
...
...
modules/highgui/src/grfmt_imageio.cpp
deleted
100644 → 0
View file @
00fbf589
This diff is collapsed.
Click to expand it.
modules/highgui/src/grfmt_imageio.hpp
deleted
100644 → 0
View file @
00fbf589
/*
* grfmt_imageio.h
*
*
* Created by Morgan Conbere on 5/17/07.
*
*/
#ifndef _GRFMT_IMAGEIO_H_
#define _GRFMT_IMAGEIO_H_
#ifdef HAVE_IMAGEIO
#include "grfmt_base.hpp"
#include <TargetConditionals.h>
#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
#include <MobileCoreServices/MobileCoreServices.h>
#include <ImageIO/ImageIO.h>
#else
#include <ApplicationServices/ApplicationServices.h>
#endif
namespace
cv
{
class
ImageIODecoder
:
public
BaseImageDecoder
{
public
:
ImageIODecoder
();
~
ImageIODecoder
();
bool
readData
(
Mat
&
img
);
bool
readHeader
();
void
close
();
size_t
signatureLength
()
const
;
bool
checkSignature
(
const
string
&
signature
)
const
;
ImageDecoder
newDecoder
()
const
;
protected
:
CGImageRef
imageRef
;
};
class
ImageIOEncoder
:
public
BaseImageEncoder
{
public
:
ImageIOEncoder
();
~
ImageIOEncoder
();
bool
write
(
const
Mat
&
img
,
const
vector
<
int
>&
params
);
ImageEncoder
newEncoder
()
const
;
};
}
#endif
/*HAVE_IMAGEIO*/
#endif
/*_GRFMT_IMAGEIO_H_*/
modules/highgui/src/grfmts.hpp
View file @
ae5649d3
...
...
@@ -43,7 +43,6 @@
#define _GRFMTS_H_
#include "grfmt_base.hpp"
#include "grfmt_imageio.hpp"
#include "grfmt_bmp.hpp"
#include "grfmt_sunras.hpp"
#include "grfmt_jpeg.hpp"
...
...
modules/highgui/src/loadsave.cpp
View file @
ae5649d3
...
...
@@ -84,12 +84,6 @@ struct ImageCodecInitializer
decoders
.
push_back
(
new
ExrDecoder
);
encoders
.
push_back
(
new
ExrEncoder
);
#endif
// because it is a generic image I/O API, supporting many formats,
// it should be last in the list.
#ifdef HAVE_IMAGEIO
decoders
.
push_back
(
new
ImageIODecoder
);
encoders
.
push_back
(
new
ImageIOEncoder
);
#endif
}
vector
<
ImageDecoder
>
decoders
;
...
...
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