Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package zimg for openSUSE:Factory checked in at 2023-07-17 19:22:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zimg (Old) and /work/SRC/openSUSE:Factory/.zimg.new.3193 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zimg" Mon Jul 17 19:22:38 2023 rev:39 rq:1098722 version:3.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/zimg/zimg.changes 2022-05-14 22:52:35.063022560 +0200 +++ /work/SRC/openSUSE:Factory/.zimg.new.3193/zimg.changes 2023-07-17 19:22:40.229523349 +0200 @@ -1,0 +2,11 @@ +Fri Jul 14 17:48:12 UTC 2023 - Mia Herkt <[email protected]> + +- Update to 3.0.5 + * colorspace: add ST.428-1 (gamma 2.6) transfer function + * depth: fix AVX-512 integer to float border handling (introduced in 2.6) + * depth: fix NEON dither border handling (introduced in 3.0) + * graph: fix clipping in alpha premultiplication (introduced in 3.0) + * x86: optimizations for AMD Zen4 processors +- Drop e29571.patch + +------------------------------------------------------------------- Old: ---- e29571.patch zimg-3.0.4.obscpio New: ---- zimg-3.0.5.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zimg.spec ++++++ --- /var/tmp/diff_new_pack.Mf3zAu/_old 2023-07-17 19:22:41.189528910 +0200 +++ /var/tmp/diff_new_pack.Mf3zAu/_new 2023-07-17 19:22:41.193528933 +0200 @@ -18,7 +18,7 @@ %define sover 2 Name: zimg -Version: 3.0.4 +Version: 3.0.5 Release: 0 Summary: Scaling, colorspace conversion, and dithering library License: WTFPL @@ -27,8 +27,6 @@ Source0: zimg-%{version}.tar.xz Source99: baselibs.conf Patch0: zimg-s390x-unit-tests.patch -# PATCH-FIX-UPSTREAM e29571.patch -- Fix unittests on ARM -Patch1: https://github.com/sekrit-twc/zimg/commit/e29571.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: cmake ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Mf3zAu/_old 2023-07-17 19:22:41.229529142 +0200 +++ /var/tmp/diff_new_pack.Mf3zAu/_new 2023-07-17 19:22:41.233529165 +0200 @@ -4,7 +4,7 @@ <param name="scm">git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">release-([0-9\.]*)</param> - <param name="revision">release-3.0.4</param> + <param name="revision">release-3.0.5</param> </service> <service name="tar" mode="buildtime" /> <service name="recompress" mode="buildtime"> ++++++ zimg-3.0.4.obscpio -> zimg-3.0.5.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/ChangeLog new/zimg-3.0.5/ChangeLog --- old/zimg-3.0.4/ChangeLog 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/ChangeLog 2023-06-30 19:55:27.000000000 +0200 @@ -1,3 +1,10 @@ +3.0.5 +colorspace: add ST.428-1 (gamma 2.6) transfer function +depth: fix AVX-512 integer to float border handling (introduced in 2.6) +depth: fix NEON dither border handling (introduced in 3.0) +graph: fix clipping in alpha premultiplication (introduced in 3.0) +x86: optimizations for AMD Zen4 processors + 3.0.4 colorspace: fix ARIB STD-B67 constant-luminance EOTF (introduced in 2.6) colorspace: filter negative values from sRGB-like transfer functions diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/_msvc/_example_api/_example_api.vcxproj new/zimg-3.0.5/_msvc/_example_api/_example_api.vcxproj --- old/zimg-3.0.4/_msvc/_example_api/_example_api.vcxproj 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/_msvc/_example_api/_example_api.vcxproj 2023-06-30 19:55:27.000000000 +0200 @@ -46,52 +46,52 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/_msvc/_example_api_c/_example_api_c.vcxproj new/zimg-3.0.5/_msvc/_example_api_c/_example_api_c.vcxproj --- old/zimg-3.0.4/_msvc/_example_api_c/_example_api_c.vcxproj 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/_msvc/_example_api_c/_example_api_c.vcxproj 2023-06-30 19:55:27.000000000 +0200 @@ -46,52 +46,52 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/_msvc/_example_hdr/_example_hdr.vcxproj new/zimg-3.0.5/_msvc/_example_hdr/_example_hdr.vcxproj --- old/zimg-3.0.4/_msvc/_example_hdr/_example_hdr.vcxproj 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/_msvc/_example_hdr/_example_hdr.vcxproj 2023-06-30 19:55:27.000000000 +0200 @@ -43,52 +43,52 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/_msvc/_example_interlace/_example_interlace.vcxproj new/zimg-3.0.5/_msvc/_example_interlace/_example_interlace.vcxproj --- old/zimg-3.0.4/_msvc/_example_interlace/_example_interlace.vcxproj 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/_msvc/_example_interlace/_example_interlace.vcxproj 2023-06-30 19:55:27.000000000 +0200 @@ -46,52 +46,52 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/_msvc/_example_tile/_example_tile.vcxproj new/zimg-3.0.5/_msvc/_example_tile/_example_tile.vcxproj --- old/zimg-3.0.4/_msvc/_example_tile/_example_tile.vcxproj 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/_msvc/_example_tile/_example_tile.vcxproj 2023-06-30 19:55:27.000000000 +0200 @@ -44,52 +44,52 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/_msvc/dll/dll.vcxproj new/zimg-3.0.5/_msvc/dll/dll.vcxproj --- old/zimg-3.0.4/_msvc/dll/dll.vcxproj 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/_msvc/dll/dll.vcxproj 2023-06-30 19:55:27.000000000 +0200 @@ -49,52 +49,52 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/_msvc/testapp/testapp.vcxproj new/zimg-3.0.5/_msvc/testapp/testapp.vcxproj --- old/zimg-3.0.4/_msvc/testapp/testapp.vcxproj 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/_msvc/testapp/testapp.vcxproj 2023-06-30 19:55:27.000000000 +0200 @@ -63,52 +63,52 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/_msvc/testcommon/testcommon.vcxproj new/zimg-3.0.5/_msvc/testcommon/testcommon.vcxproj --- old/zimg-3.0.4/_msvc/testcommon/testcommon.vcxproj 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/_msvc/testcommon/testcommon.vcxproj 2023-06-30 19:55:27.000000000 +0200 @@ -43,52 +43,52 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/_msvc/unit_test/unit_test.vcxproj new/zimg-3.0.5/_msvc/unit_test/unit_test.vcxproj --- old/zimg-3.0.4/_msvc/unit_test/unit_test.vcxproj 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/_msvc/unit_test/unit_test.vcxproj 2023-06-30 19:55:27.000000000 +0200 @@ -189,52 +189,52 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/_msvc/zimg/zimg.vcxproj new/zimg-3.0.5/_msvc/zimg/zimg.vcxproj --- old/zimg-3.0.4/_msvc/zimg/zimg.vcxproj 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/_msvc/zimg/zimg.vcxproj 2023-06-30 19:55:27.000000000 +0200 @@ -43,52 +43,52 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> @@ -373,11 +373,10 @@ <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions2</EnableEnhancedInstructionSet> </ClCompile> <ClCompile Include="..\..\src\zimg\colorspace\x86\operation_impl_avx512.cpp"> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CORE512</UseProcessorExtensions> - <AdditionalOptions Condition="!$(PlatformToolset.Contains('Intel C++ Compiler')) And ('$(Platform)' == 'Win32' Or '$(Platform)' == 'x64')">/arch:AVX512</AdditionalOptions> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> </ClCompile> <ClCompile Include="..\..\src\zimg\colorspace\x86\operation_impl_sse.cpp"> <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">StreamingSIMDExtensions</EnableEnhancedInstructionSet> @@ -412,11 +411,10 @@ <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions2</EnableEnhancedInstructionSet> </ClCompile> <ClCompile Include="..\..\src\zimg\depth\x86\depth_convert_avx512.cpp"> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CORE512</UseProcessorExtensions> - <AdditionalOptions Condition="!$(PlatformToolset.Contains('Intel C++ Compiler')) And ('$(Platform)' == 'Win32' Or '$(Platform)' == 'x64')">/arch:AVX512</AdditionalOptions> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> </ClCompile> <ClCompile Include="..\..\src\zimg\depth\x86\depth_convert_sse2.cpp"> <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">StreamingSIMDExtensions2</EnableEnhancedInstructionSet> @@ -430,11 +428,10 @@ <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions2</EnableEnhancedInstructionSet> </ClCompile> <ClCompile Include="..\..\src\zimg\depth\x86\dither_avx512.cpp"> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CORE512</UseProcessorExtensions> - <AdditionalOptions Condition="!$(PlatformToolset.Contains('Intel C++ Compiler')) And ('$(Platform)' == 'Win32' Or '$(Platform)' == 'x64')">/arch:AVX512</AdditionalOptions> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> </ClCompile> <ClCompile Include="..\..\src\zimg\depth\x86\dither_sse2.cpp"> <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">StreamingSIMDExtensions2</EnableEnhancedInstructionSet> @@ -456,10 +453,7 @@ <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AdvancedVectorExtensions</EnableEnhancedInstructionSet> <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AdvancedVectorExtensions</EnableEnhancedInstructionSet> <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions</EnableEnhancedInstructionSet> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AVXI</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AVXI</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AVXI</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AVXI</UseProcessorExtensions> + <AdditionalOptions Condition="$(PlatformToolset.Contains('Intel C++ Compiler'))">/QxCORE-AVX-I</AdditionalOptions> </ClCompile> <ClCompile Include="..\..\src\zimg\depth\x86\f16c_sse2.cpp"> <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">StreamingSIMDExtensions2</EnableEnhancedInstructionSet> @@ -487,18 +481,20 @@ <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions2</EnableEnhancedInstructionSet> </ClCompile> <ClCompile Include="..\..\src\zimg\resize\x86\resize_impl_avx512.cpp"> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CORE512</UseProcessorExtensions> - <AdditionalOptions Condition="!$(PlatformToolset.Contains('Intel C++ Compiler')) And ('$(Platform)' == 'Win32' Or '$(Platform)' == 'x64')">/arch:AVX512</AdditionalOptions> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> </ClCompile> <ClCompile Include="..\..\src\zimg\resize\x86\resize_impl_avx512_vnni.cpp"> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">CORE512</UseProcessorExtensions> - <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CORE512</UseProcessorExtensions> - <AdditionalOptions Condition="!$(PlatformToolset.Contains('Intel C++ Compiler')) And ('$(Platform)' == 'Win32' Or '$(Platform)' == 'x64')">/arch:AVX512</AdditionalOptions> + <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CASCADELAKE</UseProcessorExtensions> + <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CASCADELAKE</UseProcessorExtensions> + <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">CASCADELAKE</UseProcessorExtensions> + <UseProcessorExtensions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">CASCADELAKE</UseProcessorExtensions> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> + <EnableEnhancedInstructionSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AdvancedVectorExtensions512</EnableEnhancedInstructionSet> </ClCompile> <ClCompile Include="..\..\src\zimg\resize\x86\resize_impl_sse.cpp" /> <ClCompile Include="..\..\src\zimg\resize\x86\resize_impl_sse2.cpp"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/configure.ac new/zimg-3.0.5/configure.ac --- old/zimg-3.0.4/configure.ac 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/configure.ac 2023-06-30 19:55:27.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT([zimg], [3.0.4], [https://github.com/sekrit-twc/zimg/pulls], [zimg], [https://github.com/sekrit-twc/zimg]) +AC_INIT([zimg], [3.0.5], [https://github.com/sekrit-twc/zimg/pulls], [zimg], [https://github.com/sekrit-twc/zimg]) AC_CONFIG_MACRO_DIR([m4]) : ${CFLAGS=""} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/src/testapp/table.cpp new/zimg-3.0.5/src/testapp/table.cpp --- old/zimg-3.0.4/src/testapp/table.cpp 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/src/testapp/table.cpp 2023-06-30 19:55:27.000000000 +0200 @@ -81,7 +81,7 @@ { "ictcp", MatrixCoefficients::REC_2100_ICTCP }, }; -const zimg::static_string_map<TransferCharacteristics, 12> g_transfer_table{ +const zimg::static_string_map<TransferCharacteristics, 13> g_transfer_table{ { "unspec", TransferCharacteristics::UNSPECIFIED }, { "linear", TransferCharacteristics::LINEAR }, { "log100", TransferCharacteristics::LOG_100 }, @@ -93,6 +93,7 @@ { "xvycc", TransferCharacteristics::XVYCC }, { "srgb", TransferCharacteristics::SRGB }, { "st_2084", TransferCharacteristics::ST_2084 }, + { "st_428", TransferCharacteristics::ST_428 }, { "arib_b67", TransferCharacteristics::ARIB_B67 }, }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/src/testapp/table.h new/zimg-3.0.5/src/testapp/table.h --- old/zimg-3.0.4/src/testapp/table.h 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/src/testapp/table.h 2023-06-30 19:55:27.000000000 +0200 @@ -37,7 +37,7 @@ extern const zimg::static_string_map<zimg::CPUClass, 9> g_cpu_table; extern const zimg::static_string_map<zimg::PixelType, 4> g_pixel_table; extern const zimg::static_string_map<zimg::colorspace::MatrixCoefficients, 12> g_matrix_table; -extern const zimg::static_string_map<zimg::colorspace::TransferCharacteristics, 12> g_transfer_table; +extern const zimg::static_string_map<zimg::colorspace::TransferCharacteristics, 13> g_transfer_table; extern const zimg::static_string_map<zimg::colorspace::ColorPrimaries, 12> g_primaries_table; extern const zimg::static_string_map<zimg::depth::DitherType, 4> g_dither_table; extern const zimg::static_string_map<std::unique_ptr<zimg::resize::Filter>(*)(double, double), 8> g_resize_table; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/src/zimg/api/zimg.cpp new/zimg-3.0.5/src/zimg/api/zimg.cpp --- old/zimg-3.0.4/src/zimg/api/zimg.cpp 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/src/zimg/api/zimg.cpp 2023-06-30 19:55:27.000000000 +0200 @@ -37,7 +37,7 @@ thread_local zimg_error_code_e g_last_error = ZIMG_ERROR_SUCCESS; thread_local std::string g_last_error_msg; -constexpr unsigned VERSION_INFO[] = { 3, 0, 4 }; +constexpr unsigned VERSION_INFO[] = { 3, 0, 5 }; template <class T, class U> @@ -266,7 +266,7 @@ { using zimg::colorspace::TransferCharacteristics; - static SM_CONSTEXPR_14 const zimg::static_map<zimg_transfer_characteristics_e, TransferCharacteristics, 15> map{ + static SM_CONSTEXPR_14 const zimg::static_map<zimg_transfer_characteristics_e, TransferCharacteristics, 16> map{ { ZIMG_TRANSFER_BT709, TransferCharacteristics::REC_709 }, { ZIMG_TRANSFER_UNSPECIFIED, TransferCharacteristics::UNSPECIFIED }, { ZIMG_TRANSFER_ST240_M, TransferCharacteristics::SMPTE_240M }, @@ -281,6 +281,7 @@ { ZIMG_TRANSFER_LOG_100, TransferCharacteristics::LOG_100 }, { ZIMG_TRANSFER_LOG_316, TransferCharacteristics::LOG_316 }, { ZIMG_TRANSFER_ST2084, TransferCharacteristics::ST_2084 }, + { ZIMG_TRANSFER_ST428, TransferCharacteristics::ST_428 }, { ZIMG_TRANSFER_ARIB_B67, TransferCharacteristics::ARIB_B67 }, }; return search_itu_enum_map(map, transfer, "unrecognized transfer characteristics"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/src/zimg/api/zimg.h new/zimg-3.0.5/src/zimg/api/zimg.h --- old/zimg-3.0.4/src/zimg/api/zimg.h 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/src/zimg/api/zimg.h 2023-06-30 19:55:27.000000000 +0200 @@ -315,6 +315,7 @@ ZIMG_TRANSFER_BT2020_10 = 14, /* Equivalent to 1. */ ZIMG_TRANSFER_BT2020_12 = 15, /* Equivalent to 1. */ ZIMG_TRANSFER_ST2084 = 16, + ZIMG_TRANSFER_ST428 = 17, ZIMG_TRANSFER_ARIB_B67 = 18 #define ZIMG_TRANSFER_709 ZIMG_TRANSFER_BT709 /**< Deprecated. */ #define ZIMG_TRANSFER_470_M ZIMG_TRANSFER_BT470_M /**< Deprecated. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/src/zimg/colorspace/colorspace.h new/zimg-3.0.5/src/zimg/colorspace/colorspace.h --- old/zimg-3.0.4/src/zimg/colorspace/colorspace.h 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/src/zimg/colorspace/colorspace.h 2023-06-30 19:55:27.000000000 +0200 @@ -46,6 +46,7 @@ XVYCC, SRGB, ST_2084, + ST_428, ARIB_B67, }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/src/zimg/colorspace/gamma.cpp new/zimg-3.0.5/src/zimg/colorspace/gamma.cpp --- old/zimg-3.0.4/src/zimg/colorspace/gamma.cpp 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/src/zimg/colorspace/gamma.cpp 2023-06-30 19:55:27.000000000 +0200 @@ -275,6 +275,16 @@ return x; } +float st_428_eotf(float x) noexcept +{ + return x < 0.0f ? 0.0f : 52.37f / 48.0f * zimg_x_powf(x, 2.6f); +} + +float st_428_inverse_eotf(float x) noexcept +{ + return x < 0.0f ? 0.0f : zimg_x_powf(x * (48.0f / 52.37f), 1.0f / 2.6f); +} + // Applies a per-channel correction instead of the iterative method specified in Rec.2100. float arib_b67_eotf(float x) noexcept { @@ -345,6 +355,10 @@ func.to_linear_scale = static_cast<float>(ST2084_PEAK_LUMINANCE / peak_luminance); func.to_gamma_scale = static_cast<float>(peak_luminance / ST2084_PEAK_LUMINANCE); break; + case TransferCharacteristics::ST_428: + func.to_linear = st_428_eotf; + func.to_gamma = st_428_inverse_eotf; + break; case TransferCharacteristics::ARIB_B67: func.to_linear = scene_referred ? arib_b67_inverse_oetf : arib_b67_eotf; func.to_gamma = scene_referred ? arib_b67_oetf : arib_b67_inverse_eotf; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/src/zimg/colorspace/gamma.h new/zimg-3.0.5/src/zimg/colorspace/gamma.h --- old/zimg-3.0.4/src/zimg/colorspace/gamma.h 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/src/zimg/colorspace/gamma.h 2023-06-30 19:55:27.000000000 +0200 @@ -50,6 +50,9 @@ float st_2084_eotf(float x) noexcept; float st_2084_inverse_eotf(float x) noexcept; +float st_428_eotf(float x) noexcept; +float st_428_inverse_eotf(float x) noexcept; + // Derived functions. float arib_b67_eotf(float x) noexcept; float arib_b67_inverse_eotf(float x) noexcept; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/src/zimg/common/x86/cpuinfo_x86.cpp new/zimg-3.0.5/src/zimg/common/x86/cpuinfo_x86.cpp --- old/zimg-3.0.4/src/zimg/common/x86/cpuinfo_x86.cpp 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/src/zimg/common/x86/cpuinfo_x86.cpp 2023-06-30 19:55:27.000000000 +0200 @@ -127,7 +127,7 @@ caps.piledriver = family == 0x15 && model == 0x02; caps.zen1 = family == 0x17 && model <= 0x2F; caps.zen2 = family == 0x17 && model >= 0x30; - caps.zen3 = family == 0x19; + caps.zen3 = family == 0x19 && model <= 0x5F; } return caps; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/src/zimg/depth/arm/dither_neon.cpp new/zimg-3.0.5/src/zimg/depth/arm/dither_neon.cpp --- old/zimg-3.0.4/src/zimg/depth/arm/dither_neon.cpp 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/src/zimg/depth/arm/dither_neon.cpp 2023-06-30 19:55:27.000000000 +0200 @@ -72,14 +72,30 @@ vst1_u8(ptr, vmovn_u16(x)); } - static inline FORCE_INLINE void store8_idxlo(uint8_t *ptr, uint16x8_t x, unsigned idx) + static inline FORCE_INLINE void store8_idxlo(uint8_t *ptr, uint16x8_t x_, unsigned idx) { - neon_store_idxlo_u8(ptr, vcombine_u8(vmovn_u16(x), vdup_n_u8(0)), idx); + uint8x8_t x = vmovn_u16(x_); + uint8x8_t orig = vld1_u8(ptr); + uint8x8_t mask = vld1_u8(neon_mask_table[idx]); + + orig = vbic_u8(orig, mask); + x = vand_u8(x, mask); + x = vorr_u8(x, orig); + + vst1_u8(ptr, x); } - static inline FORCE_INLINE void store8_idxhi(uint8_t *ptr, uint16x8_t x, unsigned idx) + static inline FORCE_INLINE void store8_idxhi(uint8_t *ptr, uint16x8_t x_, unsigned idx) { - neon_store_idxhi_u8(ptr - 8, vcombine_u8(vdup_n_u8(0), vmovn_u16(x)), idx + 8); + uint8x8_t x = vmovn_u16(x_); + uint8x8_t orig = vld1_u8(ptr); + uint8x8_t mask = vld1_u8(neon_mask_table[idx]); + + orig = vand_u8(orig, mask); + x = vbic_u8(x, mask); + x = vorr_u8(x, orig); + + vst1_u8(ptr, x); } }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/src/zimg/depth/x86/depth_convert_avx512.cpp new/zimg-3.0.5/src/zimg/depth/x86/depth_convert_avx512.cpp --- old/zimg-3.0.4/src/zimg/depth/x86/depth_convert_avx512.cpp 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/src/zimg/depth/x86/depth_convert_avx512.cpp 2023-06-30 19:55:27.000000000 +0200 @@ -117,8 +117,8 @@ const typename Load::src_type *src_p = static_cast<const typename Load::src_type *>(src); typename Store::dst_type *dst_p = static_cast<typename Store::dst_type *>(dst); - unsigned vec_left = floor_n(left, 16); - unsigned vec_right = ceil_n(right, 16); + unsigned vec_left = ceil_n(left, 16); + unsigned vec_right = floor_n(right, 16); const __m512 scale_ps = _mm512_set1_ps(scale); const __m512 offset_ps = _mm512_set1_ps(offset); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/src/zimg/graph/basic_filter.cpp new/zimg-3.0.5/src/zimg/graph/basic_filter.cpp --- old/zimg-3.0.4/src/zimg/graph/basic_filter.cpp 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/src/zimg/graph/basic_filter.cpp 2023-06-30 19:55:27.000000000 +0200 @@ -139,7 +139,7 @@ for (unsigned j = left; j < right; ++j) { float a = alpha[j]; a = std::min(std::max(a, 0.0f), 1.0f); - dst_p[j] = src_p[j] * alpha[j]; + dst_p[j] = src_p[j] * a; } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/test/colorspace/arm/colorspace_neon_test.cpp new/zimg-3.0.5/test/colorspace/arm/colorspace_neon_test.cpp --- old/zimg-3.0.4/test/colorspace/arm/colorspace_neon_test.cpp 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/test/colorspace/arm/colorspace_neon_test.cpp 2023-06-30 19:55:27.000000000 +0200 @@ -54,13 +54,13 @@ const char *expected_sha1[3] = { #if defined(_M_ARM64) || defined(__aarch64__) - "7b2a05426e2ef61dc6adc16573fca46ea3480256", - "9c69bc8fa775a8e877e66e79812e9f4c39cec647", - "6010983126eb3f5ca2dd5c01f4753c0e9f36d0bb" + "749f74428406c019b1b727fa30352fcd1f0141ed", + "334cfa73375f8afef8423a163f3cff8f8a196762", + "aa3aab12d52e67b4d6765b4e8c03205a5375d8d9" #else - "0495adab9c82d98e73841e229a9b2041838fc0f2", - "ece7edb1118d4b3063ad80f5d8febb6db7e9633a", - "73a9ee951c7bde9ae0ada9b90afd1f7ce8b604df" + "1d559e4b2812a5940839b064f5bd74bc4fe0a2f9", + "b32a33c4bbbf3901f89458f914e6d03cc81f2c1d", + "4aadd644fae30cfd2098bb8d2b9f98483c8821fd" #endif }; #if defined(_M_ARM64) || defined(__aarch64__) @@ -82,34 +82,34 @@ { #if defined(_M_ARM64) || defined(__aarch64__) "23d012fcb280f601e2e3c349229d0108e3cd632a", - "21f5071b0a817c28295d51ead5137cabc6e0d5c4", - "158c4ff0c91c08f82e9fc35a500a1c8166f5ae6b" + "7ae186215d5fa45065f7aeac74ab2dc74b556696", + "bad84d4e0de8572c81df6d9f91fef05b1576f9e5" #else "52451877e62e9fc31eb10b1e37c5f95fdd8851db", - "3e2ff4f017c343edbe787692ce169123124337b1", - "f719a90e6a6c859bfcfc136f3296e65044495da0" + "06bc0aff436bbbf4ba633b2255dd096e628a129c", + "a20570af1c05291029ea7d6b4215c451f4a9187a" #endif }, { "011ee645ad30bb6ad6d93d8980d89a3e3e073c19", - "d64814ca78cbf4e07606f92f1644f59762271ca5", - "f871247697737f9f8b6a59a58306e22cce472ea6" + "5ae0e075b3856d9f491954b477568b17daf7f147", + "84b20f8fa27c23a668540566b9df26c4b42c9afa" }, { #if defined(_M_ARM64) || defined(__aarch64__) "8206be2ae5e8a0fc003daeec4178189eecf82a13", - "6bc5833cbd22f04c1965d230aad2ef8969da24b7", - "6538399afe0b9fd55a95608b25c8036e16d658b8" + "24843f17600dd7bf9870f5c778549bd96c333427", + "26a6b00801b41da17d849e02217bf69add6324a6" #else "905d4d54eeae6458e8e0975c9cea66b25edcc234", - "c2e7015447b40ebb2f4bfba48b7b091f964b22f1", - "d222f960fe874ac88608666c4af8de180d91868e" + "d380f54820f1e269ea54a1d552b0cb704f83dd7b", + "552579149674b5e37f0d443ad19a59593fdca057" #endif }, { "16f2274ffac90927de0438114f0ea22e650981a0", - "2e01c95f89ea26b5a55bed895223381ac3f17e70", - "c61d9c5369a00af5bb40b70fbb21956c00a4a1e9" + "b1c8b15b6159ab43e7bfc4e715fe3b621628d26e", + "632ae07d6919533c87d2ed28560a60cf070498e2" }, }; const double expected_tolinear_snr = 80.0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zimg-3.0.4/test/colorspace/gamma_test.cpp new/zimg-3.0.5/test/colorspace/gamma_test.cpp --- old/zimg-3.0.4/test/colorspace/gamma_test.cpp 2022-03-17 03:03:55.000000000 +0100 +++ new/zimg-3.0.5/test/colorspace/gamma_test.cpp 2023-06-30 19:55:27.000000000 +0200 @@ -118,7 +118,7 @@ test_monotonic(zimg::colorspace::log316_oetf, 1.0f, 2.0f, 1UL << 16); } -TEST(GammaTest, test_rec_470m_470bg) +TEST(GammaTest, test_rec_470m_470bg_st428) { SCOPED_TRACE("470m"); test_accuracy(zimg::colorspace::rec_470m_oetf, zimg::colorspace::rec_470m_inverse_oetf, 0.0f, 1.0f, 1e-6f, 1e-6f); @@ -126,6 +126,9 @@ SCOPED_TRACE("470bg"); test_accuracy(zimg::colorspace::rec_470bg_oetf, zimg::colorspace::rec_470bg_inverse_oetf, 0.0f, 1.0f, 1e-6f, 1e-6f); test_accuracy(zimg::colorspace::rec_470bg_inverse_oetf, zimg::colorspace::rec_470bg_oetf, 0.0f, 1.0f, 1e-6f, 1e-6f); + SCOPED_TRACE("st428"); + test_accuracy(zimg::colorspace::st_428_eotf, zimg::colorspace::st_428_inverse_eotf, 0.0f, 1.0f, 1e-6f, 1e-6f); + test_accuracy(zimg::colorspace::st_428_inverse_eotf, zimg::colorspace::st_428_eotf, 0.0f, 1.0f, 1e-6f, 1e-6f); } TEST(GammaTest, test_smpte_240m) ++++++ zimg.obsinfo ++++++ --- /var/tmp/diff_new_pack.Mf3zAu/_old 2023-07-17 19:22:41.725532015 +0200 +++ /var/tmp/diff_new_pack.Mf3zAu/_new 2023-07-17 19:22:41.729532039 +0200 @@ -1,5 +1,5 @@ name: zimg -version: 3.0.4 -mtime: 1647482635 -commit: dd4c4dff3ce6a2877bd6ba57c1be99759b9cb2da +version: 3.0.5 +mtime: 1688147727 +commit: e5b0de6bebbcbc66732ed5afaafef6b2c7dfef87
