Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/mm2/Little-CMS
Browse files Browse the repository at this point in the history
  • Loading branch information
mm2 committed Nov 1, 2022
2 parents 4ca72f8 + 496293a commit 5cab2e5
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 19 deletions.
1 change: 0 additions & 1 deletion Projects/VC2022/testbed/testbed.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\testbed\fuzzer.c" />
<ClCompile Include="..\..\..\testbed\testcms2.c" />
<ClCompile Include="..\..\..\testbed\testplugin.c" />
<ClCompile Include="..\..\..\testbed\zoo_icc.c" />
Expand Down
3 changes: 0 additions & 3 deletions Projects/VC2022/testbed/testbed.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,5 @@
<ClCompile Include="..\..\..\testbed\zoo_icc.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\testbed\fuzzer.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -17701,7 +17701,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

#include <emmintrin.h>
main() { __m128i n = _mm_set1_epi8(42); }
int main() { __m128i n = _mm_set1_epi8(42); }
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_compiler_supports_sse2=yes
Expand Down
6 changes: 3 additions & 3 deletions plugins/fast_float/src/fast_float_tethra.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ void FloatCLUTEval(struct _cmstransform_struct* CMMcargo,
py = g * p->Domain[1];
pz = b * p->Domain[2];

x0 = _cmsQuickFloor(px); rx = (px - (cmsFloat32Number)x0);
y0 = _cmsQuickFloor(py); ry = (py - (cmsFloat32Number)y0);
z0 = _cmsQuickFloor(pz); rz = (pz - (cmsFloat32Number)z0);
x0 = (int) floorf(px); rx = (px - (cmsFloat32Number)x0);
y0 = (int) floorf(py); ry = (py - (cmsFloat32Number)y0);
z0 = (int) floorf(pz); rz = (pz - (cmsFloat32Number)z0);


X0 = p->opta[2] * x0;
Expand Down
7 changes: 0 additions & 7 deletions testbed/testcms2.c
Original file line number Diff line number Diff line change
Expand Up @@ -9249,13 +9249,6 @@ int main(int argc, char* argv[])
CHDIR(argv[2]);
}

#ifdef LCMS_FAST_EXTENSIONS
printf("Installing fast float extension ...");
cmsPlugin(cmsFastFloatExtensions());
printf("done.\n");
#endif


printf("Installing debug memory plug-in ... ");
cmsPlugin(&DebugMemHandler);
printf("done.\n");
Expand Down
4 changes: 0 additions & 4 deletions testbed/testcms2.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@

#include "lcms2_internal.h"

#ifdef LCMS_FAST_EXTENSIONS
# include "fast_float_internal.h"
#endif

// On Visual Studio, use debug CRT
#ifdef _MSC_VER
# include "crtdbg.h"
Expand Down

0 comments on commit 5cab2e5

Please sign in to comment.