author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
61,745 | 06.07.2020 23:31:50 | -3,600 | 42eeb63744bb2cd95dc9104af7bb5a3c42453130 | User request to use C++14 with aligned_alloc | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -84,7 +84,7 @@ EXTERNAL_OBJECTS = $(EXTERNAL_SOURCES:.h=-$(VEC).o)\nBINARY = astcenc-$(VEC)\n-CXXFLAGS = -std=c++17 -fvisibility=hidden -mfpmath=sse \\\n+CXXFLAGS = -std=c++14 -fvisibility=hidden -mf... | C | Apache License 2.0 | arm-software/astc-encoder | User request to use C++14 with aligned_alloc |
61,745 | 07.07.2020 23:02:55 | -3,600 | a28da24863df3310f4459f9b5afbaed5a8d2f660 | Split -perceptual into a stanalone option | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel.cpp",
"new_path": "Source/astcenccli_toplevel.cpp",
"diff": "@@ -413,13 +413,12 @@ int init_astcenc_config(\nargidx++;\nflags |= ASTCENC_FLG_USE_ALPHA_WEIGHT;\n}\n- else if (!strcmp(argv[argidx], \"-normal_psnr\"))\n+ else if (!strcm... | C | Apache License 2.0 | arm-software/astc-encoder | Split -perceptual into a stanalone option |
61,745 | 07.07.2020 23:12:39 | -3,600 | 509671b95de2be87b9f7d99b53ddd8e71e17d757 | Update markdown with latest 2.x updates | [
{
"change_type": "MODIFY",
"old_path": "Docs/Building.md",
"new_path": "Docs/Building.md",
"diff": "# Building ASTC Encoder\nThis page provides instructions for building `astcenc` from the sources in\n-this repository.\n-\n-**Note:** The current `master` branch is configured to statically build\n+th... | C | Apache License 2.0 | arm-software/astc-encoder | Update markdown with latest 2.x updates |
61,745 | 07.07.2020 23:17:07 | -3,600 | 5a16f1da9036d55d058c99920a778c41cd6a7a10 | Remove obsolete markdown file | [
{
"change_type": "DELETE",
"old_path": "Docs/BranchNotes.md",
"new_path": null,
"diff": "-# Branch 2.0 design notes\n-\n-# Objectives\n-\n-The aim of the 2.0 work is to achieve the equivalent of `-thorough` encoding\n-quality with `-medium` performance. This equates to an ~8x performance\n-improveme... | C | Apache License 2.0 | arm-software/astc-encoder | Remove obsolete markdown file |
61,745 | 08.07.2020 20:29:39 | -3,600 | cc5309fbda6198f70be789ffa27c280a6a46958a | Move avg/var data to the context | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -809,7 +809,7 @@ static float prepare_error_weight_block(\nif (any_mean_stdev_weight)\n{\n- float4 avg = input_image->input_averages[zpos * zdt + ypos * ydt ... | C | Apache License 2.0 | arm-software/astc-encoder | Move avg/var data to the context |
61,745 | 08.07.2020 21:02:01 | -3,600 | 5286f6ce51e1178f1145f799b1928962e2692282 | Remove obsolete astc_codec_image | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -761,7 +761,7 @@ void expand_deblock_weights(\n// Returns the sum of all the error values set.\nstatic float prepare_error_weight_block(\nconst astcenc_conte... | C | Apache License 2.0 | arm-software/astc-encoder | Remove obsolete astc_codec_image |
61,745 | 09.07.2020 00:52:21 | -3,600 | 00f4bb57d7c2c1085938c809801fb9f82482a4eb | Fix block-size determination for decode passes | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel.cpp",
"new_path": "Source/astcenccli_toplevel.cpp",
"diff": "@@ -344,7 +344,7 @@ int init_astcenc_config(\n{\nblock_x = comp_image.block_x;\nblock_y = comp_image.block_y;\n- block_z = comp_image.block_y;\n+ block_z = comp_image.block... | C | Apache License 2.0 | arm-software/astc-encoder | Fix block-size determination for decode passes |
61,745 | 09.07.2020 01:01:42 | -3,600 | cf6d078eea4c95bb55dbed727d5e7045471c0791 | Add regression test for -tl and -cl/-dl differing | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_functional.py",
"new_path": "Test/astc_test_functional.py",
"diff": "@@ -1304,6 +1304,29 @@ class CLIPTest(CLITestBase):\n# somewhere ...\nself.assertLess(len(stdoutSilent), len(stdout))\n+ def test_image_quality_stability(self):\n+ \"\"\"\n+ Te... | C | Apache License 2.0 | arm-software/astc-encoder | Add regression test for -tl and -cl/-dl differing |
61,745 | 09.07.2020 08:57:44 | -3,600 | 77c80ce63340632926729cf66e904f6cfeae3c69 | Add KTX as a compressed file format option
Only supports mip 0; there is no automatic mipmap generation at this point. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_image_load_store.cpp",
"new_path": "Source/astcenccli_image_load_store.cpp",
"diff": "* @brief Functions for loading/storing ASTC compressed images.\n*/\n+#include <array>\n+#include <cassert>\n#include <cstdio>\n#include <cstdlib>\n#include ... | C | Apache License 2.0 | arm-software/astc-encoder | Add KTX as a compressed file format option (#127)
Only supports mip 0; there is no automatic mipmap generation at this point. |
61,745 | 12.07.2020 20:19:48 | -3,600 | 6424322e1018f8c38f78a127370903f815df5bcf | Use static library on Windows | [
{
"change_type": "MODIFY",
"old_path": "Source/VS2019/astcenc-avx2.vcxproj",
"new_path": "Source/VS2019/astcenc-avx2.vcxproj",
"diff": "<AdditionalIncludeDirectories>$(ProjectDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\n<PreprocessorDefinitions>WIN32;ASTCENC_SSE=42;ASTCENC_AV... | C | Apache License 2.0 | arm-software/astc-encoder | Use static library on Windows |
61,745 | 12.07.2020 20:18:47 | -3,600 | 86104844ad220a31234ab91291d9dee4ec05c800 | Fix compilation warnings in TinyEXR | [
{
"change_type": "MODIFY",
"old_path": "Source/tinyexr.h",
"new_path": "Source/tinyexr.h",
"diff": "@@ -7369,16 +7369,16 @@ static void WriteAttributeToMemory(std::vector<unsigned char> *out,\nout->insert(out->end(), data, data + len);\n}\n-typedef struct {\n+struct ChannelInfo {\nstd::string name; ... | C | Apache License 2.0 | arm-software/astc-encoder | Fix compilation warnings in TinyEXR |
61,745 | 12.07.2020 20:28:14 | -3,600 | b7f3c35223003c1d147e1c632b59faf93c11411d | Enable -Werror on Windows builds | [
{
"change_type": "MODIFY",
"old_path": "Source/VS2019/astcenc-avx2.vcxproj",
"new_path": "Source/VS2019/astcenc-avx2.vcxproj",
"diff": "<WarningLevel>Level3</WarningLevel>\n<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>\n<LanguageStandard>stdcpp14</LanguageStandard>\n+ <TreatWarnin... | C | Apache License 2.0 | arm-software/astc-encoder | Enable -Werror on Windows builds |
61,745 | 12.07.2020 22:27:48 | -3,600 | 74f1fd88013039530bdfafd2b34b232a9e83bb4f | Write up codec API doxygen | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "*\n* This interface is the entry point to the core astcenc codec. It aims to be\n* easy to use for non-experts, but also to allow experts to have fine control\n- * over the compressor heuristics. The ... | C | Apache License 2.0 | arm-software/astc-encoder | Write up codec API doxygen |
61,745 | 13.07.2020 20:58:58 | -3,600 | d725f6e422ea878683c04e465b00aa5472b07ebb | Remove "a" from ETC1 coding swizzle | [
{
"change_type": "MODIFY",
"old_path": "Docs/Encoding.md",
"new_path": "Docs/Encoding.md",
"diff": "@@ -103,13 +103,13 @@ use today.\n| BC1 | `rgba` <sup>1</sup> | `.rgba` | |\n| BC3 | `rgba` | `.rgba` | |\n| BC3nm | `gggr` | `.ag` | |\n-| BC4 | `rrr1` | `.r1` | |\n+| BC4 | `rrr1` | `.r` | |\n| BC5 ... | C | Apache License 2.0 | arm-software/astc-encoder | Remove "a" from ETC1 coding swizzle |
61,745 | 13.07.2020 21:00:05 | -3,600 | 7e066cf898f2a22d0c0811a6ae18beda9406de57 | Add "a" read swizzle to ETC2 | [
{
"change_type": "MODIFY",
"old_path": "Docs/Encoding.md",
"new_path": "Docs/Encoding.md",
"diff": "@@ -110,7 +110,7 @@ use today.\n| EAC_R11 | `rrr1` | `.r` | |\n| EAC_RG11 | `rrrg` | `.ra` <sup>2</sup> | |\n| ETC1 | `rgb1` | `.rgb` | |\n-| ETC2 | `rgba` <sup>1</sup> | `.rgb` | |\n+| ETC2 | `rgba` ... | C | Apache License 2.0 | arm-software/astc-encoder | Add "a" read swizzle to ETC2 |
61,745 | 14.07.2020 12:53:29 | -3,600 | b58054274d950b4e075a9aa1954cfc5398e4bfee | Allow RadianceHDR as decompressed output | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_image_load_store.cpp",
"new_path": "Source/astcenccli_image_load_store.cpp",
"diff": "@@ -160,6 +160,17 @@ static int store_bmp_image_with_stb(\nreturn (res == 0) ? -1 : 4;\n}\n+static int store_hdr_image_with_stb(\n+ const astcenc_image* img... | C | Apache License 2.0 | arm-software/astc-encoder | Allow RadianceHDR as decompressed output |
61,745 | 16.07.2020 22:44:26 | -3,600 | 94b74af584a11884d47dc03c2a3a462be325fddc | Clean up directory name for test images | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image_dl.py",
"new_path": "Test/astc_test_image_dl.py",
"diff": "@@ -59,7 +59,7 @@ def retrieve_kodak_set():\ntestSet = \"Kodak\"\nfor i in range(1, 25):\nfle = \"ldr-rgb-kodak%02u.png\" % i\n- dst = os.path.join(TEST_IMAGE_DIR, \"Kodak_Images\"... | C | Apache License 2.0 | arm-software/astc-encoder | Clean up directory name for test images |
61,745 | 16.07.2020 22:45:56 | -3,600 | cb93cf726d9e2eef41c3b679ccb44bdd4bac0259 | Make batchbuild should forward CXX and DBG | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -159,10 +159,10 @@ clean:\n@echo \"[Clean] Removing $(VEC) build outputs\"\nbatchbuild:\n- @+$(MAKE) -s VEC=nointrin\n- @+$(MAKE) -s VEC=sse2\n- @+$(MAKE) -s VEC=sse4.2\n- @+$(MAKE) -s VEC=avx2\n+ @+... | C | Apache License 2.0 | arm-software/astc-encoder | Make batchbuild should forward CXX and DBG |
61,745 | 16.07.2020 22:49:49 | -3,600 | 5030ae517dfadd41eda53da18a3d1c334e720d6a | Alllocate scratch buffers when context allocated | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -489,6 +489,9 @@ astcenc_error astcenc_context_alloc(\nbsd = new block_size_descriptor;\ninit_block_size_descriptor(config.block_x, config.block_y, config.block_z, bsd);\nctx->bsd =... | C | Apache License 2.0 | arm-software/astc-encoder | Alllocate scratch buffers when context allocated |
61,745 | 16.07.2020 23:22:26 | -3,600 | 1a2a73a3de6c668354233ce5e7f4344323a54745 | Add documentation on recommend channel swizzles | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "* the following config settings:\n*\n* max(config.v_rgba_radius, config.a_scale_radius)\n+ *\n+ * Common compressor usage\n+ * =======================\n+ *\n+ * One of the most important things for co... | C | Apache License 2.0 | arm-software/astc-encoder | Add documentation on recommend channel swizzles |
61,745 | 18.07.2020 22:03:14 | -3,600 | c0e4c83f7d5c1b3d275ef3378c8a4df673b5fed7 | Finalize 2.0 build types and Jenkins builds | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -11,6 +11,7 @@ Source/astcenc-*\nSource/astcenc-*\nSource/VS2019/*Release\nSource/VS2019/*Debug\n+Source/VS2019/*.exe\nTest/DocOut\nTest/Images/Kodak\nTest/Images/Scratch*\n"
},
{
"change_type": "MODIF... | C | Apache License 2.0 | arm-software/astc-encoder | Finalize 2.0 build types and Jenkins builds |
61,745 | 18.07.2020 22:45:11 | -3,600 | 8e5f09a5850630bb8c98c434d5bbf3d96b35e926 | Don't use CLI header from core codec. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_platform_isa_detection.cpp",
"new_path": "Source/astcenc_platform_isa_detection.cpp",
"diff": "* This module contains functions for querying the host extended ISA support.\n*/\n-#include \"astcenccli_internal.h\"\n+#include \"astcenc_internal.h\... | C | Apache License 2.0 | arm-software/astc-encoder | Don't use CLI header from core codec. |
61,745 | 18.07.2020 22:58:55 | -3,600 | 26ceed42f593dea62b23f3c9db9f6c97ee058b53 | Added image clarifications to API header | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "* point inputs (passed in via the data16 pointer). The unused pointer should\n* be set to nullptr.\n*\n+ * Images can be any dimension; there is no requirement for them to be a\n+ * multiple of the AS... | C | Apache License 2.0 | arm-software/astc-encoder | Added image clarifications to API header |
61,745 | 18.07.2020 23:02:08 | -3,600 | e16ec01a7433bb3efabf8c01dbc6bb3eea6d9835 | Standardize on noun_verb for API function names | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "*\n* // Configure the compressor run\n* astcenc_config my_config;\n- * astcenc_init_config(..., &my_config);\n+ * astcenc_config_init(..., &my_config);\n*\n* // Power users can tune the tweak <my_conf... | C | Apache License 2.0 | arm-software/astc-encoder | Standardize on noun_verb for API function names |
61,745 | 18.07.2020 23:14:01 | -3,600 | 4e65e0278e16c81036b411741ab1d5f8d9a49f07 | Don't use worker threads for -j 1 runs. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel.cpp",
"new_path": "Source/astcenccli_toplevel.cpp",
"diff": "@@ -1074,7 +1074,18 @@ int main(\nwork.data_len = buffer_size;\nwork.error = ASTCENC_SUCCESS;\n+ // Only launch worker threads for multi-threaded use - it makes basic\n+ //... | C | Apache License 2.0 | arm-software/astc-encoder | Don't use worker threads for -j 1 runs. |
61,745 | 19.07.2020 15:35:33 | -3,600 | 42f552e50eaa0feebb09dbafeea8118cafb5f82c | Add support for decompression-only contexts | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "@@ -150,7 +150,7 @@ struct astcenc_context;\nenum astcenc_error {\n/** @brief The call was successful. */\nASTCENC_SUCCESS = 0,\n- /** @brief The call failed due to low memory. */\n+ /** @brief The ca... | C | Apache License 2.0 | arm-software/astc-encoder | Add support for decompression-only contexts |
61,745 | 21.07.2020 08:39:46 | -3,600 | e0ed7be3b2fe36bbfb402adc6bec22fdae0c714c | Support Arm arch64 builds
Fixes | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -28,9 +28,10 @@ APP ?= astcenc\n# Configure the SIMD ISA and intrinsics support; valid values are:\n#\n-# * sse2 - allow use of sse2\n-# * sse4.2 - allow use of sse4.2 and popcnt\n-# * avx2 - allow u... | C | Apache License 2.0 | arm-software/astc-encoder | Support Arm arch64 builds
Fixes #137 |
61,745 | 21.07.2020 09:05:52 | -3,600 | aaab148f6156df647469f6b76fee0b95f11eddd8 | Remove exceptions from core library
Note that stdlib can still throw them, as we are e.g. not using new(nothrow). | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -200,11 +200,13 @@ clean:\n@echo \"[Clean] Removing $(VEC) build outputs\"\nbatchbuild:\n+ # NEON is deliberately not here - needs a different CXX setting\n@+$(MAKE) -s VEC=sse2\n@+$(MAKE) -s VEC=sse... | C | Apache License 2.0 | arm-software/astc-encoder | Remove exceptions from core library
Note that stdlib can still throw them, as we are e.g. not using new(nothrow). |
61,745 | 21.07.2020 09:29:53 | -3,600 | 979ebe47545d38f3aa9f65647b4841696745b961 | Add vec alignment defines to Windows builds | [
{
"change_type": "MODIFY",
"old_path": "Source/VS2019/astcenc-avx2.vcxproj",
"new_path": "Source/VS2019/astcenc-avx2.vcxproj",
"diff": "<ClCompile>\n<Optimization>Disabled</Optimization>\n<AdditionalIncludeDirectories>$(ProjectDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\n- <P... | C | Apache License 2.0 | arm-software/astc-encoder | Add vec alignment defines to Windows builds |
61,745 | 22.07.2020 08:35:33 | -3,600 | afe84b8cdd50a1e03fbc1ad6dc48133158377dd6 | Skip key-value pairs in compresed KTX files | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_image_load_store.cpp",
"new_path": "Source/astcenccli_image_load_store.cpp",
"diff": "@@ -1079,12 +1079,13 @@ bool load_ktx_compressed_image(\nsize_t actual = fread(&hdr, 1, sizeof(hdr), f);\nif (actual != sizeof(hdr))\n{\n- printf(\"Failed t... | C | Apache License 2.0 | arm-software/astc-encoder | Skip key-value pairs in compresed KTX files |
61,745 | 27.07.2020 10:33:07 | -3,600 | 88825d337b5732e84fd0323dc8e69e616634b6d5 | Avoid __builtin_cpu_supports for Ubunutu 16.04 compat
This commit replaces __builtin_cpu_supports() with manual cpuid
queries due to an issue with the default compiler on Ubuntu
16.04 when building shared objects. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_platform_isa_detection.cpp",
"new_path": "Source/astcenc_platform_isa_detection.cpp",
"diff": "@@ -42,6 +42,8 @@ static void detect_cpu_isa()\n__cpuid(data, 0);\nint num_id = data[0];\n+ g_cpu_has_sse42 = 0;\n+ g_cpu_has_popcnt = 0;\nif (num_id ... | C | Apache License 2.0 | arm-software/astc-encoder | Avoid __builtin_cpu_supports for Ubunutu 16.04 compat
This commit replaces __builtin_cpu_supports() with manual cpuid
queries due to an issue with the default compiler on Ubuntu
16.04 when building shared objects. |
61,745 | 27.07.2020 10:40:35 | -3,600 | 0d5c61de83ef427f0e980d469178573ec7dcc47e | Brace on newline changes | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_platform_isa_detection.cpp",
"new_path": "Source/astcenc_platform_isa_detection.cpp",
"diff": "@@ -54,7 +54,8 @@ static void detect_cpu_isa()\n}\ng_cpu_has_avx2 = 0;\n- if (num_id >= 7) {\n+ if (num_id >= 7)\n+ {\n__cpuidex(data, 7, 0);\n// AVX2... | C | Apache License 2.0 | arm-software/astc-encoder | Brace on newline changes |
61,745 | 27.07.2020 14:56:47 | -3,600 | b56ab3680d7bf2ba8754ed6edf723520bf59789c | Add notes on 2.x series binaries | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -68,10 +68,27 @@ options ranging from 0.89 bits/pixel up to 8 bits/pixel.\n# Prebuilt binaries\n-Prebuilt release build binaries of `astcenc` for 64-bit Linux, macOS, and\n-Windows are available in the\n+Release... | C | Apache License 2.0 | arm-software/astc-encoder | Add notes on 2.x series binaries |
61,745 | 07.08.2020 22:05:23 | -3,600 | acd27bf1577892ca0c17bf2236d1884d8b39e8c1 | Update README.md for 2.0 release | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -25,17 +25,6 @@ This project is licensed under the Apache 2.0 license. By downloading any\ncomponent from this repository you acknowledge that you accept terms specified\nin the [LICENSE.txt](LICENSE.txt) file.\... | C | Apache License 2.0 | arm-software/astc-encoder | Update README.md for 2.0 release |
61,745 | 06.09.2020 22:05:26 | -3,600 | 9ab7d2cf16f5af717dca6a6162324e6c0cd8db7a | Add new RGBA images to generated test set | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -14,6 +14,7 @@ Source/VS2019/*Debug\nSource/VS2019/*.exe\nTest/DocOut\nTest/Images/Kodak\n+Test/Images/KodakSim\nTest/Images/Scratch*\nTestOutput\nDocs/LibraryInterface.md\n"
},
{
"change_type": "MODIF... | C | Apache License 2.0 | arm-software/astc-encoder | Add new RGBA images to generated test set |
61,745 | 06.09.2020 22:38:38 | -3,600 | 5fe9295d1144e52c341e87061a07333b36ca19d0 | Add summary perforamnce reports to test runs | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image.py",
"new_path": "Test/astc_test_image.py",
"diff": "@@ -224,6 +224,11 @@ def run_test_set(encoder, testRef, testSet, blockSizes, testRuns):\nif testRef:\nrefResult = testRef.get_matching_record(res)\nres.set_status(determine_result(image,... | C | Apache License 2.0 | arm-software/astc-encoder | Add summary perforamnce reports to test runs |
61,745 | 07.09.2020 00:05:04 | -3,600 | b8db423556f4c2c5537da126ccf723b68e4ef4ca | Updated Khronos image references for 2.0 | [
{
"change_type": "MODIFY",
"old_path": "Test/Images/Khronos/astc_reference-2.0-avx2_results.csv",
"new_path": "Test/Images/Khronos/astc_reference-2.0-avx2_results.csv",
"diff": "Image Set,Block Size,Name,PSNR,Total Time,Coding Time\n-Khronos,4x4,ldr-l-occlusion.png,70.86035,0.410,0.310\n-Khronos,4x4... | C | Apache License 2.0 | arm-software/astc-encoder | Updated Khronos image references for 2.0 |
61,745 | 07.09.2020 00:07:09 | -3,600 | 330cdf5d10f6993ec71d03e693ea58f493553892 | Remove initital fast pass for 1 partition 1 plane
The optimization rarely triggers outside of synthetic test content, and costs real content 1-2% performance. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -1231,23 +1231,12 @@ float compress_symbolic_block(\nfloat mode_cutoff = ctx.config.tune_block_mode_limit / 100.0f;\n- // next, test mode #0. This mode uses ... | C | Apache License 2.0 | arm-software/astc-encoder | Remove initital fast pass for 1 partition 1 plane
The optimization rarely triggers outside of synthetic test content, and costs real content 1-2% performance. |
61,745 | 07.09.2020 00:10:08 | -3,600 | ce20204e1826ef9ddae26ad44dbfef052f31b1ef | Explicit braces | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -1270,7 +1270,9 @@ float compress_symbolic_block(\nprepare_block_statistics(bsd->texel_count, blk, ewb, &is_normal_map, &lowest_correl);\nif (is_normal_map &... | C | Apache License 2.0 | arm-software/astc-encoder | Explicit braces |
61,745 | 10.09.2020 08:59:36 | -3,600 | aaee2df30fa31a58a30b9405c96b0d4fdbc6b3cc | Avoid 1 partition 1 plane early-out for small blocks
The optimization is actually actually a de-optimization for both performance and image quality for 4x4 and 5x4 blocks. This PR changes it to be conditional based on current block size. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -1231,9 +1231,13 @@ float compress_symbolic_block(\nfloat mode_cutoff = ctx.config.tune_block_mode_limit / 100.0f;\n- // next, test mode #0. This mode uses 1... | C | Apache License 2.0 | arm-software/astc-encoder | Avoid 1 partition 1 plane early-out for small blocks (#149)
The optimization is actually actually a de-optimization for both performance and image quality for 4x4 and 5x4 blocks. This PR changes it to be conditional based on current block size. |
61,745 | 10.09.2020 10:21:09 | -3,600 | 753afe02c78c6e32165120c45aa0116b2c1e0d82 | Switch to new Docker image | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Dockerfile",
"new_path": "jenkins/build.Dockerfile",
"diff": "FROM ubuntu:18.04\n-LABEL build.environment.version=\"1.0.0\"\n+LABEL build.environment.version=\"2.0.0\"\nRUN useradd -u 1001 -U -m -c Jenkins jenkins\n"
},
{
"change_type": "... | C | Apache License 2.0 | arm-software/astc-encoder | Switch to new Docker image |
61,745 | 11.09.2020 10:37:26 | -3,600 | f07c43108b1baa4a5bac613c35c01a5402a8651c | Refactor find_best_partitionings()
We now only ever use a single result from this function, so we can refactor to track the single best result as we go along instead of storing all results in an array that gets scanned after-the-fact. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -1356,8 +1356,8 @@ float compress_symbolic_block(\nint partition_indices_1plane[2];\nint partition_index_2planes;\n- find_best_partitionings(ctx.config.tune_... | C | Apache License 2.0 | arm-software/astc-encoder | Refactor find_best_partitionings() (#150)
We now only ever use a single result from this function, so we can refactor to track the single best result as we go along instead of storing all results in an array that gets scanned after-the-fact. |
61,745 | 15.09.2020 21:01:38 | -3,600 | 8838bf67c30106dd18f0f46989ce188e3fd2432f | Fix missing merge on report utility | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_result_report.py",
"new_path": "Test/astc_test_result_report.py",
"diff": "@@ -235,9 +235,9 @@ def print_result_set(imageSet, quality, encoders, results, printHeader):\ndr = DeltaRecord(imageSet, quality, encoders, recordSet)\n- if first:\n+ if ... | C | Apache License 2.0 | arm-software/astc-encoder | Fix missing merge on report utility (#153) |
61,745 | 18.09.2020 22:37:10 | -3,600 | c19a125f5c1cfbcca184ab250b37badcb4698d7e | Fix two component normal unpack documentation | [
{
"change_type": "MODIFY",
"old_path": "Docs/Encoding.md",
"new_path": "Docs/Encoding.md",
"diff": "@@ -159,9 +159,10 @@ To encode this we therefore want to store two input channels and should\ntherefore use the `rrrg` coding swizzle, and the `.ga` sampling swizzle. The\nOpenGL ES shader code for re... | C | Apache License 2.0 | arm-software/astc-encoder | Fix two component normal unpack documentation (#154) |
61,745 | 18.09.2020 22:41:37 | -3,600 | 8607fdb591046e41299cbbceea3a9cb02048bf1b | Omit float literal qualifier in shader code sample | [
{
"change_type": "MODIFY",
"old_path": "Docs/Encoding.md",
"new_path": "Docs/Encoding.md",
"diff": "@@ -161,7 +161,7 @@ OpenGL ES shader code for reconstruction of the Z value is:\nvec3 nml;\nnml.xy = texture(...).ga; // Load normals (range 0 to 1)\n- nml.xy = nml.xy * 2.0f - 1.0f; // Unpack normals... | C | Apache License 2.0 | arm-software/astc-encoder | Omit float literal qualifier in shader code sample |
61,750 | 23.09.2020 15:50:14 | -3,600 | 478df21c62c0fb8b8e18e4226a16ced0e2935aeb | Remove Artifactory promote | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "@@ -177,7 +177,6 @@ pipeline {\nsteps {\nzip zipFile: 'astcenc.zip', dir: 'upload', archive: false\ncepeArtifactoryUpload(sourcePattern: '*.zip')\n- cepeArtifactoryPromote()\n}\n}\n}... | C | Apache License 2.0 | arm-software/astc-encoder | QE-2134: Remove Artifactory promote (#156) |
61,745 | 25.09.2020 21:39:47 | -3,600 | 3a1fea973f17c2db4a8f775d6ec40b2ef6185792 | Append to CXX flags | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -97,9 +97,11 @@ OBJECTS = $(SOURCES:.cpp=-$(BINARY).o)\nEXTERNAL_OBJECTS = $(EXTERNAL_SOURCES:.h=-$(BINARY).o)\n# ==================================================\n-# CXXFLAGS setup (and input vali... | C | Apache License 2.0 | arm-software/astc-encoder | Append to CXX flags (#157) |
61,745 | 25.09.2020 23:33:31 | -3,600 | d38f6a509d6ca74598087e8a8f91f22d07a85293 | Add in-tree fuzz target proof-of-concept
Add in-tree fuzz target proof-of-concept for oss-fuzz | [
{
"change_type": "MODIFY",
"old_path": ".gitattributes",
"new_path": ".gitattributes",
"diff": "# Explicitly declare text file types for this repo\n*.c text\n-*.pp text\n+*.cpp text\n*.h text\n*.md text\nJenkinsfile text\n-# VS solution always use Windows line endings\n+# VS solutions always use Win... | C | Apache License 2.0 | arm-software/astc-encoder | Add in-tree fuzz target proof-of-concept (#158)
Add in-tree fuzz target proof-of-concept for oss-fuzz |
61,750 | 05.10.2020 15:45:38 | -3,600 | dc715f12a1dbcc75ae1cf5dc1d4d4e255ba91d05 | Update Jenkins shared libs for Artifactory Housekeeping job | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "-@Library('hive-infra-library@changes/18/246018/1') _\n+@Library('hive-infra-library@changes/91/265891/1') _\npipeline {\nagent none\n"
},
{
"change_type": "MODIFY",
"old... | C | Apache License 2.0 | arm-software/astc-encoder | QE-2141: Update Jenkins shared libs for Artifactory Housekeeping job (#159) |
61,745 | 06.10.2020 22:46:52 | -3,600 | 6174fc8761bc671816caf6ef8dc279f09271d3fa | Cleanup sym_to_phy and phy_to_sym
Pass by reference for singular values (mostly so we
can distinguish singletons and arrays in code reviews).
Pass PCB by ref rather than relying on write elision.
Add some missing statics for module local functions | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -1204,6 +1204,9 @@ void compress_symbolic_block(\nscb->constant_color[3] = astc::flt2int_rtn(alpha * 65535.0f);\n}\n+ physical_compressed_block pcb;\n+ symbo... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup sym_to_phy and phy_to_sym
- Pass by reference for singular values (mostly so we
can distinguish singletons and arrays in code reviews).
- Pass PCB by ref rather than relying on write elision.
- Add some missing statics for module local functions |
61,745 | 06.10.2020 23:09:23 | -3,600 | 226a6418614b74dbabc0ea7795d9c9ea41f02504 | Avoid sym->phy->sym->phy on compression
compress_symbolic_block renamed to compress_block
function now returns both sym and phy in one pass | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -1140,15 +1140,17 @@ static void prepare_block_statistics(\n*is_normal_map = nf_sum < (0.2f * (float)texels_per_block);\n}\n-void compress_symbolic_block(\n+... | C | Apache License 2.0 | arm-software/astc-encoder | Avoid sym->phy->sym->phy on compression
- compress_symbolic_block renamed to compress_block
- function now returns both sym and phy in one pass |
61,745 | 07.10.2020 23:27:04 | -3,600 | ab16aaabe4402361a12c7553c817519ed65fc31e | Implement support for F32 as core API channel type
Code to use this for HDR images is also implemented for the CLI
wrapper, but currently the HDR functionality in the wrapper is
still routed though FP16. Local testing indicates that this works
as expected. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compute_variance.cpp",
"new_path": "Source/astcenc_compute_variance.cpp",
"diff": "@@ -216,9 +216,8 @@ static void compute_pixel_region_variance(\n}\n}\n}\n- else //if (img->data_type == ASTCENC_TYPE_F16)\n+ else if (img->data_type == ASTCENC_TY... | C | Apache License 2.0 | arm-software/astc-encoder | Implement support for F32 as core API channel type
Code to use this for HDR images is also implemented for the CLI
wrapper, but currently the HDR functionality in the wrapper is
still routed though FP16. Local testing indicates that this works
as expected. |
61,745 | 16.10.2020 23:26:32 | -3,600 | 43020621728ece5f3eec4c2cb2218d72144c546a | Update fuzz test to new API | [
{
"change_type": "MODIFY",
"old_path": "Source/Fuzzers/fuzz_astc_physical_to_symbolic.cpp",
"new_path": "Source/Fuzzers/fuzz_astc_physical_to_symbolic.cpp",
"diff": "@@ -88,7 +88,6 @@ extern \"C\" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)\n// Select a block size to test\nint i = s... | C | Apache License 2.0 | arm-software/astc-encoder | Update fuzz test to new API |
61,745 | 24.10.2020 23:03:23 | -3,600 | 59cc114e374434ad7a6e24cd7f8fcaccdb5676a1 | Bugfix for HDR file loading | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_image.cpp",
"new_path": "Source/astcenccli_image.cpp",
"diff": "@@ -333,6 +333,7 @@ astcenc_image* astc_img_from_floatx4_array(\nfor (unsigned int y = 0; y < dim_y; y++)\n{\n+#if 0\nfloat*** data32 = static_cast<float***>(img->data);\nunsigne... | C | Apache License 2.0 | arm-software/astc-encoder | Bugfix for HDR file loading |
61,745 | 25.10.2020 19:56:52 | 0 | e5d83ecdf1a4433810530af5140ad9eb7d4ca3ab | Fix SSE2 builds where min/max_epi32 is not available | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -85,6 +85,7 @@ HEADERS = \\\nastcenc.h \\\nastcenc_internal.h \\\nastcenc_mathlib.h \\\n+ astcenc_vecmathlib.h \\\nastcenccli_internal.h \\\nstb_image.h \\\nstb_image_write.h \\\n"
},
{
"chan... | C | Apache License 2.0 | arm-software/astc-encoder | Fix SSE2 builds where min/max_epi32 is not available |
61,745 | 26.10.2020 21:21:25 | 0 | 5b31f3a7c53bbe63d8aef81412a78f4995cd47fb | Add test ref support for SSE2 and 4.2 builds | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image.py",
"new_path": "Test/astc_test_image.py",
"diff": "@@ -249,11 +249,35 @@ def get_encoder_params(encoderName, referenceName, imageSet):\nname = \"reference-1.7\"\noutDir = \"Test/Images/%s\" % imageSet\nrefName = None\n+ elif encoderName ... | C | Apache License 2.0 | arm-software/astc-encoder | Add test ref support for SSE2 and 4.2 builds |
61,745 | 26.10.2020 23:16:14 | 0 | 6a26d11603a8ef2eee3b6de3fbea95a423765858 | Add intrinsic path for SSE 4.2 dot product | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_mathlib.h",
"new_path": "Source/astcenc_mathlib.h",
"diff": "@@ -454,7 +454,7 @@ public:\n}\n};\n-template <typename T> class vtype4\n+template <typename T> class alignas(16) vtype4\n{\npublic:\nT x, y, z, w;\n@@ -509,7 +509,16 @@ static inline ... | C | Apache License 2.0 | arm-software/astc-encoder | Add intrinsic path for SSE 4.2 dot product |
61,748 | 27.10.2020 17:27:50 | -7,200 | 5eb1d7bd1d0f87efe7cd3f478f0cd241688a6cad | Vectorize compute_angular_offsets and atan2
Vectorize compute_angular_offsets and atan2 using new maths library
Update angular steps table so AVX2 and SSE now actually return identical results | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib.h",
"new_path": "Source/astcenc_vecmathlib.h",
"diff": "@@ -130,6 +130,7 @@ SIMD_INLINE vfloat loada(const float* p) { return vfloat(_mm256_load_ps(p)); }\nSIMD_INLINE vfloat operator+ (vfloat a, vfloat b) { a.m = _mm256_add_ps(a.m, b... | C | Apache License 2.0 | arm-software/astc-encoder | Vectorize compute_angular_offsets and atan2 (#168)
Vectorize compute_angular_offsets and atan2 using new maths library
Update angular steps table so AVX2 and SSE now actually return identical results |
61,745 | 27.10.2020 19:19:35 | 0 | cefe2406ac6b2997330b2eee86d8c3054a7e345c | Add missing header which trips some compilers | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_weight_align.cpp",
"new_path": "Source/astcenc_weight_align.cpp",
"diff": "#include <stdio.h>\n#include <cassert>\n+#include <cstring>\n#if ASTCENC_SIMD_WIDTH <= 4\n#define ANGULAR_STEPS 44\n@@ -138,8 +139,8 @@ static void compute_angular_offset... | C | Apache License 2.0 | arm-software/astc-encoder | Add missing header which trips some compilers |
61,745 | 27.10.2020 21:53:32 | 0 | 7a57e172104946c1d8bc01a9ab69d990f6dcd7ad | Suppress nodebug attribute warnings on gcc builds | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib.h",
"new_path": "Source/astcenc_vecmathlib.h",
"diff": "// ----------------------------------------------------------------------------\n/*\n- * This module implements N-wide float and integer vectors and common\n- * operations on the... | C | Apache License 2.0 | arm-software/astc-encoder | Suppress nodebug attribute warnings on gcc builds |
61,745 | 27.10.2020 22:46:01 | 0 | 1a16847b3b541a8fb8951e2714fce70493abd1ab | Have a single definition of PI | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_mathlib.cpp",
"new_path": "Source/astcenc_mathlib.cpp",
"diff": "@@ -64,21 +64,18 @@ float astc::atan2(\nfloat y,\nfloat x\n) {\n- const float PI = (float)M_PI;\n- const float PI_2 = PI / 2.0f;\n-\n// Handle the discontinuity at x == 0\nif (x ==... | C | Apache License 2.0 | arm-software/astc-encoder | Have a single definition of PI |
61,745 | 28.10.2020 12:01:08 | 0 | 3652bd0c4849a5cf0cd2c7f5b6decb4f3fcb1a92 | Use alternative intrinsic encodings
Use some intrinsics sequences which are compatible with
older compilers (which miss some of the convenience
encodings for the same underlying instruction). More ugly,
but now works with GCC 7 and Clang 7. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib.h",
"new_path": "Source/astcenc_vecmathlib.h",
"diff": "@@ -231,7 +231,13 @@ SIMD_INLINE vfloat hmin(vfloat v)\nshuf = _mm_movehl_ps(shuf, mins); // [ C D | D+C C+D ]\nmins = _mm_min_ss(mins, shuf);\n- vfloat vmin(_mm256_permute_ps(_m... | C | Apache License 2.0 | arm-software/astc-encoder | Use alternative intrinsic encodings
Use some intrinsics sequences which are compatible with
older compilers (which miss some of the convenience
encodings for the same underlying instruction). More ugly,
but now works with GCC 7 and Clang 7. |
61,745 | 28.10.2020 18:54:02 | 0 | f8b4c0627b4c3e9a904ae4adf9d4ace8c7f63395 | Allow some more wiggle in PSNR outside of master box | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image.py",
"new_path": "Test/astc_test_image.py",
"diff": "@@ -34,16 +34,25 @@ Attributes:\nimport argparse\nimport os\n+import platform\nimport sys\nimport testlib.encoder as te\nimport testlib.testset as tts\nimport testlib.resultset as trs\n-... | C | Apache License 2.0 | arm-software/astc-encoder | Allow some more wiggle in PSNR outside of master box |
61,745 | 28.10.2020 22:02:07 | 0 | d8012132d7ed27a500226185247c65c8a12cbd5d | Add float4 sqrt implementation | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_find_best_partitioning.cpp",
"new_path": "Source/astcenc_find_best_partitioning.cpp",
"diff": "@@ -209,10 +209,7 @@ void compute_partition_error_color_weightings(\nfor (int i = 0; i < pcnt; i++)\n{\n- color_scalefactors[i].x = astc::sqrt(error_w... | C | Apache License 2.0 | arm-software/astc-encoder | Add float4 sqrt implementation |
61,745 | 29.10.2020 08:12:20 | 0 | 97c1d83c735267a98788dc06bd97fa8c28892a1b | Remove old atan2 implementation | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_mathlib.cpp",
"new_path": "Source/astcenc_mathlib.cpp",
"diff": "@@ -59,57 +59,6 @@ float astc::log2(float val)\nreturn res;\n}\n-/* Public function, see header file for detailed documentation */\n-float astc::atan2(\n- float y,\n- float x\n-) {... | C | Apache License 2.0 | arm-software/astc-encoder | Remove old atan2 implementation |
61,748 | 29.10.2020 15:40:39 | -7,200 | 46fabaa19e5d7b5c8d74aa7f7bf510fd5d6d8e43 | Densely pack valid block weight modes
Densely pack valid block weight modes, since only a small subset of the 2048 are valid. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes2.cpp",
"new_path": "Source/astcenc_block_sizes2.cpp",
"diff": "@@ -659,12 +659,12 @@ static void construct_block_size_descriptor_2d(\n#endif\n// then construct the list of block formats\n- for (int i = 0; i < 2048; i++)\n+ int packed... | C | Apache License 2.0 | arm-software/astc-encoder | Densely pack valid block weight modes (#169)
Densely pack valid block weight modes, since only a small subset of the 2048 are valid. |
61,745 | 29.10.2020 20:16:33 | 0 | c0b1f0e4b5da5256313c19fc030982832f408f31 | Add utility to wrap Valgrind | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Test/astc_profile_valgrind.py",
"diff": "+#!/usr/bin/env python3\n+# SPDX-License-Identifier: Apache-2.0\n+# -----------------------------------------------------------------------------\n+# Copyright 2020 Arm Limited\n+#\n+# Licensed under the ... | C | Apache License 2.0 | arm-software/astc-encoder | Add utility to wrap Valgrind |
61,745 | 30.10.2020 13:58:11 | 0 | 3f62b18667e7d57bbe20ce791630681c648a366c | Fix -*h and -*H inversion | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel.cpp",
"new_path": "Source/astcenccli_toplevel.cpp",
"diff": "@@ -81,12 +81,12 @@ static const mode_entry modes[] = {\n{\"-cs\", ASTCENC_OP_COMPRESS, ASTCENC_PRF_LDR_SRGB},\n{\"-ds\", ASTCENC_OP_DECOMPRESS, ASTCENC_PRF_LDR_SRGB},\n{\"... | C | Apache License 2.0 | arm-software/astc-encoder | Fix -*h and -*H inversion |
61,745 | 30.10.2020 21:56:01 | 0 | 2270e5a2fae38a5f25a3fe22ac396d648213b2a1 | Remove heuristic for three channel normals
This heuristic has a high false-positive hit rate and slows down
which slows down compression for non-normals. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -1043,12 +1043,10 @@ static float prepare_error_weight_block(\nreturn dot(error_weight_sum, float4(1.0f, 1.0f, 1.0f, 1.0f));\n}\n-static void prepare_block_s... | C | Apache License 2.0 | arm-software/astc-encoder | Remove heuristic for three channel normals
This heuristic has a high false-positive hit rate and slows down
which slows down compression for non-normals. |
61,745 | 31.10.2020 01:23:16 | 0 | bc89d7885ec722e59c739b7359cc74e41be51c24 | Make the number of trial candidates tunable
Set the TUNE_TRIAL_CANDIDATES value in the astcenc_internal.h header to
tune the number of candidates tested for each block mode.
Reduce the count from 4 to 2, which costs ~0.05dB, but gains 6-12%
performance across all images. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -351,16 +351,16 @@ static void compress_symbolic_block_fixed_partition_1_plane(\n// for each weighting mode, determine the optimal combination of color endpo... | C | Apache License 2.0 | arm-software/astc-encoder | Make the number of trial candidates tunable
Set the TUNE_TRIAL_CANDIDATES value in the astcenc_internal.h header to
tune the number of candidates tested for each block mode.
Reduce the count from 4 to 2, which costs ~0.05dB, but gains 6-12%
performance across all images. |
61,745 | 31.10.2020 15:48:18 | 0 | 99d0f68db6dd4b7831026b7d77bcec6d419a12c3 | Expose candidate limit as power user CLI option | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "@@ -433,6 +433,13 @@ struct astcenc_config {\n*/\nunsigned int tune_refinement_limit;\n+ /**\n+ * @brief The number of trial candidates per mode search (-candidatelimit).\n+ *\n+ * Valid values are be... | C | Apache License 2.0 | arm-software/astc-encoder | Expose candidate limit as power user CLI option |
61,745 | 31.10.2020 16:10:19 | 0 | 91a185f55cad03068c01c38284e7cd2ccfb1cbb7 | Readd a low quality -fastest preset | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "@@ -212,13 +212,15 @@ enum astcenc_profile {\n* @brief A codec quality preset.\n*/\nenum astcenc_preset {\n- /** @brief The fast, lowest quality, search preset. */\n- ASTCENC_PRE_FAST = 0,\n+ /** @bri... | C | Apache License 2.0 | arm-software/astc-encoder | Readd a low quality -fastest preset |
61,745 | 31.10.2020 16:43:28 | 0 | 0513fb9cfb789d791dc453e84439f7fd9338e7dc | Add -fastest to readme | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -36,7 +36,8 @@ dynamic range (BMP, PNG, TGA), high dynamic range (EXR, HDR), or DDS and KTX\nwrapped output images.\nThe encoder allows control over the compression time/quality tradeoff with\n-`exhaustive`, `th... | C | Apache License 2.0 | arm-software/astc-encoder | Add -fastest to readme |
61,745 | 31.10.2020 20:45:14 | 0 | 0379dc394cb0f627a3c0132ca1732b97cd7294dc | Add change log for 2.x series | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Docs/ChangeLog.md",
"diff": "+# 2.x series change log\n+\n+This page summarizes the major changes in each release of the 2.x series.\n+\n+## 2.1\n+\n+**Status:** :warning: In development (ETA November 2020)\n+\n+The 2.1 release is the second rel... | C | Apache License 2.0 | arm-software/astc-encoder | Add change log for 2.x series |
61,745 | 31.10.2020 21:22:32 | 0 | 738c7015eaba6f4246c5352e88717868f630abef | Allow null output file in test mode
In test mode, specifying "/dev/null" on Linux/macOS, or "NUL" or "nul"
on Windows, will cause the write of the output file to be omitted. This
can substantially improve test thoughput in cases where only the
PSNR metrics are required. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel.cpp",
"new_path": "Source/astcenccli_toplevel.cpp",
"diff": "@@ -1206,6 +1206,14 @@ int main(\nint store_result = -1;\nconst char *format_string = \"\";\n+#if defined(_WIN32)\n+ bool is_null = output_filename == \"NUL\" || output_fil... | C | Apache License 2.0 | arm-software/astc-encoder | Allow null output file in test mode
In test mode, specifying "/dev/null" on Linux/macOS, or "NUL" or "nul"
on Windows, will cause the write of the output file to be omitted. This
can substantially improve test thoughput in cases where only the
PSNR metrics are required. |
61,745 | 31.10.2020 21:53:11 | 0 | 4f365a44c54545f69f72dbffb143b5c99af8307e | Change perf suite to discard images by deafult | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image.py",
"new_path": "Test/astc_test_image.py",
"diff": "@@ -182,7 +182,8 @@ def format_result(image, reference, result):\n(name, tPSNR, tTTime, tCTime, tCMPS, result.name)\n-def run_test_set(encoder, testRef, testSet, quality, blockSizes, tes... | C | Apache License 2.0 | arm-software/astc-encoder | Change perf suite to discard images by deafult |
61,745 | 01.11.2020 11:19:56 | 0 | cca3648e060f793c6edc6451b19e364cb7f15888 | Add MT/s rate to metrics report | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_error_metrics.cpp",
"new_path": "Source/astcenccli_error_metrics.cpp",
"diff": "@@ -332,35 +332,35 @@ void compute_error_metrics(\nfloat rgb_psnr = psnr;\n- printf(\"Error metrics\\n\");\n- printf(\"=============\\n\\n\");\n+ printf(\"Quality... | C | Apache License 2.0 | arm-software/astc-encoder | Add MT/s rate to metrics report |
61,745 | 01.11.2020 12:01:32 | 0 | cbc24d1ec2d7acebb8e6e266aac562c93135db54 | Add parser for MT/s data to archive
Note rebuilding reference data for older encoders now needs a
modified encoder which emits a version 2.1 performance metric
field, so we get consistent data from all of them. | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image.py",
"new_path": "Test/astc_test_image.py",
"diff": "@@ -133,20 +133,14 @@ def format_solo_result(image, result):\nReturns:\nstr: The metrics string.\n\"\"\"\n- imSize = image.get_size()\n- if imSize:\n- mpix = float(imSize[0] * imSize[1])... | C | Apache License 2.0 | arm-software/astc-encoder | Add parser for MT/s data to archive
Note rebuilding reference data for older encoders now needs a
modified encoder which emits a version 2.1 performance metric
field, so we get consistent data from all of them. |
61,745 | 01.11.2020 12:44:27 | 0 | e543a8cf9fa1e72b573d7a65a5309e55de599e52 | Add more entries to 2.1 change log | [
{
"change_type": "MODIFY",
"old_path": "Docs/ChangeLog.md",
"new_path": "Docs/ChangeLog.md",
"diff": "@@ -22,6 +22,8 @@ of performance optimizations and new features.\navailable. This is a power-user control to determine how many candidates\nare returned for each block mode encoding trial. This feat... | C | Apache License 2.0 | arm-software/astc-encoder | Add more entries to 2.1 change log |
61,745 | 01.11.2020 12:47:07 | 0 | 7c597c20c005dfc8fd4cdacb25a89b49e63d6aaa | Set version number to 2.1 | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel_help.cpp",
"new_path": "Source/astcenccli_toplevel_help.cpp",
"diff": "#include \"astcenccli_internal.h\"\nconst char *astcenc_copyright_string =\n-R\"(ASTC codec v2.0.alpha, %u-bit %s%s\n+R\"(ASTC codec v2.1, %u-bit %s%s\nCopyright ... | C | Apache License 2.0 | arm-software/astc-encoder | Set version number to 2.1 |
61,745 | 01.11.2020 12:57:17 | 0 | aaf7dd3d8145d69b7b7c67179df52c18c3b8a4f9 | Add note on recompiles to ChangeLog | [
{
"change_type": "MODIFY",
"old_path": "Docs/ChangeLog.md",
"new_path": "Docs/ChangeLog.md",
"diff": "@@ -8,6 +8,11 @@ This page summarizes the major changes in each release of the 2.x series.\nThe 2.1 release is the second release in the 2.x series. It includes a number\nof performance optimization... | C | Apache License 2.0 | arm-software/astc-encoder | Add note on recompiles to ChangeLog |
61,745 | 03.11.2020 22:03:39 | 0 | 1eec122701e8f4d9a23e472bf8f9693595bd8929 | Add invariant build option. | [
{
"change_type": "MODIFY",
"old_path": "Docs/Building.md",
"new_path": "Docs/Building.md",
"diff": "@@ -80,3 +80,9 @@ non-optimized build (`-O0`) with symbols included (`-g`).\nFor easier profiling, add `BUILD=profile` to the Make command line. This will\nbuild a moderately optimized build (`-O2`) w... | C | Apache License 2.0 | arm-software/astc-encoder | Add invariant build option. |
61,745 | 03.11.2020 22:24:02 | 0 | 926611178b82746339052dba349f3768722dbd2d | Set default reference to 2.1 | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image.py",
"new_path": "Test/astc_test_image.py",
"diff": "@@ -333,7 +333,7 @@ def parse_command_line():\nparser.add_argument(\"--encoder\", dest=\"encoders\", default=\"avx2\",\nchoices=coders, help=\"test encoder variant\")\n- parser.add_argum... | C | Apache License 2.0 | arm-software/astc-encoder | Set default reference to 2.1 |
61,745 | 05.11.2020 10:27:11 | 0 | 19aab9c198766fbf07d422e8a9445b232b51dcaa | Fix fuzz test builds | [
{
"change_type": "MODIFY",
"old_path": "Source/Fuzzers/build.sh",
"new_path": "Source/Fuzzers/build.sh",
"diff": "@@ -27,7 +27,11 @@ ar -qc libastcenc.a *.o\n# Build project local fuzzers\nfor fuzzer in $SRC/astc-encoder/Source/Fuzzers/fuzz_*.cpp; do\n$CXX $CXXFLAGS \\\n- -DASTCENC_SSE=0 -DASTCENC_A... | C | Apache License 2.0 | arm-software/astc-encoder | Fix fuzz test builds |
61,745 | 05.11.2020 23:54:20 | 0 | 88d21e621dd19827830380159a13865e8eccc24e | Add callgrind_analyze to helper script | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_profile_valgrind.py",
"new_path": "Test/astc_profile_valgrind.py",
"diff": "@@ -29,9 +29,67 @@ Only runs on Linux and requires the following tools available on the PATH:\nimport argparse\nimport os\n+import re\nimport subprocess as sp\nimport sys\n+d... | C | Apache License 2.0 | arm-software/astc-encoder | Add callgrind_analyze to helper script |
61,745 | 08.11.2020 21:09:00 | 0 | c5eec302622f1269412dadbf51b1c856f0e81050 | Allow "nul" output for compressed images | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel.cpp",
"new_path": "Source/astcenccli_toplevel.cpp",
"diff": "@@ -1199,11 +1199,18 @@ int main(\n}\nelse\n{\n+#if defined(_WIN32)\n+ bool is_null = output_filename == \"NUL\" || output_filename == \"nul\";\n+#else\n+ bool is_null = ou... | C | Apache License 2.0 | arm-software/astc-encoder | Allow "nul" output for compressed images |
61,745 | 08.11.2020 21:09:29 | 0 | d9a152ec1e5a437411856e18c286d8a7f69f5766 | Report MT/s metrics for compress/decompress | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel.cpp",
"new_path": "Source/astcenccli_toplevel.cpp",
"diff": "@@ -1093,9 +1093,19 @@ int main(\ndouble start_coding_time = get_time();\n- double image_size = (double)image_uncomp_in->dim_x *\n+ double image_size = 0.0;\n+ if (image_un... | C | Apache License 2.0 | arm-software/astc-encoder | Report MT/s metrics for compress/decompress |
61,745 | 09.11.2020 00:18:37 | 0 | 375c3e8a16685bdb0d005d5f8deabd870c14d242 | Use new scalar initializer for template vectors | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "@@ -51,7 +51,7 @@ void compute_averages_and_directions_rgba(\nconst uint8_t *weights = pt->texels_of_partition[partition];\nint texelcount = pt->tex... | C | Apache License 2.0 | arm-software/astc-encoder | Use new scalar initializer for template vectors |
61,745 | 09.11.2020 13:54:10 | 0 | 9134d7bb16cbad77f0b46e7a436bb69d8d1b75cf | Add functional tests to GitHub Jenkins runner | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "@@ -46,9 +46,10 @@ pipeline {\n}\nstage('Test') {\nsteps {\n- sh 'python3 ./Test/astc_test_image.py --encoder=all --test-set Small'\n- //perfReport(sourceDataFiles:'TestOutput/result... | C | Apache License 2.0 | arm-software/astc-encoder | Add functional tests to GitHub Jenkins runner |
61,745 | 09.11.2020 14:24:00 | 0 | 454a3842bc4daed3e262428b4431eef34a7ccade | Add imagemagick to Docker image for Linux testing | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Dockerfile",
"new_path": "jenkins/build.Dockerfile",
"diff": "FROM ubuntu:18.04\n-LABEL build.environment.version=\"2.0.0\"\n+LABEL build.environment.version=\"2.1.0\"\nRUN useradd -u 1001 -U -m -c Jenkins jenkins\n@@ -9,6 +9,7 @@ RUN apt update ... | C | Apache License 2.0 | arm-software/astc-encoder | Add imagemagick to Docker image for Linux testing |
61,745 | 11.11.2020 21:03:03 | 0 | 9cd806ae181c9e2275343d7fe2c6149484846def | Misc small cleanups | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_mathlib.h",
"new_path": "Source/astcenc_mathlib.h",
"diff": "#ifndef ASTC_MATHLIB_H_INCLUDED\n#define ASTC_MATHLIB_H_INCLUDED\n+#include <cassert>\n#include <cstdint>\n#include <cmath>\n"
},
{
"change_type": "MODIFY",
"old_path": "Te... | C | Apache License 2.0 | arm-software/astc-encoder | Misc small cleanups |
61,745 | 11.11.2020 23:01:14 | 0 | 9b5459eb8fead033e78bb2ab011d23b38b5f9102 | Remove old comment about IQ loss | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -190,13 +190,6 @@ static int realign_weights(\nweight_set8[we_idx] = (uint8_t)((prev_and_next >> 16) & 0xFF);\nadjustments++;\n}\n-\n- // IQ loss: The v1 com... | C | Apache License 2.0 | arm-software/astc-encoder | Remove old comment about IQ loss |
61,745 | 13.11.2020 14:02:25 | 0 | 207ccd9972b879c015e4a11785b584158c753525 | Only swizzle on demand | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_image.cpp",
"new_path": "Source/astcenc_image.cpp",
"diff": "@@ -293,13 +293,17 @@ void fetch_imageblock(\nzpos += img.dim_pad;\n}\n- float data[6];\n- data[4] = 0;\n- data[5] = 1;\n+ // True if any non-identity swizzle\n+ bool needs_swz = (swz.... | C | Apache License 2.0 | arm-software/astc-encoder | Only swizzle on demand |
61,745 | 13.11.2020 16:30:48 | 0 | 2164984243a3fbd2b2429e7562f7fe31914f446b | Update docs for 2.1 release | [
{
"change_type": "MODIFY",
"old_path": "Docs/ChangeLog.md",
"new_path": "Docs/ChangeLog.md",
"diff": "@@ -6,9 +6,15 @@ release of the 2.x series.\nAll performance data on this page is measured on an Intel Core i5-9600K\nclocked at 4.2 GHz, running astcenc using 6 threads.\n+## 2.2\n+\n+**Status:** :... | C | Apache License 2.0 | arm-software/astc-encoder | Update docs for 2.1 release |
61,745 | 13.11.2020 17:47:22 | 0 | 26d5ce9dd55e8f941fe4a38dd730428a256616ef | Bump master version to 2.2-develop | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel_help.cpp",
"new_path": "Source/astcenccli_toplevel_help.cpp",
"diff": "#include \"astcenccli_internal.h\"\nconst char *astcenc_copyright_string =\n-R\"(ASTC codec v2.1, %u-bit %s%s\n+R\"(ASTC codec v2.2-develop, %u-bit %s%s\nCopyrigh... | C | Apache License 2.0 | arm-software/astc-encoder | Bump master version to 2.2-develop |
61,745 | 17.11.2020 08:48:00 | 0 | 5d3eea1576dd6a6b379fa02f3799f9158dcb7cda | Change requirement on SSE 4.2 to SSE 4.1 (CI) | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "@@ -32,7 +32,7 @@ pipeline {\nsh '''\ncd ./Source/\nmake CXX=clang++ VEC=avx2\n- make CXX=clang++ VEC=sse4.2\n+ make CXX=clang++ VEC=sse4.1\nmake CXX=clang++ VEC=sse2\n'''\n}\n@@ -70... | C | Apache License 2.0 | arm-software/astc-encoder | Change requirement on SSE 4.2 to SSE 4.1 (CI) |
61,745 | 17.11.2020 23:41:33 | 0 | 8180b0ff90e7b20345bc3a7d98bff556357a9bb4 | Add note on using -cw to the -esw help text | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel_help.cpp",
"new_path": "Source/astcenccli_toplevel_help.cpp",
"diff": "@@ -363,9 +363,17 @@ ADVANCED COMPRESSION\nzero or one. For example to swap the RG channels, and replace\nalpha with 1, the swizzle 'grb1' should be used.\n- Note... | C | Apache License 2.0 | arm-software/astc-encoder | Add note on using -cw to the -esw help text |
61,745 | 19.11.2020 14:02:57 | 0 | 83fe69d274094649570ab1f9c89ad58be7165ff8 | Make a generic "none" no-SIMD target for testing | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -28,7 +28,7 @@ APP ?= astcenc\n# Configure the SIMD ISA and intrinsics support; valid values are:\n#\n-# * neon - compile for Arm aarch64 + NEON\n+# * none - compile for generic C++ (set compiler usi... | C | Apache License 2.0 | arm-software/astc-encoder | Make a generic "none" no-SIMD target for testing |
61,745 | 20.11.2020 16:02:44 | 0 | efa6727d421a42b2f4724c49d6da08aae120c755 | Add "none" build to CI | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "@@ -34,6 +34,7 @@ pipeline {\nmake CXX=clang++ VEC=avx2\nmake CXX=clang++ VEC=sse4.1\nmake CXX=clang++ VEC=sse2\n+ make CXX=clang++ VEC=none\n'''\n}\n}\n@@ -120,6 +121,7 @@ pipeline ... | C | Apache License 2.0 | arm-software/astc-encoder | Add "none" build to CI |
61,745 | 21.11.2020 00:00:28 | 0 | 4c5de4b2e7b0c64cb4379cc7adfe7d7d954e2648 | Remove some unneeded vector casts | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib_avx2_8.h",
"new_path": "Source/astcenc_vecmathlib_avx2_8.h",
"diff": "@@ -471,10 +471,9 @@ ASTCENC_SIMD_INLINE vint8 select(vint8 a, vint8 b, vmask8 cond)\n// Don't use _mm256_blendv_epi8 directly, as it doesn't give the select on\n//... | C | Apache License 2.0 | arm-software/astc-encoder | Remove some unneeded vector casts |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.