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
13.07.2021 23:31:20
-3,600
b6c571b028106c5afc13acd5791a62cceace17a6
Workaround stb_image_write warnings (issue
[ { "change_type": "MODIFY", "old_path": "Source/stb_image_write.h", "new_path": "Source/stb_image_write.h", "diff": "@@ -511,7 +511,7 @@ static int stbi_write_bmp_core(stbi__write_context *s, int x, int y, int comp, c\nSTBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, i...
C
Apache License 2.0
arm-software/astc-encoder
Workaround stb_image_write warnings (issue #1099)
61,745
14.07.2021 22:27:09
-3,600
43f9b6cee15bb2189cbb7277f725ee86e4c41752
Fix arm64 invariance in NONE builds
[ { "change_type": "MODIFY", "old_path": "Source/UnitTest/test_simd.cpp", "new_path": "Source/UnitTest/test_simd.cpp", "diff": "@@ -1082,11 +1082,11 @@ TEST(vfloat4, normalize_safe)\n/** @brief Test vfloat4 float_to_int. */\nTEST(vfloat4, float_to_int)\n{\n- vfloat4 a(1.1f, 1.5f, 1.6f, 4.0f);\n+ vfloa...
C
Apache License 2.0
arm-software/astc-encoder
Fix arm64 invariance in NONE builds
61,745
15.07.2021 14:12:30
-3,600
3c6ba048bf7aa5d7ffe428834bd4dd14c1e5c828
Add color support for -perceptual
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -672,8 +672,7 @@ astcenc_error astcenc_config_init(\nconfig.v_a_stdev = 50.0f;\n}\n}\n-\n- if (flags & ASTCENC_FLG_MAP_MASK)\n+ else if (flags & ASTCENC_FLG_MAP_MASK)\n{\nconfig.v_r...
C
Apache License 2.0
arm-software/astc-encoder
Add color support for -perceptual
61,745
15.07.2021 17:57:15
-3,600
0021070ca9fe6845652b135bb155868ab43a9de9
Add 3.1 change log
[ { "change_type": "MODIFY", "old_path": "Docs/ChangeLog-3x.md", "new_path": "Docs/ChangeLog-3x.md", "diff": "@@ -6,6 +6,69 @@ release of the 3.x series.\nAll performance data on this page is measured on an Intel Core i5-9600K\nclocked at 4.2 GHz, running astcenc using AVX2 and 6 threads.\n+<!-- -----...
C
Apache License 2.0
arm-software/astc-encoder
Add 3.1 change log
61,745
15.07.2021 21:45:03
-3,600
bb9253eed4bb1ae5a508b280efd833aad63fe7d6
Bump CMake project version to 3.1.0
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -24,7 +24,7 @@ if(MSVC)\nadd_compile_options(\"/wd4324\") # Disable structure was padded due to alignment specifier\nendif()\n-project(astcencoder VERSION 3.0.0)\n+project(astcencoder VERSION 3.1.0)\ns...
C
Apache License 2.0
arm-software/astc-encoder
Bump CMake project version to 3.1.0
61,745
15.07.2021 21:54:31
-3,600
bb1436af3a1e7dec5f06aa4e4571e451d3579f3c
Add f16c to the version string
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_toplevel_help.cpp", "new_path": "Source/astcenccli_toplevel_help.cpp", "diff": "/** @brief The version header. */\nstatic const char *astcenc_copyright_string =\n-R\"(astcenc v%s, %u-bit %s%s\n+R\"(astcenc v%s, %u-bit %s%s%s\nCopyright 2011-%...
C
Apache License 2.0
arm-software/astc-encoder
Add f16c to the version string
61,745
21.07.2021 14:05:58
-3,600
380194367f3c697927efe810bf97afb795691581
Remove obsolete blockify script.
[ { "change_type": "DELETE", "old_path": "Utils/astc_rgbm_blockify.cpp", "new_path": null, "diff": "-// SPDX-License-Identifier: Apache-2.0\n-// ----------------------------------------------------------------------------\n-// Copyright 2019-2020 Arm Limited\n-//\n-// Licensed under the Apache License...
C
Apache License 2.0
arm-software/astc-encoder
Remove obsolete blockify script.
61,745
01.08.2021 19:43:27
-3,600
8013b1732977d39626ea41c27a59de2c806a3100
Cleanup - remove some ;; instances
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_find_best_partitioning.cpp", "new_path": "Source/astcenc_find_best_partitioning.cpp", "diff": "@@ -229,7 +229,7 @@ static void kmeans_update(\nfor (unsigned int i = 0; i < texel_count; i++)\n{\nuint8_t partition = partition_of_texel[i];\n- color...
C
Apache License 2.0
arm-software/astc-encoder
Cleanup - remove some ;; instances
61,745
20.08.2021 07:37:01
-3,600
a463566e906016c195a5a1d8e1b9c14be3491f79
Use a ROM quant_mode_table to avoid parallel init
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -819,7 +819,6 @@ astcenc_error astcenc_context_alloc(\n#if !defined(ASTCENC_DECOMPRESS_ONLY)\nprepare_angular_tables();\n#endif\n- init_quant_mode_table();\nreturn ASTCENC_SUCCESS;\...
C
Apache License 2.0
arm-software/astc-encoder
Use a ROM quant_mode_table to avoid parallel init (#284)
61,745
21.08.2021 16:23:40
-3,600
04c5e7764c0bc0f0362d2e8f0f911aa1e325af1d
Ensure fuzz builds starts with clean archive state
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "*.log\n*.diff\n*.user\n+*.o\n+*.a\n__pycache__\nScratch\nProto\n@@ -36,3 +38,4 @@ TestOutput\n/*.astc\nastc_reference-main*\nDocs/Profiling.md\n+Source/astcenccli_version.h\n" }, { "change_type": "MODIFY"...
C
Apache License 2.0
arm-software/astc-encoder
Ensure fuzz builds starts with clean archive state
61,745
21.08.2021 16:25:56
-3,600
5c5dee52401189c27e481e8a7ec30f54fcdcdb5f
Reject invalid encodings during decode
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_symbolic_physical.cpp", "new_path": "Source/astcenc_symbolic_physical.cpp", "diff": "@@ -301,6 +301,7 @@ void physical_to_symbolic(\nif (rsvbits != 3)\n{\nscb.block_type = SYM_BTYPE_ERROR;\n+ return;\n}\nint vx_low_s = read_bits(8, 12, pcb.data)...
C
Apache License 2.0
arm-software/astc-encoder
Reject invalid encodings during decode
61,745
16.09.2021 09:55:31
-3,600
14b20f33f2980efc3e25dbd69a04d44498da1d2c
Add documentation of .astc files Fixes
[ { "change_type": "ADD", "old_path": null, "new_path": "Docs/FileFormat.md", "diff": "+# The .astc File Format\n+\n+The default file format for compressed textures generated by `astcenc`, as well\n+as from many other ASTC compressors, is the `.astc` format. This is a very\n+simple format consisting o...
C
Apache License 2.0
arm-software/astc-encoder
Add documentation of .astc files Fixes #285
61,745
16.09.2021 23:14:52
-3,600
36469f9fc322cde5affe86d5ed5bf6167ee48906
Avoid left shift of negative value in soft-fp16
[ { "change_type": "MODIFY", "old_path": "Source/UnitTest/cmake_core.cmake", "new_path": "Source/UnitTest/cmake_core.cmake", "diff": "# ----------------------------------------------------------------------------\nif(${UNIVERSAL_BUILD})\n- set(ASTC_TEST test-simd)\n+ set(ASTC_TEST test-unit)\nelse()\n...
C
Apache License 2.0
arm-software/astc-encoder
Avoid left shift of negative value in soft-fp16
61,745
16.09.2021 23:42:11
-3,600
03b70120f97c88bb894ee9de9dc0a463282ba3b1
Improve comments in unit test header
[ { "change_type": "MODIFY", "old_path": "Source/UnitTest/test_simd.cpp", "new_path": "Source/UnitTest/test_simd.cpp", "diff": "/**\n* @brief Unit tests for the vectorized SIMD functionality.\n- *\n- * This test suite is a partial implementation, focussing on 4-wide vectors.\n- * We're adding things a...
C
Apache License 2.0
arm-software/astc-encoder
Improve comments in unit test header
61,745
24.09.2021 21:27:04
-3,600
8a640dd4a6d27fb0e6713ea61caa5a2526898e16
Fix verbose codec config log
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_toplevel.cpp", "new_path": "Source/astcenccli_toplevel.cpp", "diff": "@@ -1130,14 +1130,14 @@ static void print_astcenc_config(\nprintf(\" RGB power: %g\\n\", (double)config.v_rgb_power );\nprintf(\" RGB base weight: %g\\n\", (double)config.v...
C
Apache License 2.0
arm-software/astc-encoder
Fix verbose codec config log
61,745
24.09.2021 21:30:23
-3,600
8a44ad2e4388984f1537ac62f3d6d3c1a8df39b9
Typo in scb Doxygen
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_internal.h", "new_path": "Source/astcenc_internal.h", "diff": "@@ -1190,7 +1190,7 @@ struct symbolic_compressed_block\n/** @brief The endpoint color formats for each partition; valid for @c NONCONST blocks. */\nuint8_t color_formats[BLOCK_MAX_PA...
C
Apache License 2.0
arm-software/astc-encoder
Typo in scb Doxygen
61,745
24.09.2021 22:53:48
-3,600
c945cda397bfa96086f0cf10af8a3e5c7edc9b6a
Add f postfix to float literals
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -499,8 +499,8 @@ static void compute_ideal_colors_and_weights_4_comp(\npromise(texel_count > 0);\npromise(partition_count > 0);\n- float ...
C
Apache License 2.0
arm-software/astc-encoder
Add f postfix to float literals
61,745
28.09.2021 00:18:47
-3,600
d81f1f68c1896625c46b6fb64e73a51ec085fb1f
Skip list scan for trial 0
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_pick_best_endpoint_format.cpp", "new_path": "Source/astcenc_pick_best_endpoint_format.cpp", "diff": "@@ -1150,6 +1150,10 @@ unsigned int compute_ideal_endpoint_formats(\nbest_quant_levels_mod[i] = QUANT_2;\n}\n+ // Track a scalar best to avoid e...
C
Apache License 2.0
arm-software/astc-encoder
Skip list scan for trial 0
61,745
28.09.2021 00:37:34
-3,600
9ca55411e4abe255516f8a65daced4c5b50fcc45
Use the mode0 fast-pash less for -fastest quality For 6x6 this improves IQ by around 0.3dB for ~8% performance. For 8x8 this improves IQ by around 0.5dB for ~15% performance. Both are still substantially faster than -fast (2-3x).
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -62,7 +62,7 @@ struct astcenc_preset_config\nstatic const std::array<astcenc_preset_config, 5> preset_configs_high {{\n{\nASTCENC_PRE_FASTEST,\n- 3, 4, 30, 1, 2, 79.0f, 57.0f, 2.0f,...
C
Apache License 2.0
arm-software/astc-encoder
Use the mode0 fast-pash less for -fastest quality - For 6x6 this improves IQ by around 0.3dB for ~8% performance. - For 8x8 this improves IQ by around 0.5dB for ~15% performance. Both are still substantially faster than -fast (2-3x).
61,745
30.09.2021 20:06:52
-3,600
4c8ba12a15962461623cc633c83688107a5277af
Increase test runner info log precision
[ { "change_type": "MODIFY", "old_path": "Test/testlib/resultset.py", "new_path": "Test/testlib/resultset.py", "diff": "@@ -132,19 +132,19 @@ class ResultSummary():\nif (self.tTimesRel):\n# Performance summaries\ndat = (np.mean(self.tTimesRel), np.std(self.tTimesRel))\n- result.append(\"\\nTotal speed...
C
Apache License 2.0
arm-software/astc-encoder
Increase test runner info log precision
61,762
07.10.2021 14:44:30
-10,800
4febf62cc1e9e76c24ac580ff0858488ed0632e6
Fixed image size validation in load_cimage
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_image_load_store.cpp", "new_path": "Source/astcenccli_image_load_store.cpp", "diff": "@@ -2367,7 +2367,7 @@ int load_cimage(\nunsigned int dim_y = unpack_bytes(hdr.dim_y[0], hdr.dim_y[1], hdr.dim_y[2], 0);\nunsigned int dim_z = unpack_bytes(h...
C
Apache License 2.0
arm-software/astc-encoder
Fixed image size validation in load_cimage (#289)
61,762
18.10.2021 11:36:25
-10,800
a1abaae60e75b3a69a089a8d7d708d8d78fc3e8e
Fixed an invalid assert when ASTCENC_DECOMPRESS_ONLY is used
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes.cpp", "new_path": "Source/astcenc_block_sizes.cpp", "diff": "@@ -950,10 +950,10 @@ static void construct_block_size_descriptor_2d(\nbsd.always_block_mode_count = always_block_mode_count;\nbsd.always_decimation_mode_count = always_dec...
C
Apache License 2.0
arm-software/astc-encoder
Fixed an invalid assert when ASTCENC_DECOMPRESS_ONLY is used (#291)
61,745
03.10.2021 21:57:46
-3,600
aa1cd33c6e718c4f17c4996038d6c2c15e2b66ed
Remove partition loop in merge_endpoints
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -41,15 +41,13 @@ static void merge_endpoints(\nendpoints& result\n) {\nunsigned int partition_count = ep_plane1.partition_count;\n+ assert(partition_count ==...
C
Apache License 2.0
arm-software/astc-encoder
Remove partition loop in merge_endpoints
61,745
20.10.2021 20:49:59
-3,600
9619be4adf1bc42e980502896251e7b5ea70c503
Use more default constructors
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib_neon_4.h", "new_path": "Source/astcenc_vecmathlib_neon_4.h", "diff": "@@ -51,7 +51,7 @@ struct vfloat4\n/**\n* @brief Construct from zero-initialized value.\n*/\n- ASTCENC_SIMD_INLINE vfloat4() {}\n+ ASTCENC_SIMD_INLINE vfloat4() = de...
C
Apache License 2.0
arm-software/astc-encoder
Use more default constructors
61,745
21.10.2021 21:35:49
-3,600
54c414166bfa5a2b1f56e76f1dd3bf08552d167b
Add metrics for angular error to -tl -normal modes
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_error_metrics.cpp", "new_path": "Source/astcenccli_error_metrics.cpp", "diff": "@@ -113,7 +113,8 @@ static float mpsnr_sumdiff(\n/* See header for documentation */\nvoid compute_error_metrics(\n- int compute_hdr_metrics,\n+ bool compute_hdr_m...
C
Apache License 2.0
arm-software/astc-encoder
Add metrics for angular error to -tl -normal modes
61,745
22.10.2021 08:52:04
-3,600
fbf59948fc69be36f889ab459ccc4fbfc199cc5d
Add ENABLE_ASAN option to CMake
[ { "change_type": "MODIFY", "old_path": "Source/cmake_core.cmake", "new_path": "Source/cmake_core.cmake", "diff": "@@ -135,6 +135,16 @@ macro(astcenc_set_properties NAME)\n# Use pthreads on Linux/macOS\n$<$<PLATFORM_ID:Linux,Darwin>:-pthread>)\n+ if(${ENABLE_ASAN})\n+ target_compile_options(${NAME}\n...
C
Apache License 2.0
arm-software/astc-encoder
Add ENABLE_ASAN option to CMake
61,745
22.10.2021 16:50:49
-3,600
6ffb3058bfbcc836108c25274e955e399481e2b4
Provide a fallback for blocks which find no valid encoding
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1550,6 +1550,27 @@ void compress_block(\ntrace_add_data(\"exit\", \"quality not hit\");\nEND_OF_TESTS:\n+ // If we still have an error block then convert to...
C
Apache License 2.0
arm-software/astc-encoder
Provide a fallback for blocks which find no valid encoding
61,745
22.10.2021 17:35:00
-3,600
bdd385fe19bf2737bead4b5664acdfdeca7aab15
Only load based on texel index if undecimated
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -1129,13 +1129,13 @@ void recompute_ideal_colors_1plane(\nvfloat4 rgba_sum(1e-17f);\nvfloat4 rgba_weight_sum(1e-17f);\n- int texel_count ...
C
Apache License 2.0
arm-software/astc-encoder
Only load based on texel index if undecimated
61,745
26.10.2021 21:54:53
-3,600
d26e7dea93dd65d00efb674703bb91c4cae1a5b9
Update -help to match latest presets
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_toplevel_help.cpp", "new_path": "Source/astcenccli_toplevel_help.cpp", "diff": "@@ -314,7 +314,7 @@ ADVANCED COMPRESSION\nHigher numbers give better quality, as more complex blocks can\nbe encoded, but will increase search time. Preset defaul...
C
Apache License 2.0
arm-software/astc-encoder
Update -help to match latest presets
61,745
26.10.2021 22:43:50
-3,600
838b8d1297bc051d0bcc1045e2b6678028c94bd4
Add deblocking to all -normal modes
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -661,9 +661,12 @@ astcenc_error astcenc_config_init(\nconfig.tune_3_partition_early_out_limit_factor *= 1.5f;\nconfig.tune_2_plane_early_out_limit_correlation = 0.99f;\n+ // Normals...
C
Apache License 2.0
arm-software/astc-encoder
Add deblocking to all -normal modes
61,745
26.10.2021 23:53:53
-3,600
a574ae927336859fd58b1064922210a69b906c30
Remove -normal mode error weighting heuristic In principle this was an estimator of angular error significance, but in practice it causes block artifacts and doesn't seem to help much
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1093,19 +1093,6 @@ static float prepare_error_weight_block(\nerror_weight = 1.0f / error_weight;\n}\n- if (ctx.config.flags & ASTCENC_FLG_MAP_NORMAL)\n- {\n...
C
Apache License 2.0
arm-software/astc-encoder
Remove -normal mode error weighting heuristic In principle this was an estimator of angular error significance, but in practice it causes block artifacts and doesn't seem to help much
61,745
26.10.2021 23:55:40
-3,600
e7cb1e453968b0e16e48ef6d68fc9d1227d8a378
Give normals a slightly higher search quality threshold
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -664,6 +664,7 @@ astcenc_error astcenc_config_init(\n// Normals are prone to blocking artifacts on smooth curves\n// so force compressor to try harder here ...\nconfig.b_deblock_wei...
C
Apache License 2.0
arm-software/astc-encoder
Give normals a slightly higher search quality threshold
61,750
08.11.2021 09:35:08
0
b36b9af07467e62f815dc39d5e6cfba69d43230d
Update Coverity client and licence
[ { "change_type": "MODIFY", "old_path": "jenkins/build-image.sh", "new_path": "jenkins/build-image.sh", "diff": "#!/usr/bin/env bash\n-DOCKER_REGISTRY=mobile-studio--docker.eu-west-1.artifactory.aws.arm.com\n+ARTIFACTORY_URL=eu-west-1.artifactory.aws.arm.com\n+DOCKER_REGISTRY=mobile-studio--docker.${...
C
Apache License 2.0
arm-software/astc-encoder
QE-2641: Update Coverity client and licence (#298)
61,745
08.11.2021 09:51:25
0
99d23d833efdc0f09c83cf85a63f1ea43b0318e7
Define Coverity config file
[ { "change_type": "MODIFY", "old_path": "jenkins/release.Jenkinsfile", "new_path": "jenkins/release.Jenkinsfile", "diff": "@@ -75,9 +75,9 @@ spec:\ncmake -G \"Unix Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../ -DISA_AVX2=ON ..\n- cov-configure --template --compiler cc --comptype g...
C
Apache License 2.0
arm-software/astc-encoder
QE-2641: Define Coverity config file (#299)
61,745
08.11.2021 13:42:29
0
1eeeb2da46ddeec2ee722d45f4c941ba04c853a2
Add missing separator to package builds
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -215,7 +215,7 @@ if(PACKAGE)\nset(PKG_VER ${CMAKE_PROJECT_VERSION_MAJOR}.${CMAKE_PROJECT_VERSION_MINOR})\n- set(CPACK_PACKAGE_FILE_NAME \"astcenc-${PKG_VER}-${PKG_OS}${PACKAGE}\")\n+ set(CPACK_PACKAGE_...
C
Apache License 2.0
arm-software/astc-encoder
Add missing separator to package builds
61,745
08.11.2021 14:32:30
0
954af82d2832aa2707d936c5aa5522c76ecd4426
Update change log for 3.3 release
[ { "change_type": "MODIFY", "old_path": "Docs/ChangeLog-3x.md", "new_path": "Docs/ChangeLog-3x.md", "diff": "@@ -4,7 +4,42 @@ This page summarizes the major functional and performance changes in each\nrelease of the 3.x series.\nAll performance data on this page is measured on an Intel Core i5-9600K\...
C
Apache License 2.0
arm-software/astc-encoder
Update change log for 3.3 release
61,745
02.12.2021 13:12:56
0
a287627df60809a2a32fe959757d7b3112716a6f
Delete Test/Images/KodakLite directory
[ { "change_type": "DELETE", "old_path": "Test/Images/KodakLite/astc_reference-3.3-avx2_fast_results.csv", "new_path": null, "diff": "-Image Set,Block Size,Name,PSNR,Total Time,Coding Time,Coding Rate\n-KodakLite,4x4,ldr-rgb-kodak05.png,41.5438,0.0722,0.0511,7.6876\n-KodakLite,4x4,ldr-rgb-kodak13.png,...
C
Apache License 2.0
arm-software/astc-encoder
Delete Test/Images/KodakLite directory
61,745
14.12.2021 23:21:49
0
6979e920f1e2b37ee2eb140d9937e4ab0070990f
Remove redundant ; in macro
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_internal.h", "new_path": "Source/astcenc_internal.h", "diff": "#define promise(cond) if(!(cond)) { __builtin_unreachable(); }\n#endif\n#else\n- #define promise(cond) assert(cond);\n+ #define promise(cond) assert(cond)\n#endif\n/* ===============...
C
Apache License 2.0
arm-software/astc-encoder
Remove redundant ; in macro
61,745
14.12.2021 23:22:45
0
159df62cea33461f20bf1c8359fb88a7f8d1b1c8
Remove redundant default in switch
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_internal.h", "new_path": "Source/astcenc_internal.h", "diff": "@@ -447,9 +447,10 @@ static inline unsigned int get_quant_level(quant_method method)\ncase QUANT_160: return 160;\ncase QUANT_192: return 192;\ncase QUANT_256: return 256;\n- // Unre...
C
Apache License 2.0
arm-software/astc-encoder
Remove redundant default in switch
61,745
14.12.2021 23:23:10
0
5cb190482f92320f7ccc29f4978933c984bd7176
Consistently use doubles in angular sum metrics
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_error_metrics.cpp", "new_path": "Source/astcenccli_error_metrics.cpp", "diff": "@@ -129,7 +129,7 @@ void compute_error_metrics(\nkahan_accum4 log_errorsum;\nkahan_accum4 mpsnr_errorsum;\ndouble mean_angular_errorsum = 0.0;\n- float worst_angu...
C
Apache License 2.0
arm-software/astc-encoder
Consistently use doubles in angular sum metrics
61,745
14.12.2021 23:23:36
0
cff6402f4d2b056776b6b854a7a6789978e76098
Suppress Clang12 -Watomic-implicit-seq-cst warning
[ { "change_type": "MODIFY", "old_path": "Source/cmake_core.cmake", "new_path": "Source/cmake_core.cmake", "diff": "@@ -118,6 +118,7 @@ macro(astcenc_set_properties NAME)\n$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-c++98-c++11-compat-pedantic>\n$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-float-equal>\n$<$<NOT:$<...
C
Apache License 2.0
arm-software/astc-encoder
Suppress Clang12 -Watomic-implicit-seq-cst warning
61,745
15.12.2021 07:24:35
0
b789e7b9775d210c945f1b238f70f656a768cd27
Adding Visual Studio ClangCL to build docs
[ { "change_type": "MODIFY", "old_path": "Docs/Building.md", "new_path": "Docs/Building.md", "diff": "@@ -25,19 +25,22 @@ cd build\n# Configure your build of choice, for example:\n# x86-64 using NMake\n-cmake -G \"NMake Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.\\ ^\n- -DISA_AVX2=...
C
Apache License 2.0
arm-software/astc-encoder
Adding Visual Studio ClangCL to build docs
61,745
23.12.2021 21:46:14
0
49f08b2f6ce6a820676f09a42cae23f244e37043
Use += accumulators in SIMD code
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -619,7 +619,7 @@ void compute_error_squared_rgba(\nsamec_err = select(vfloat::zero(), samec_err, mask);\nhaccumulate(samec_errorsumv, samec_err);...
C
Apache License 2.0
arm-software/astc-encoder
Use += accumulators in SIMD code
61,745
27.12.2021 18:47:10
0
56125862a0fd257b299a3fd21c526619faf58559
Fix example error message
[ { "change_type": "MODIFY", "old_path": "Utils/Example/astc_api_example.cpp", "new_path": "Utils/Example/astc_api_example.cpp", "diff": "@@ -68,7 +68,7 @@ int main(int argc, char **argv)\nuint8_t *image_data = (uint8_t*)stbi_load(argv[1], &image_x, &image_y, &image_c, 4);\nif (!image_data)\n{\n- prin...
C
Apache License 2.0
arm-software/astc-encoder
Fix example error message
61,745
12.01.2022 11:08:30
0
f0a0f730622d82311f14cd7ad84bb1389b855eea
Expose -j option for test runner to allow scaling tests
[ { "change_type": "MODIFY", "old_path": "Test/astc_test_image.py", "new_path": "Test/astc_test_image.py", "diff": "#!/usr/bin/env python3\n# SPDX-License-Identifier: Apache-2.0\n# -----------------------------------------------------------------------------\n-# Copyright 2019-2021 Arm Limited\n+# Cop...
C
Apache License 2.0
arm-software/astc-encoder
Expose -j option for test runner to allow scaling tests
61,745
17.01.2022 22:19:35
0
69695e524e9b083aa50ce1424ae2579af6367d52
Move core logging to DIAGNOSTICS builds
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1541,7 +1541,7 @@ END_OF_TESTS:\n// TODO: Do something more sensible here, such as average color block\nif (scb.block_type == SYM_BTYPE_ERROR)\n{\n-#if !def...
C
Apache License 2.0
arm-software/astc-encoder
Move core logging to DIAGNOSTICS builds
61,745
17.01.2022 23:14:10
0
f75966e6d044f8dccb8f9405a6eb1875b0ebb21f
Return best partition candidate first
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1494,25 +1494,24 @@ void compress_block(\n// Find best blocks for 2, 3 and 4 partitions\nfor (int partition_count = 2; partition_count <= max_partitions; pa...
C
Apache License 2.0
arm-software/astc-encoder
Return best partition candidate first
61,745
17.02.2022 22:14:32
0
29b50865153608b4cb87860e8afd5856f5b9e37e
Use <0 compares rather than ==-1 to reduce code size
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes.cpp", "new_path": "Source/astcenc_block_sizes.cpp", "diff": "// SPDX-License-Identifier: Apache-2.0\n// ----------------------------------------------------------------------------\n-// Copyright 2011-2021 Arm Limited\n+// Copyright ...
C
Apache License 2.0
arm-software/astc-encoder
Use <0 compares rather than ==-1 to reduce code size
61,745
20.02.2022 13:19:44
0
79d56b2fbba8b00b68f5d4b590e8deb0ed5b3af9
Cleanup compute_ideal_colors_and_weights
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "// SPDX-License-Identifier: Apache-2.0\n// ----------------------------------------------------------------------------\n-// Copyright 2011-...
C
Apache License 2.0
arm-software/astc-encoder
Cleanup compute_ideal_colors_and_weights
61,745
20.02.2022 16:02:50
0
f4f5024fb83444fddf0c181b5bb98a3b62318ce7
Standardize on "grayscale"
[ { "change_type": "MODIFY", "old_path": "Docs/ChangeLog-2x.md", "new_path": "Docs/ChangeLog-2x.md", "diff": "@@ -226,7 +226,7 @@ speed. Our test sets show an average of 12% improvement in the codec for\nKey for performance charts:\n* Color = block size (see legend).\n-* Letter = image format (N = nor...
C
Apache License 2.0
arm-software/astc-encoder
Standardize on "grayscale"
61,745
20.02.2022 16:12:05
0
a13b0ef3e4063cdbd77668c6f9d67a18b2a05efc
Remove ewb.block_error_weighted_rgba_sum
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1132,13 +1132,11 @@ static float prepare_error_weight_block(\n}\n// Small bias to avoid divide by zeros and NaN propagation later\n- vfloat4 texel_weight_su...
C
Apache License 2.0
arm-software/astc-encoder
Remove ewb.block_error_weighted_rgba_sum
61,745
20.02.2022 20:54:40
0
91f32e8bb291ef1ae516983dda5a7bc8c9793d2a
Remove remaining error_weight_block usage
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -586,7 +586,6 @@ static float compress_symbolic_block_for_partition_1plane(\n* @param config The compressor configuration.\n* @param bsd The block size infor...
C
Apache License 2.0
arm-software/astc-encoder
Remove remaining error_weight_block usage
61,745
20.02.2022 21:20:02
0
82df2fd7737952a13466b161b39e97c74a3f349d
Allow a threshold percentage for block modes
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes.cpp", "new_path": "Source/astcenc_block_sizes.cpp", "diff": "@@ -854,6 +854,8 @@ static void construct_block_size_descriptor_2d(\nunsigned int always_block_mode_count = 0;\nunsigned int always_decimation_mode_count = 0;\n+ float alwa...
C
Apache License 2.0
arm-software/astc-encoder
Allow a threshold percentage for block modes
61,745
20.02.2022 21:35:36
0
291bce740d62408ed42209cb7a3efd68ffd80071
Refactor compute_avgs_and_dirs for constant texel weight
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -30,33 +30,30 @@ void compute_avgs_and_dirs_4_comp(\nconst image_block& blk,\npartition_metrics pm[BLOCK_MAX_PARTITIONS]\n) {\n- int partition_co...
C
Apache License 2.0
arm-software/astc-encoder
Refactor compute_avgs_and_dirs for constant texel weight
61,745
20.02.2022 22:11:41
0
dd16604bb43a438bcc5b0be7f0ad5546788d3a2d
Remove color_scale and icolor_scale
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -31,7 +31,6 @@ void compute_avgs_and_dirs_4_comp(\npartition_metrics pm[BLOCK_MAX_PARTITIONS]\n) {\nfloat texel_weight = hadd_s(blk.channel_weigh...
C
Apache License 2.0
arm-software/astc-encoder
Remove color_scale and icolor_scale
61,745
20.02.2022 22:16:48
0
570ef4640133124498dd84aeafaccf83d22824d4
Clarify some help message descriptions
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_toplevel_help.cpp", "new_path": "Source/astcenccli_toplevel_help.cpp", "diff": "@@ -161,14 +161,13 @@ COMPRESSION\n-mask\nThe input texture is a mask texture with unrelated data stored\nin the various color components, so enable error heurist...
C
Apache License 2.0
arm-software/astc-encoder
Clarify some help message descriptions
61,745
21.02.2022 09:45:51
0
4003394660c865e3b4192671dab015bc84040538
Use more accurate unit2() and unit3() constants
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib.h", "new_path": "Source/astcenc_vecmathlib.h", "diff": "@@ -243,7 +243,8 @@ static ASTCENC_SIMD_INLINE vfloat4 unit4()\n*/\nstatic ASTCENC_SIMD_INLINE vfloat4 unit3()\n{\n- return vfloat4(0.57735f, 0.57735f, 0.57735f, 0.0f);\n+ float ...
C
Apache License 2.0
arm-software/astc-encoder
Use more accurate unit2() and unit3() constants
61,745
21.02.2022 21:02:40
0
464efe68ace5dd18bad83d83f602619c2112434e
Remove unused channel_weight
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -116,7 +116,6 @@ void compute_avgs_and_dirs_3_comp(\npartition_metrics pm[BLOCK_MAX_PARTITIONS]\n) {\nfloat texel_weight = hadd_s(blk.channel_wei...
C
Apache License 2.0
arm-software/astc-encoder
Remove unused channel_weight
61,745
21.02.2022 21:34:02
0
9546e91e8d985b4db2f5f1b9d8fd0597d74cd1ea
Update valgrind wrapper script
[ { "change_type": "MODIFY", "old_path": "Test/astc_profile_valgrind.py", "new_path": "Test/astc_profile_valgrind.py", "diff": "#!/usr/bin/env python3\n# SPDX-License-Identifier: Apache-2.0\n# -----------------------------------------------------------------------------\n-# Copyright 2020-2021 Arm Lim...
C
Apache License 2.0
arm-software/astc-encoder
Update valgrind wrapper script
61,745
21.02.2022 21:48:39
0
e216a7b81a416896bbe9d2070d2aef2de654b2dd
Move error_weight sum out of loop
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -1053,6 +1053,7 @@ static inline vfloat4 compute_rgbo_vector(\n}\n/* See header for documentation. */\n+// TODO: Specialize for 1 partiti...
C
Apache License 2.0
arm-software/astc-encoder
Move error_weight sum out of loop
61,745
21.02.2022 22:08:02
0
eed698028d5aae408f94f4f3a48b1357d7b7daa9
Sclarize left/mid/right sum calculation
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -1096,7 +1096,7 @@ void recompute_ideal_colors_1plane(\nrgba_sum = rgba_sum * blk.channel_weight;\nvfloat4 rgba_weight_sum = max(blk.chan...
C
Apache License 2.0
arm-software/astc-encoder
Sclarize left/mid/right sum calculation
61,745
21.02.2022 22:28:08
0
e1a01aadc0de7c8ded7e4768e4788ed53428e266
Refactoring recompute_ideal_colors to reduce code size
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -1113,7 +1113,7 @@ void recompute_ideal_colors_1plane(\nvfloat4 scale_vec = vfloat4::zero();\n- vfloat4 weight_weight_sum = vfloat4(1e-17...
C
Apache License 2.0
arm-software/astc-encoder
Refactoring recompute_ideal_colors to reduce code size
61,745
21.02.2022 22:46:15
0
dafc7460bf54a20a993da49ae60e92248adb5b40
Defer calculation of RGBO psum
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -1114,7 +1114,6 @@ void recompute_ideal_colors_1plane(\nvfloat4 scale_vec = vfloat4::zero();\nfloat weight_weight_sum_s = 1e-17f;\n- floa...
C
Apache License 2.0
arm-software/astc-encoder
Defer calculation of RGBO psum
61,745
21.02.2022 22:57:31
0
db8b5099c6b7331511ba9130ddb453bc1356f5ea
More loop refactoring
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -1149,13 +1149,13 @@ void recompute_ideal_colors_1plane(\nweight_weight_sum_s += idx0;\nvfloat4 color_idx(idx0);\n- vfloat4 cwprod = colo...
C
Apache License 2.0
arm-software/astc-encoder
More loop refactoring
61,745
21.02.2022 23:28:08
0
b72beb3e3efbf925051ce8d6d42f15489d139f31
Avoid NaN for 2 plane ideal_ep_and_wt
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -1282,9 +1282,8 @@ void recompute_ideal_colors_2planes(\ndec_weights_quant_uvalue_plane2[i] = qat->unquantized_value[dec_weights_quant_pv...
C
Apache License 2.0
arm-software/astc-encoder
Avoid NaN for 2 plane ideal_ep_and_wt
61,745
22.02.2022 10:08:34
0
42a8f6ee01715f45edffb6773e34b8bb914a47df
Add update to change log
[ { "change_type": "MODIFY", "old_path": "Docs/ChangeLog-3x.md", "new_path": "Docs/ChangeLog-3x.md", "diff": "@@ -7,6 +7,39 @@ All performance data on this page is measured on an Intel Core i5-9600K\nclocked at 4.2 GHz, running `astcenc` using AVX2 and 6 threads.\n+<!-- -------------------------------...
C
Apache License 2.0
arm-software/astc-encoder
Add update to change log
61,745
22.02.2022 20:28:30
0
ed365e7e5ff5c1f60c012f8806616c590ed81442
Support build-time restriction on block size
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "# SPDX-License-Identifier: Apache-2.0\n# ----------------------------------------------------------------------------\n-# Copyright 2020-2021 Arm Limited\n+# Copyright 2020-2022 Arm Limited\n#\n# Licensed...
C
Apache License 2.0
arm-software/astc-encoder
Support build-time restriction on block size
61,745
22.02.2022 22:05:20
0
34e5696d5d4e617f6f479ac0a07270d949905d04
Move large array allocations off the stack
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes.cpp", "new_path": "Source/astcenc_block_sizes.cpp", "diff": "@@ -243,25 +243,20 @@ static bool decode_block_mode_3d(\n* @param x_weights The number of weights in the X dimension.\n* @param y_weights The number of weights in the Y dim...
C
Apache License 2.0
arm-software/astc-encoder
Move large array allocations off the stack
61,745
22.02.2022 22:20:00
0
bab8160ec48cb7429fc89665a9d2ec05ce6e3c2d
Add stack usage reduction to ChangeLog
[ { "change_type": "MODIFY", "old_path": "Docs/ChangeLog-3x.md", "new_path": "Docs/ChangeLog-3x.md", "diff": "@@ -16,6 +16,10 @@ The 3.4 release introduces another round of optimizations, removing a number\nof power-user configuration options to simplify the core compressor data path.\n* **General:**\...
C
Apache License 2.0
arm-software/astc-encoder
Add stack usage reduction to ChangeLog
61,745
23.02.2022 00:41:16
0
356981884bc9e8784a5dc2624b11d0f373ed7f3c
Add competitive test sweep utility
[ { "change_type": "ADD", "old_path": null, "new_path": "Test/astc_test_competitive.py", "diff": "+#!/usr/bin/env python3\n+# SPDX-License-Identifier: Apache-2.0\n+# -----------------------------------------------------------------------------\n+# Copyright 2022 Arm Limited\n+#\n+# Licensed under the ...
C
Apache License 2.0
arm-software/astc-encoder
Add competitive test sweep utility
61,745
23.02.2022 14:21:36
0
cd4ebfa32a432e4429ab91fc715f2b8a42bae9b8
Fix image component count identification for KTX output
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_image.cpp", "new_path": "Source/astcenccli_image.cpp", "diff": "// SPDX-License-Identifier: Apache-2.0\n// ----------------------------------------------------------------------------\n-// Copyright 2011-2021 Arm Limited\n+// Copyright 2011-2...
C
Apache License 2.0
arm-software/astc-encoder
Fix image component count identification for KTX output
61,745
23.02.2022 15:10:59
0
ffbccca244a06f4ce1182c9cac16ca32bb281c17
Fix error block output color handling
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_image.cpp", "new_path": "Source/astcenc_image.cpp", "diff": "@@ -318,9 +318,9 @@ void write_image_block(\n{\nvint4 colori = vint4::zero();\n- if (blk.data_r[idx] == std::numeric_limits<float>::quiet_NaN())\n+ // Errors are NaN encoded - convert ...
C
Apache License 2.0
arm-software/astc-encoder
Fix error block output color handling
61,745
23.02.2022 22:20:27
0
1c97c24b192777f48bc203b1974cc948053cdc8d
Remove array initializer
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "@@ -111,7 +111,7 @@ static void compute_angular_offsets(\npromise(weight_count > 0);\npromise(max_angular_steps > 0);\n- alignas(ASTCENC_VECALIGN) int isamplev[BLOCK_MAX_...
C
Apache License 2.0
arm-software/astc-encoder
Remove array initializer
61,745
24.02.2022 00:27:22
0
ffddcd5b6258fa413ca442090364482edad1e4e3
Add undecimated specialization for realign_weights
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -50,6 +50,142 @@ static void merge_endpoints(\nresult.endpt1[0] = select(ep_plane1.endpt1[0], ep_plane2.endpt1[0], sep_mask);\n}\n+/**\n+ * @brief Attempt to...
C
Apache License 2.0
arm-software/astc-encoder
Add undecimated specialization for realign_weights
61,745
24.02.2022 07:26:00
0
4ea36836953cff3c8ab4653559ca10a8c6973296
Allow single channel NaNs in void-extent blocks The spec allows single color channels to decode to NaN in void-extent blocks. Prior to this fix the 3.x compressor would force the entire texel to NaN if component 0 was NaN.
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_decompress_symbolic.cpp", "new_path": "Source/astcenc_decompress_symbolic.cpp", "diff": "@@ -171,6 +171,20 @@ void unpack_weights(\n}\n}\n+/**\n+ * @brief Return an FP32 NaN value for use in error colors.\n+ *\n+ * This NaN encoding will turn in...
C
Apache License 2.0
arm-software/astc-encoder
Allow single channel NaNs in void-extent blocks The spec allows single color channels to decode to NaN in void-extent blocks. Prior to this fix the 3.x compressor would force the entire texel to NaN if component 0 was NaN.
61,745
24.02.2022 08:37:14
0
a33dbb44739da188e32d8f90e2342a780cf751fe
Exploit integer weights in realign_weights_undecimated
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -128,52 +128,46 @@ static bool realign_weights_undecimated(\n// For each weight compute previous, current, and next errors\npromise(bsd.texel_count > 0);\n- ...
C
Apache License 2.0
arm-software/astc-encoder
Exploit integer weights in realign_weights_undecimated
61,745
26.02.2022 00:47:41
0
c2551a380777a1889cff372599c38eb567a1dad5
Vectorize header for compute_ideal_weights_for_decimation
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -762,7 +762,7 @@ void compute_ideal_weights_for_decimation(\n) {\nunsigned int texel_count = di.texel_count;\nunsigned int weight_count =...
C
Apache License 2.0
arm-software/astc-encoder
Vectorize header for compute_ideal_weights_for_decimation
61,745
26.02.2022 10:27:57
0
605ef33f44588c0114dc8547e3d802b7e0ffb9af
Remove lane selects from compute_ideal_weights No longer needed as arrays are padded with safe values
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -826,14 +826,8 @@ void compute_ideal_weights_for_decimation(\nfor (unsigned int j = 0; j < max_texel_count; j++)\n{\n- // Not all lanes m...
C
Apache License 2.0
arm-software/astc-encoder
Remove lane selects from compute_ideal_weights No longer needed as arrays are padded with safe values
61,745
26.02.2022 11:22:36
0
25129301f44006334bacefba9372c205853db3c8
Remove int rounding from realign_weights_generic
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -309,10 +309,14 @@ static bool realign_weights_generic(\nunsigned int partition = pi.partition_of_texel[texel];\n- weight_base = weight_base + 0.5f;\n- float...
C
Apache License 2.0
arm-software/astc-encoder
Remove int rounding from realign_weights_generic
61,745
26.02.2022 15:36:48
0
33120f5b1b297cfd96f1d60d087a0c4aad985d42
Store weight_bits in block_mode structure
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes.cpp", "new_path": "Source/astcenc_block_sizes.cpp", "diff": "* @param[out] y_weights The number of weights in the Y dimension.\n* @param[out] is_dual_plane True if this block mode has two weight planes.\n* @param[out] quant_mode The ...
C
Apache License 2.0
arm-software/astc-encoder
Store weight_bits in block_mode structure
61,745
26.02.2022 19:09:49
0
90607171aec0427b603a9470c033461857d21bfb
Add more options to competitive script
[ { "change_type": "MODIFY", "old_path": "Test/astc_test_competitive.py", "new_path": "Test/astc_test_competitive.py", "diff": "@@ -31,7 +31,7 @@ ISPC_BIN = \"./Binaries/ISPC/ispc_astc.exe\"\nISPC_QUALITY = [\"rgba\", \"rgb\"]\nASTC_BIN = \"./astcenc/astcenc-avx2\"\n-ASTC_QUALITY = [\"-medium\", \"-fa...
C
Apache License 2.0
arm-software/astc-encoder
Add more options to competitive script
61,745
26.02.2022 20:30:40
0
c5af495584d47db626361d765edc56b4240f5cb5
Remove unused texel weight check
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_decompress_symbolic.cpp", "new_path": "Source/astcenc_decompress_symbolic.cpp", "diff": "@@ -283,9 +283,9 @@ void decompress_symbolic_block(\nint is_dual_plane = bm.is_dual_plane;\n// Unquantize and undecimate the weights\n- int weights[BLOCK_MA...
C
Apache License 2.0
arm-software/astc-encoder
Remove unused texel weight check
61,745
27.02.2022 08:49:45
0
4227d60386c8522fc255c1a5bd89880a6a46025a
Update CMake project version
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -24,7 +24,7 @@ if(MSVC)\nadd_compile_options(\"/wd4324\") # Disable structure was padded due to alignment specifier\nendif()\n-project(astcencoder VERSION 3.3.0)\n+project(astcencoder VERSION 3.4.0)\ns...
C
Apache License 2.0
arm-software/astc-encoder
Update CMake project version
61,745
27.02.2022 09:06:52
0
8a93788fc14392c6542da7a84e39fbaa40699308
Update change log for 3.4 release
[ { "change_type": "MODIFY", "old_path": "Docs/ChangeLog-3x.md", "new_path": "Docs/ChangeLog-3x.md", "diff": "@@ -10,11 +10,16 @@ clocked at 4.2 GHz, running `astcenc` using AVX2 and 6 threads.\n<!-- ---------------------------------------------------------------------- -->\n## 3.4\n-**Status:** In de...
C
Apache License 2.0
arm-software/astc-encoder
Update change log for 3.4 release
61,745
28.02.2022 07:55:48
0
7e929e70335b56b36c6be7e3f5102ddda74ef789
Fix compile warning in DECOMPRESSOR=ON builds
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes.cpp", "new_path": "Source/astcenc_block_sizes.cpp", "diff": "@@ -842,6 +842,7 @@ static void construct_block_size_descriptor_2d(\n// Gather all the decimation grids that can be used with the current block\n#if !defined(ASTCENC_DECOMP...
C
Apache License 2.0
arm-software/astc-encoder
Fix compile warning in DECOMPRESSOR=ON builds
61,745
01.03.2022 20:08:45
0
5cfb98cdb1c5baaa8aa7a7e65ca7c14d9d63b5f2
Add missing error for unknown uncompressed file type
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_toplevel.cpp", "new_path": "Source/astcenccli_toplevel.cpp", "diff": "@@ -1461,6 +1461,9 @@ int main(\nint bitness = get_output_filename_enforced_bitness(output_filename.c_str());\nif (bitness < 0)\n{\n+ const char *eptr = strrchr(output_file...
C
Apache License 2.0
arm-software/astc-encoder
Add missing error for unknown uncompressed file type
61,745
05.03.2022 22:45:15
0
5c6e990c7661a79a966ebc4e577bfd6f9c939ca5
Add block texel_count to image_block
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -393,7 +393,7 @@ static float compress_symbolic_block_for_partition_1plane(\n// Compute ideal weights and endpoint colors, with no quantization or decimation...
C
Apache License 2.0
arm-software/astc-encoder
Add block texel_count to image_block
61,745
06.03.2022 19:31:38
0
f3f514da5c7b0cc75c6099be54554ef0aee7f2ad
Specialize compute_symbolic_block_difference
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -388,6 +388,12 @@ static float compress_symbolic_block_for_partition_1plane(\npromise(config.tune_refinement_limit > 0);\npromise(bsd.decimation_mode_count >...
C
Apache License 2.0
arm-software/astc-encoder
Specialize compute_symbolic_block_difference
61,745
06.03.2022 19:38:49
0
c82485d49e532a5133360513ce299fb567d00bcb
Vectorize compute_symbolic_block_difference_1plane_1partition
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_decompress_symbolic.cpp", "new_path": "Source/astcenc_decompress_symbolic.cpp", "diff": "@@ -535,7 +535,7 @@ float compute_symbolic_block_difference_1plane_1partition(\nconst decimation_info& di = *(bsd.decimation_tables[bm.decimation_mode]);\n/...
C
Apache License 2.0
arm-software/astc-encoder
Vectorize compute_symbolic_block_difference_1plane_1partition
61,745
06.03.2022 21:04:08
0
5a105014d9f84d6cc65ed49027752dbdbc89a434
Realign_weights_generic now only used for decimated grids
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -194,7 +194,7 @@ static bool realign_weights_undecimated(\n* @param[out] dec_weights_quant_pvalue_plane1 The weights for plane 1.\n* @param[out] dec_weights_...
C
Apache License 2.0
arm-software/astc-encoder
Realign_weights_generic now only used for decimated grids
61,745
06.03.2022 21:26:19
0
5b59767033e26ac486c62e2c9a94606b9db1691c
Inline declarations with first use
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_pick_best_endpoint_format.cpp", "new_path": "Source/astcenc_pick_best_endpoint_format.cpp", "diff": "@@ -299,17 +299,12 @@ static void compute_color_error_for_every_integer_count_and_quant_level(\n// It is possible to get endpoint colors signifi...
C
Apache License 2.0
arm-software/astc-encoder
Inline declarations with first use
61,745
07.03.2022 19:19:50
0
938db0faaaab230a8f45324435ad7c1cf77c2b2c
Remove ClangCL from name build instructions
[ { "change_type": "MODIFY", "old_path": "Docs/Building.md", "new_path": "Docs/Building.md", "diff": "@@ -25,7 +25,7 @@ cd build\n# Configure your build of choice, for example:\n# x86-64 using NMake\n-cmake -G \"NMake Makefiles\" -T ClangCL -DCMAKE_BUILD_TYPE=Release ^\n+cmake -G \"NMake Makefiles\" -...
C
Apache License 2.0
arm-software/astc-encoder
Remove ClangCL from name build instructions
61,745
07.03.2022 19:51:13
0
57fe1360c739a6b4edd710bebc883d29a0a93d5d
Add static_casts in realign_weights
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -139,9 +139,9 @@ static bool realign_weights_undecimated(\n// Interpolate the colors to create the diffs\nunsigned int partition = pi.partition_of_texel[texe...
C
Apache License 2.0
arm-software/astc-encoder
Add static_casts in realign_weights
61,745
07.03.2022 20:04:46
0
ce6ea8202e6957f18c87748149b0f8f3db3dd6d4
Avoid signed/unsigned mismatch
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -130,7 +130,7 @@ static bool realign_weights_undecimated(\npromise(bsd.texel_count > 0);\nfor (unsigned int texel = 0; texel < bsd.texel_count; texel++)\n{\n...
C
Apache License 2.0
arm-software/astc-encoder
Avoid signed/unsigned mismatch
61,745
07.03.2022 21:03:30
0
065962868c87fdcfce39cb6adbc1ca52ec18f241
Ensure image_block.data_x is SIMD aligned
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_internal.h", "new_path": "Source/astcenc_internal.h", "diff": "@@ -800,16 +800,16 @@ struct block_size_descriptor\nstruct image_block\n{\n/** @brief The input (compress) or output (decompress) data for the red color component. */\n- float data_r...
C
Apache License 2.0
arm-software/astc-encoder
Ensure image_block.data_x is SIMD aligned
61,745
08.03.2022 09:36:39
0
973d08f58e9e596a4bd084270b5cdfd69e324258
Vectorize compute_error_squared_rgb_single_partition
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_pick_best_endpoint_format.cpp", "new_path": "Source/astcenc_pick_best_endpoint_format.cpp", "diff": "@@ -83,48 +83,132 @@ static void compute_error_squared_rgb_single_partition(\nfloat& l_err,\nfloat& a_drop_err\n) {\n- uncor_err = 0.0f;\n- same...
C
Apache License 2.0
arm-software/astc-encoder
Vectorize compute_error_squared_rgb_single_partition
61,745
22.02.2022 14:50:47
0
16ca5c58eb22e3f928ab946cff5ab46e5015d289
Add ClangCL to CI pipeline
[ { "change_type": "MODIFY", "old_path": "Docs/Building.md", "new_path": "Docs/Building.md", "diff": "@@ -14,8 +14,8 @@ Builds for Windows are tested with CMake 3.17 and Visual Studio 2019.\n### Configuring the build\nTo use CMake you must first configure the build. Create a build directory\n-in the r...
C
Apache License 2.0
arm-software/astc-encoder
Add ClangCL to CI pipeline
61,745
09.03.2022 14:14:29
0
d87993324b565f8109e2aa07437bac79d82f0e63
Update test reference for CI
[ { "change_type": "ADD", "old_path": null, "new_path": "Test/Images/Small/astc_reference-main-avx2_fast_results.csv", "diff": "+Image Set,Block Size,Name,PSNR,Total Time,Coding Time,Coding Rate\n+Small,4x4,hdr-rgb-00.hdr,33.6884,0.3442,0.0736,0.8906\n+Small,4x4,ldr-rgb-00.png,38.1103,0.0573,0.0375,1....
C
Apache License 2.0
arm-software/astc-encoder
Update test reference for CI
61,745
09.03.2022 15:01:12
0
c82259f563a77c32c082602a25ce359508419d71
Stash ClangCL artefacts in CI
[ { "change_type": "MODIFY", "old_path": "jenkins/nightly.Jenkinsfile", "new_path": "jenkins/nightly.Jenkinsfile", "diff": "@@ -298,8 +298,11 @@ spec:\ndir('upload/linux-x64') {\nunstash 'astcenc-linux-x64'\n}\n- dir('upload/windows-x64') {\n- unstash 'astcenc-windows-x64'\n+ dir('upload/windows-x64-c...
C
Apache License 2.0
arm-software/astc-encoder
Stash ClangCL artefacts in CI
61,745
10.03.2022 00:31:23
0
cdd6abbebf02b4c5fbcbf6fcb93a745e06d516d7
Implement basic ptable defragment This patch defragments the tables by dropping partitionings where not all active partitions contain texels. There will still be some dead entries caused by later dropping duplicates, which will be fixed in a follow-on patch.
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_find_best_partitioning.cpp", "new_path": "Source/astcenc_find_best_partitioning.cpp", "diff": "@@ -369,8 +369,9 @@ static void count_partition_mismatch_bits(\npartition_mismatch4\n};\n- for (unsigned int i = 0; i < BLOCK_MAX_PARTITIONINGS; i++)\...
C
Apache License 2.0
arm-software/astc-encoder
Implement basic ptable defragment This patch defragments the tables by dropping partitionings where not all active partitions contain texels. There will still be some dead entries caused by later dropping duplicates, which will be fixed in a follow-on patch.