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
014ba699
Commit
014ba699
authored
Aug 19, 2011
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to fix a build problem (ambiguous PixelType error when compiled on Mac x86)
parent
0451779d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
grfmt_exr.cpp
modules/highgui/src/grfmt_exr.cpp
+1
-1
grfmt_exr.hpp
modules/highgui/src/grfmt_exr.hpp
+1
-1
No files found.
modules/highgui/src/grfmt_exr.cpp
View file @
014ba699
...
...
@@ -589,7 +589,7 @@ bool ExrEncoder::write( const Mat& img, const vector<int>& )
int
step
=
img
.
step
;
Header
header
(
width
,
height
);
PixelType
type
;
Imf
::
PixelType
type
;
if
(
depth
==
8
)
type
=
HALF
;
...
...
modules/highgui/src/grfmt_exr.hpp
View file @
014ba699
...
...
@@ -81,7 +81,7 @@ protected:
void
RGBToGray
(
float
*
in
,
float
*
out
);
InputFile
*
m_file
;
PixelType
m_type
;
Imf
::
PixelType
m_type
;
Box2i
m_datawindow
;
bool
m_ischroma
;
const
Channel
*
m_red
;
...
...
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