Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mitsuba-shapenet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hardik Jain
mitsuba-shapenet
Commits
7e705a62
Commit
7e705a62
authored
10 years ago
by
johannes hanika
Committed by
Wenzel Jakob
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
hslt: compile fixes
parent
b821dc9e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/mitsuba/core/rfilter.h
+1
-1
1 addition, 1 deletion
include/mitsuba/core/rfilter.h
src/mtsgui/simdtonemap.cpp
+3
-3
3 additions, 3 deletions
src/mtsgui/simdtonemap.cpp
with
4 additions
and
4 deletions
include/mitsuba/core/rfilter.h
+
1
−
1
View file @
7e705a62
...
...
@@ -124,7 +124,7 @@ template <typename Scalar> struct Resampler {
int
sourceRes
,
int
targetRes
)
:
m_bc
(
bc
),
m_sourceRes
(
sourceRes
),
m_targetRes
(
targetRes
),
m_start
(
NULL
),
m_weights
(
NULL
)
{
SAssert
(
sourceRes
>
0
&&
targetRes
>
0
);
Float
filterRadius
=
rfilter
->
getRadius
(),
scale
=
1.0
f
,
invScale
=
1.0
f
;
Float
filterRadius
=
rfilter
->
getRadius
(),
scale
=
(
Float
)
1.0
,
invScale
=
(
Float
)
1.0
;
/* Low-pass filter: scale reconstruction filters when downsampling */
if
(
targetRes
<
sourceRes
)
{
...
...
This diff is collapsed.
Click to expand it.
src/mtsgui/simdtonemap.cpp
+
3
−
3
View file @
7e705a62
...
...
@@ -520,13 +520,13 @@ bool luminance(const mitsuba::Bitmap* source, const float multiplier,
V4i
tailMask
=
V4i
::
zero
();
switch
(
pixelCount
%
4
)
{
case
1
:
tailMask
=
V4i
::
constant
<
0
,
0
x00000000
,
0x00000000
,
0xffffffff
>
();
tailMask
=
V4i
::
constant
<
0
,
0
,
0
,
-
1
>
();
break
;
case
2
:
tailMask
=
V4i
::
constant
<
0
,
0
x00000000
,
0xffffffff
,
0xffffffff
>
();
tailMask
=
V4i
::
constant
<
0
,
0
,
-
1
,
-
1
>
();
break
;
case
3
:
tailMask
=
V4i
::
constant
<
0
,
0xffffffff
,
0xffffffff
,
0xffffffff
>
();
tailMask
=
V4i
::
constant
<
0
,
-
1
,
-
1
,
-
1
>
();
break
;
}
// maxLuminance contains zeros in the invalid positions which is OK
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment