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
23.05.2021 21:23:54
-3,600
4c6b39201a62b48fd3d2bf9749efaf40be29dbea
Add bsd accessor methods
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -78,8 +78,7 @@ static bool realign_weights(\n) {\n// Get the partition descriptor\nunsigned int partition_count = scb.partition_count;\n- const partition_inf...
C
Apache License 2.0
arm-software/astc-encoder
Add bsd accessor methods
61,745
23.05.2021 22:03:16
-3,600
b555fed71c5a0adf2587f823d19fc3447032a7d4
Use { 0 } array initializers
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_find_best_partitioning.cpp", "new_path": "Source/astcenc_find_best_partitioning.cpp", "diff": "@@ -136,8 +136,6 @@ static void kmeans_init(\n/**\n* @brief Assign texels to clusters, based on a set of chosen center points.\n*\n- * @todo Can parti...
C
Apache License 2.0
arm-software/astc-encoder
Use { 0 } array initializers
61,745
23.05.2021 22:42:14
-3,600
8ea0299dc3ccb1e1d28bebbfad6c662c078f84d0
Shrink types and reorder the BSD
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes.cpp", "new_path": "Source/astcenc_block_sizes.cpp", "diff": "@@ -720,7 +720,6 @@ static void assign_kmeans_texels(\nbsd.kmeans_texels[i] = i;\n}\n- bsd.kmeans_texel_count = bsd.texel_count;\nreturn;\n}\n@@ -747,8 +746,6 @@ static voi...
C
Apache License 2.0
arm-software/astc-encoder
Shrink types and reorder the BSD
61,745
23.05.2021 22:45:09
-3,600
d2b03bee9e8dca1b82785155d26374efc00e93cc
Match constants to struct type
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_internal.h", "new_path": "Source/astcenc_internal.h", "diff": "@@ -798,16 +798,16 @@ struct quantization_and_transfer_table\nextern const quantization_and_transfer_table quant_and_xfer_tables[12];\n/** @brief The block is an error block, and wil...
C
Apache License 2.0
arm-software/astc-encoder
Match constants to struct type
61,745
23.05.2021 23:16:37
-3,600
c6788b26ba3ff25b0c74e5b0ae4f296c04c34145
More unsigned ints ...
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "#include <cassert>\n#include <cstring>\n-#define ANGULAR_STEPS 40\n+\n+static constexpr unsigned int ANGULAR_STEPS { 40 };\n+\n+// Store a reduced sin/cos table for 64 po...
C
Apache License 2.0
arm-software/astc-encoder
More unsigned ints ...
61,745
23.05.2021 23:40:51
-3,600
f6921718a5d15adfc6bf41ae63b1d50dfd70dbb1
Remove unneeded short len safety net
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -279,11 +279,6 @@ void compute_avgs_and_dirs_3_comp(\nbest_vector = sum_zp;\n}\n- if (dot3_s(best_vector, best_vector) < 1e-18f)\n- {\n- best_vec...
C
Apache License 2.0
arm-software/astc-encoder
Remove unneeded short len safety net
61,745
24.05.2021 22:18:26
-3,600
b1f5b8563ad75ebbb0248e3e001528bfcba3afb4
Remove TODO; manual permutes not needed
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib_neon_4.h", "new_path": "Source/astcenc_vecmathlib_neon_4.h", "diff": "@@ -148,8 +148,6 @@ struct vfloat4\n/**\n* @brief Return a swizzled float 2.\n- *\n- * TODO: Implement using permutes.\n*/\ntemplate <int l0, int l1> ASTCENC_SIMD_I...
C
Apache License 2.0
arm-software/astc-encoder
Remove TODO; manual permutes not needed
61,745
24.05.2021 23:45:51
-3,600
886d1a321e2aa857f7ccc879f501e8850750a5bc
Cleanups and documentation for astcenc_internal
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1391,11 +1391,11 @@ void compress_block(\ntrace_add_data(\"pos_z\", blk->zpos);\n// Set stricter block targets for luminance data as we have more bits to pl...
C
Apache License 2.0
arm-software/astc-encoder
Cleanups and documentation for astcenc_internal
61,745
25.05.2021 08:17:06
-3,600
a9fb54542502194669484338069dddc380e90410
Disambiguate color and weight quant in var names
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -108,7 +108,7 @@ static bool realign_weights(\n{\nunpack_color_endpoints(decode_mode,\nscb.color_formats[pa_idx],\n- scb.color_quant_level,\n+ scb.get_color_...
C
Apache License 2.0
arm-software/astc-encoder
Disambiguate color and weight quant in var names
61,745
25.05.2021 08:30:32
-3,600
a65c7ac55e316b496b4cac930635bee7bdba0329
Return and use viable candidate count
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -365,7 +365,7 @@ static float compress_symbolic_block_for_partition_1plane(\nquant_method color_quant_level[TUNE_MAX_TRIAL_CANDIDATES];\nquant_method color_q...
C
Apache License 2.0
arm-software/astc-encoder
Return and use viable candidate count
61,745
25.05.2021 08:34:10
-3,600
4e885ab021fb7cd7ebbd4172c8622e40d93a75a9
Early out candidate search on first failure
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_pick_best_endpoint_format.cpp", "new_path": "Source/astcenc_pick_best_endpoint_format.cpp", "diff": "@@ -1277,6 +1277,11 @@ unsigned int compute_ideal_endpoint_formats(\n{\nerrors_of_best_combination[best_error_index] = 1e30f;\n}\n+ // Early-out...
C
Apache License 2.0
arm-software/astc-encoder
Early out candidate search on first failure
61,745
25.05.2021 08:52:00
-3,600
2f9362c16e71cb6da1ae48bc23ca7e9243ba8f99
Remove redundant copy of the avg_var structure
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compute_variance.cpp", "new_path": "Source/astcenc_compute_variance.cpp", "diff": "@@ -568,13 +568,12 @@ void compute_averages_and_variances(\n/* See header for documentation. */\nunsigned int init_compute_averages_and_variances(\n- astcenc_imag...
C
Apache License 2.0
arm-software/astc-encoder
Remove redundant copy of the avg_var structure
61,745
31.05.2021 23:41:42
-3,600
03340deaff7f008b23be1adfa8f4d62845e721ea
Make CPU query API use bools
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_internal.h", "new_path": "Source/astcenc_internal.h", "diff": "@@ -2193,34 +2193,33 @@ void physical_to_symbolic(\n/* ============================================================================\nPlatform-specific functions.\n===================...
C
Apache License 2.0
arm-software/astc-encoder
Make CPU query API use bools
61,745
31.05.2021 23:43:10
-3,600
dddd206735cd38e866927af4b0c52c729ee46146
Cleanup obsolete TODO
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_internal.h", "new_path": "Source/astcenc_internal.h", "diff": "@@ -877,7 +877,7 @@ struct imageblock\n/**\n* @brief Test if this block is using alpha.\n*\n- * @todo This looks suspect, but matches the original astcenc 1.7 code. This checks that ...
C
Apache License 2.0
arm-software/astc-encoder
Cleanup obsolete TODO
61,745
31.05.2021 23:45:13
-3,600
a01f3bda4dc48c31906f9b1da4b02be744e9499b
Rename imageblock to image_block
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "/* See header for documentation. */\nvoid compute_avgs_and_dirs_4_comp(\nconst partition_info& pi,\n- const imageblock& blk,\n+ const image_block& b...
C
Apache License 2.0
arm-software/astc-encoder
Rename imageblock to image_block
61,745
31.05.2021 23:50:00
-3,600
ec832221c12cf72577852ffc683abd4ddec8b663
Use ZI bools for global state trackers
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_platform_isa_detection.cpp", "new_path": "Source/astcenc_platform_isa_detection.cpp", "diff": "#if (ASTCENC_SSE > 0) || (ASTCENC_AVX > 0) || \\\n(ASTCENC_POPCNT > 0) || (ASTCENC_F16C > 0)\n+static bool g_init { false };\n+\n/** Does this CPU sup...
C
Apache License 2.0
arm-software/astc-encoder
Use ZI bools for global state trackers
61,745
31.05.2021 23:57:44
-3,600
8e9731ba0877de1215a13be7d52d97464c49bab7
Add thread syncs on CPU state tracker updates
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_platform_isa_detection.cpp", "new_path": "Source/astcenc_platform_isa_detection.cpp", "diff": "@@ -46,6 +46,8 @@ static bool g_cpu_has_f16c { false };\nPlatform code for Visual Studio\n============================================================...
C
Apache License 2.0
arm-software/astc-encoder
Add thread syncs on CPU state tracker updates
61,745
01.06.2021 00:24:33
-3,600
1a2d13dbf2b2b6e3ac3e8e8066944aca2f54b803
Tune 2 partition + 2 plane heuristic to skip more often
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1634,7 +1634,7 @@ void compress_block(\n// partitions is even less likely to help, so skip those. This is NOT exposed as a heuristic that the user can\n// c...
C
Apache License 2.0
arm-software/astc-encoder
Tune 2 partition + 2 plane heuristic to skip more often
61,745
01.06.2021 22:34:59
-3,600
b4f22ebc69a0197e4c72acf90fde7e4ca0bf8814
Remove dual plane for 2+ partitions
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -576,8 +576,6 @@ static float compress_symbolic_block_for_partition_1plane(\n* @param blk The image block color data to compress.\n* @param ewb The image blo...
C
Apache License 2.0
arm-software/astc-encoder
Remove dual plane for 2+ partitions
61,745
01.06.2021 22:52:25
-3,600
f4a6c62778d1c5851df29c70007761a06790297a
Skip bilinear weight infill for 1:1 weight grids
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -683,20 +683,41 @@ float compute_error_of_weight_set_1plane(\nfloat error_summa = 0.0f;\nunsigned int texel_count = di.texel_count;\n+ bo...
C
Apache License 2.0
arm-software/astc-encoder
Skip bilinear weight infill for 1:1 weight grids
61,745
01.06.2021 23:18:15
-3,600
5b2a70c3b75f5fb34d3c39e67d207d33a9db1526
Remove now unused compression tuning setting
[ { "change_type": "MODIFY", "old_path": "Docs/ChangeLog-3x.md", "new_path": "Docs/ChangeLog-3x.md", "diff": "@@ -33,9 +33,11 @@ updated `astcenc.h` header.\ndetailed documentation.\n* **Feature:** New heuristics have been added for controlling when to use\n2 planes. The previous `tune_two_plane_early...
C
Apache License 2.0
arm-software/astc-encoder
Remove now unused compression tuning setting
61,745
02.06.2021 09:06:12
-3,600
c64feb0d62240a663c8b54d53bba386629fccfdf
Pre-bias and float convert quant constants
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -985,8 +985,12 @@ void compute_quantized_weights_for_decimation(\npromise(weight_count > 0);\nconst quantization_and_transfer_table *qat ...
C
Apache License 2.0
arm-software/astc-encoder
Pre-bias and float convert quant constants
61,745
02.06.2021 12:05:28
-3,600
3166acdbc80b0fef54eb4c612058012550311a4a
Generalize constant component early-outs for dual plane searches This primarily helps material and mask data where blocks of semi-constant color are not unknown ...
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1457,7 +1457,7 @@ void compress_block(\nbest_errorvals_in_modes[i] = 1e30f;\n}\n- bool uses_alpha = blk.is_using_alpha();\n+ bool uses_alpha = !blk.is_const...
C
Apache License 2.0
arm-software/astc-encoder
Generalize constant component early-outs for dual plane searches This primarily helps material and mask data where blocks of semi-constant color are not unknown ...
61,745
02.06.2021 12:41:15
-3,600
23e52da48c962f4454d405d09cb9271f1f580c51
Add constant component early outs for 2+ partitions
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1623,6 +1623,15 @@ void compress_block(\ncontinue;\n}\n+ int plane2_component = partition_index_2planes >> PARTITION_INDEX_BITS;\n+ int plane2_partition_ind...
C
Apache License 2.0
arm-software/astc-encoder
Add constant component early outs for 2+ partitions
61,745
02.06.2021 18:00:02
-3,600
0c9ab672282d79d7d46a7ca1f06b327d1e8cb9d2
Add more missing Doxygen
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_internal.h", "new_path": "Source/astcenc_internal.h", "diff": "@@ -1283,7 +1283,8 @@ struct avg_var_args\n};\n#if defined(ASTCENC_DIAGNOSTICS)\n-class TraceLog; // See astcenc_diagnostic_trace for details.\n+/* See astcenc_diagnostic_trace heade...
C
Apache License 2.0
arm-software/astc-encoder
Add more missing Doxygen
61,745
02.06.2021 19:42:07
-3,600
123cf2269025b080c17608b3aba9eae3c0f8cbb7
Cleanup error threshold handling
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1283,18 +1283,6 @@ static float prepare_block_statistics(\nreturn lowest_correlation;\n}\n-// Do not reorder; we compute array indices programatically\n-enu...
C
Apache License 2.0
arm-software/astc-encoder
Cleanup error threshold handling
61,745
02.06.2021 21:43:59
-3,600
b16d6146b84d51462d2310dd14872e1a69504c4d
Scalarize array if known only one partition
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -775,8 +775,8 @@ static float compress_symbolic_block_for_partition_2planes(\n// Recompute the ideal color endpoints before storing them.\nmerge_endpoints(ei...
C
Apache License 2.0
arm-software/astc-encoder
Scalarize array if known only one partition
61,745
02.06.2021 23:13:36
-3,600
77a1d5f8bd03fe1d1dbfb5b7bee3d12c7364ac9d
Precompute block-wide error weighted sums
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1129,11 +1129,15 @@ static float prepare_error_weight_block(\n}\n}\n- vfloat4 error_weight_sum = vfloat4::zero();\n+ // Small bias to avoid divide by zeros ...
C
Apache License 2.0
arm-software/astc-encoder
Precompute block-wide error weighted sums
61,745
02.06.2021 23:28:37
-3,600
e9ffe95e1926d6364a3578f8ccc34ce8ea2b905a
Update version for 3.0 release
[ { "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 v3.0-develop, %u-bit %s%s\n+R\"(astcenc v3.0, %u-bit %s%s\nCopyrigh...
C
Apache License 2.0
arm-software/astc-encoder
Update version for 3.0 release
61,745
03.06.2021 06:48:21
-3,600
e08a5d8de3418b468019eba0528414b22954a207
Color formats never match two plane compression
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -398,11 +398,6 @@ static float compress_symbolic_block_for_partition_1plane(\nsymbolic_compressed_block workscb;\n- for (unsigned int j = 0; j < BLOCK_MAX_CO...
C
Apache License 2.0
arm-software/astc-encoder
Color formats never match two plane compression
61,745
03.06.2021 07:10:09
-3,600
ee903717fca091e92bccb51ec0e4cbbcaaf48959
Ensure plane2_component is initialized to keep SA happy This is not a bug; the field is never dereferenced for the block mode used, but ensuring it is initialized keeps static analysis happy ...
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -469,6 +469,7 @@ static float compress_symbolic_block_for_partition_1plane(\n// Store header fields\nworkscb.partition_count = partition_count;\nworkscb.part...
C
Apache License 2.0
arm-software/astc-encoder
Ensure plane2_component is initialized to keep SA happy This is not a bug; the field is never dereferenced for the block mode used, but ensuring it is initialized keeps static analysis happy ...
61,745
03.06.2021 07:20:30
-3,600
54497f97b8846ca872db9c0781661c6390d275fc
Widen MT/s column in test runner report
[ { "change_type": "MODIFY", "old_path": "Test/astc_test_image.py", "new_path": "Test/astc_test_image.py", "diff": "@@ -132,7 +132,7 @@ def format_solo_result(image, result):\ntCTime = \"%.3f s\" % result.cTime\ntCMTS = \"%.3f MT/s\" % result.cRate\n- return \"%-32s | %8s | %9s | %9s | %10s\" % \\\n+ ...
C
Apache License 2.0
arm-software/astc-encoder
Widen MT/s column in test runner report
61,745
03.06.2021 08:39:13
-3,600
7bdaad1ecd71c56716b52ede1b00854991873f16
Update docs for 3.0 release
[ { "change_type": "MODIFY", "old_path": "Docs/ChangeLog-3x.md", "new_path": "Docs/ChangeLog-3x.md", "diff": "@@ -9,11 +9,12 @@ clocked at 4.2 GHz, running astcenc using AVX2 and 6 threads.\n<!-- ---------------------------------------------------------------------- -->\n## 3.0\n-**Status:** ETA, Augu...
C
Apache License 2.0
arm-software/astc-encoder
Update docs for 3.0 release
61,745
06.06.2021 21:31:51
-3,600
98056bbad732e68ad9f35e80d75b1e70b985b6af
Update valgrind profile wrapper for 3.0
[ { "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 Arm Limited\...
C
Apache License 2.0
arm-software/astc-encoder
Update valgrind profile wrapper for 3.0
61,745
06.06.2021 22:43:14
-3,600
b5c194b508a0140df9603451514f94e2bcb60690
Better variable names ...
[ { "change_type": "ADD", "old_path": null, "new_path": "Docs/Terminology.md", "diff": "+# Terminology for the ASTC Encoder\n+\n+Like most software, the `astcenc` code base has a set of naming conventions\n+for variables which are used to ensure both accuracy and reasonable brevity.\n+\n+:construction...
C
Apache License 2.0
arm-software/astc-encoder
Better variable names ...
61,745
07.06.2021 08:35:06
-3,600
8ac87a6cf6e2caacd328295841109d5bc3fd2a1c
Remove obsolete low sample error propagate step. The codec has historically used a pass that uses a lower sample count's error for a higher sample count during compute_angular_endpoints. This is no longer beneficial, costing 2-3% performance and actually reducing image quality.
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "@@ -296,16 +296,13 @@ static void compute_angular_endpoints_for_quant_levels(\nfloat error_cut_high = error[i] + cut_high_weight_error[i];\nfloat error_cut_low_high = err...
C
Apache License 2.0
arm-software/astc-encoder
Remove obsolete low sample error propagate step. The codec has historically used a pass that uses a lower sample count's error for a higher sample count during compute_angular_endpoints. This is no longer beneficial, costing 2-3% performance and actually reducing image quality.
61,745
07.06.2021 08:39:47
-3,600
98f5bcb7c7c2d4bcfc93f15df7ef8cf8590bcd13
Clean up bsi < 0 fail case
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "@@ -326,17 +326,15 @@ static void compute_angular_endpoints_for_quant_levels(\nint bsi = (int)best_results[q].lane<1>();\n// Did we find anything?\n- // TODO: Can we do b...
C
Apache License 2.0
arm-software/astc-encoder
Clean up bsi < 0 fail case
61,745
07.06.2021 09:23:09
-3,600
07e29d26e8bb84e3655267eefddad19d9c0971b7
Use ERROR_CALC_DEFAULT not magic numbers
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -371,7 +371,7 @@ static float compress_symbolic_block_for_partition_1plane(\ncolor_quant_level, color_quant_level_mod);\n// Iterate over the N believed-to-be...
C
Apache License 2.0
arm-software/astc-encoder
Use ERROR_CALC_DEFAULT not magic numbers
61,745
07.06.2021 23:12:44
-3,600
53a7036fc80f1d119fc41bc5ba943886cfe532b3
Add -lowweightmodelimit heuristic
[ { "change_type": "MODIFY", "old_path": "Source/astcenc.h", "new_path": "Source/astcenc.h", "diff": "@@ -548,6 +548,11 @@ struct astcenc_config\n*/\nfloat tune_2_plane_early_out_limit_correlation;\n+ /**\n+ * @brief The threshold below which (inclusive) we stop testing low/high/low+high cutoffs.\n+ *...
C
Apache License 2.0
arm-software/astc-encoder
Add -lowweightmodelimit heuristic
61,745
07.06.2021 23:30:18
-3,600
6182aa9b94a849de756a718c2d9c66f8bf2f959c
Cleanup compute_angular_endpoints_for_quant_levels_lwc
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "@@ -442,16 +442,17 @@ static void compute_angular_endpoints_for_quant_levels_lwc(\nfloat high_value[12]\n) {\nunsigned int max_quant_steps = quantization_steps_for_level[...
C
Apache License 2.0
arm-software/astc-encoder
Cleanup compute_angular_endpoints_for_quant_levels_lwc
61,745
08.06.2021 07:52:34
-3,600
482a09ffd14bea213a9a11a4c0f8c2fe36619ae1
Avoid rechecking min/max weight bitcount We know it's valid as checked during table creation
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -336,7 +336,7 @@ static float compress_symbolic_block_for_partition_1plane(\nbm.get_weight_quant_mode());\nint bitcount = free_bits_for_partition_count[parti...
C
Apache License 2.0
arm-software/astc-encoder
Avoid rechecking min/max weight bitcount We know it's valid as checked during table creation
61,745
08.06.2021 08:22:09
-3,600
ffd4fe8cc153e678d55d153a16eaf874c561f060
More weight variable name clenaup
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -258,10 +258,10 @@ static float compress_symbolic_block_for_partition_1plane(\ncompute_ideal_colors_and_weights_1plane(bsd, blk, ewb, pi, ei);\n// Compute id...
C
Apache License 2.0
arm-software/astc-encoder
More weight variable name clenaup
61,745
08.06.2021 08:38:47
-3,600
ee0af0427504166aa7d082cc124d86c8259002eb
More weight variable naming cleanup
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -64,8 +64,8 @@ static void merge_endpoints(\n* @param blk The image block color data to compress.\n* @param ewb The image block weighted error data.\n* @para...
C
Apache License 2.0
arm-software/astc-encoder
More weight variable naming cleanup
61,745
09.06.2021 09:29:07
-3,600
055acba2c53dff3486ed54fc4b820309ee1cdcd6
Workaround MSVC 2019 codegen bug
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib.h", "new_path": "Source/astcenc_vecmathlib.h", "diff": "@@ -431,7 +431,15 @@ ASTCENC_SIMD_INLINE vint4 unorm16_to_sf16(vint4 p)\nvmask4 is_one = p == vint4(0xFFFF);\nvmask4 is_small = p < vint4(4);\n+// Manually inline clz() on Visual...
C
Apache License 2.0
arm-software/astc-encoder
Workaround MSVC 2019 codegen bug
61,745
09.06.2021 09:34:40
-3,600
a3b86095f7c81920bfbe1e7eafc84c27cd9fe094
Ensure all header functions are static
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib.h", "new_path": "Source/astcenc_vecmathlib.h", "diff": "@@ -381,7 +381,7 @@ static ASTCENC_SIMD_INLINE vfloat4 pow(vfloat4 x, vfloat4 y)\n*\n* Valid for all data values of @c a; will return a per-lane value [0, 32].\n*/\n-ASTCENC_SIMD...
C
Apache License 2.0
arm-software/astc-encoder
Ensure all header functions are static
61,745
09.06.2021 16:11:47
-3,600
2fa1493d18cf3b3b4ecc978c7a4becf6352b3ebb
Add issue reference to MSVC workaround comment
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib.h", "new_path": "Source/astcenc_vecmathlib.h", "diff": "@@ -432,6 +432,7 @@ static ASTCENC_SIMD_INLINE vint4 unorm16_to_sf16(vint4 p)\nvmask4 is_small = p < vint4(4);\n// Manually inline clz() on Visual Studio to avoid release build c...
C
Apache License 2.0
arm-software/astc-encoder
Add issue reference to MSVC workaround comment
61,745
10.06.2021 00:11:29
-3,600
bff056d4b74cf66b5a30e97532313e8fd26c15a4
Remove unused 2 plane partition selection
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1474,13 +1474,11 @@ void compress_block(\nfor (int partition_count = 2; partition_count <= max_partitions; partition_count++)\n{\nunsigned int partition_ind...
C
Apache License 2.0
arm-software/astc-encoder
Remove unused 2 plane partition selection
61,745
10.06.2021 13:06:03
-3,600
b3febbfe64882a7470dc5cc1f4dd2e0dc9ac2362
Fix diagnostics builds
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1267,14 +1267,14 @@ static float prepare_block_statistics(\nlowest_correlation = astc::min(lowest_correlation, fabsf(ba_cov));\n// Diagnostic trace points\n...
C
Apache License 2.0
arm-software/astc-encoder
Fix diagnostics builds
61,745
13.06.2021 21:49:39
-3,600
31191b196a54a6f597f1deb5fe22333d6502cd26
Add heuristic for culling two plane searches
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1432,8 +1432,9 @@ void compress_block(\nblock_skip_two_plane = lowest_correl > ctx.config.tune_2_plane_early_out_limit_correlation;\n- // Test the four poss...
C
Apache License 2.0
arm-software/astc-encoder
Add heuristic for culling two plane searches
61,745
14.06.2021 09:35:10
-3,600
f05c858051af37ea1a977568f43f312a421a042b
Front-load "always" list entries
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes.cpp", "new_path": "Source/astcenc_block_sizes.cpp", "diff": "@@ -852,6 +852,11 @@ static void construct_block_size_descriptor_2d(\n// Construct the list of block formats referencing the decimation tables\nunsigned int packed_idx = 0;...
C
Apache License 2.0
arm-software/astc-encoder
Front-load "always" list entries
61,745
14.06.2021 09:55:31
-3,600
3772888db05a2ca2cde63771cba08b0db52dbcf0
Split config print from other operations
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_toplevel.cpp", "new_path": "Source/astcenccli_toplevel.cpp", "diff": "@@ -1079,9 +1079,20 @@ static int edit_astcenc_config(\n}\n#endif\n- if (operation & ASTCENC_STAGE_COMPRESS)\n- {\n- // print all encoding settings unless specifically told...
C
Apache License 2.0
arm-software/astc-encoder
Split config print from other operations
61,745
14.06.2021 09:58:22
-3,600
26d9c3cdd641603a2954712d82744b0c413036df
Fail early on unknown file type
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_image_load_store.cpp", "new_path": "Source/astcenccli_image_load_store.cpp", "diff": "@@ -2217,8 +2217,8 @@ static const struct\n{\".exr\", \".EXR\", 16, store_exr_image_with_tinyexr},\n{\".hdr\", \".HDR\", 16, store_hdr_image_with_stb},\n// ...
C
Apache License 2.0
arm-software/astc-encoder
Fail early on unknown file type
61,745
14.06.2021 15:08:52
-3,600
850b0d6d2a5d253058b7819dfd1bea0915b9f487
Dont filter weights in realign_weights for 1:1 grids
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -86,7 +86,7 @@ static bool realign_weights(\nconst quantization_and_transfer_table *qat = &(quant_and_xfer_tables[weight_quant_level]);\n// Get the decimatio...
C
Apache License 2.0
arm-software/astc-encoder
Dont filter weights in realign_weights for 1:1 grids
61,745
14.06.2021 15:36:46
-3,600
01935907e60d8bedfca0835a6cb033e9f5915d72
Use initializer not assignment
[ { "change_type": "MODIFY", "old_path": "Source/Fuzzers/fuzz_astc_physical_to_symbolic.cpp", "new_path": "Source/Fuzzers/fuzz_astc_physical_to_symbolic.cpp", "diff": "#include <array>\n#include <vector>\n-struct BlockSizes {\n+struct BlockSizes\n+{\nint x;\nint y;\nint z;\n" }, { "change_type...
C
Apache License 2.0
arm-software/astc-encoder
Use initializer not assignment
61,745
14.06.2021 15:59:07
-3,600
e594584b0b5be8ea7e8471352aca425f57b659a4
Keep compute_lowest_and_highest_weight core as float
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "@@ -180,8 +180,8 @@ static void compute_lowest_and_highest_weight(\n// Arrays are ANGULAR_STEPS long, so always safe to run full vectors\nfor (unsigned int sp = 0; sp < m...
C
Apache License 2.0
arm-software/astc-encoder
Keep compute_lowest_and_highest_weight core as float
61,745
14.06.2021 18:31:42
-3,600
3713e22aba9d8fc65adf5cc6e35f6d5bf52f1c77
Remove TODO comment - not possible
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "@@ -218,7 +218,6 @@ static void compute_lowest_and_highest_weight(\n}\n// Write out min weight and weight span; clamp span to a usable range\n- // TODO: Can we keeps thes...
C
Apache License 2.0
arm-software/astc-encoder
Remove TODO comment - not possible
61,745
14.06.2021 18:58:08
-3,600
26d8dee5cd60e01dba38dd833a8739746fc49eda
Style - use consistent pattern
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_pick_best_endpoint_format.cpp", "new_path": "Source/astcenc_pick_best_endpoint_format.cpp", "diff": "@@ -1149,7 +1149,6 @@ unsigned int compute_ideal_endpoint_formats(\n// The block contains 1 partition\nif (partition_count == 1)\n{\n- float err...
C
Apache License 2.0
arm-software/astc-encoder
Style - use consistent pattern
61,745
14.06.2021 18:59:43
-3,600
46e5216461691be521c6b4031d70b9ddf4d0e80f
Use implicit tail
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_pick_best_endpoint_format.cpp", "new_path": "Source/astcenc_pick_best_endpoint_format.cpp", "diff": "@@ -1220,8 +1220,9 @@ unsigned int compute_ideal_endpoint_formats(\n}\n}\n// The block contains 4 partitions\n- else if (partition_count == 4)\n...
C
Apache License 2.0
arm-software/astc-encoder
Use implicit tail
61,745
15.06.2021 18:35:27
-3,600
43dea0a94f1b8f61f460aff1f061c683fc32349a
Trade some performance for quality boosts
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -62,13 +62,13 @@ struct astcenc_preset_config\nstatic const std::array<astcenc_preset_config, 5> preset_configs_high {{\n{\nASTCENC_PRE_FASTEST,\n- 3, 2, 30, 1, 1, 79.0f, 57.0f, 2.0...
C
Apache License 2.0
arm-software/astc-encoder
Trade some performance for quality boosts
61,745
17.06.2021 14:46:10
-3,600
d6ef9010cf66a2cab621ee0dbaf399467774b7ae
Fix /W2 warnings on VS2019
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -44,10 +44,10 @@ void compute_avgs_and_dirs_4_comp(\nvfloat4 rgba_max(-1e38f);\nfloat partition_weight = 0.0f;\n- int texel_count = pi.partition_...
C
Apache License 2.0
arm-software/astc-encoder
Fix /W2 warnings on VS2019
61,745
17.06.2021 15:55:20
-3,600
3845da54f6211c55f7e68d5b88b466051bf58141
Fix /W4 warnings on VS2019
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes.cpp", "new_path": "Source/astcenc_block_sizes.cpp", "diff": "@@ -311,11 +311,11 @@ static void init_decimation_info_2d(\n{\nif (weight[i] != 0)\n{\n- grid_weights_of_texel[texel][weight_count_of_texel[texel]] = qweight[i];\n- weights...
C
Apache License 2.0
arm-software/astc-encoder
Fix /W4 warnings on VS2019
61,757
17.06.2021 16:38:18
-3,600
5f13f30f48e50a2eed59db2f26fb2c40a10d0364
Add STATUS to cmake message calls
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -26,12 +26,12 @@ project(astcenc VERSION 3.0.0)\nfunction(printopt optName optVal optArch tgtArch)\nif(${optVal})\nif(${optArch} MATCHES ${tgtArch})\n- message(\" -- ${optName} backend - ON\")\n+ messa...
C
Apache License 2.0
arm-software/astc-encoder
Add STATUS to cmake message calls
61,745
16.06.2021 08:18:46
-3,600
0c6d4feee47314be4b44c0e3f3cb65cc5f5d7ca7
Allow high bitrate blocks to use 2 planes more
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -65,10 +65,10 @@ static const std::array<astcenc_preset_config, 5> preset_configs_high {{\n3, 4, 30, 1, 2, 79.0f, 57.0f, 2.0f, 2.0f, 1.0f, 1.0f, 0.5f, 25\n}, {\nASTCENC_PRE_FAST,\n-...
C
Apache License 2.0
arm-software/astc-encoder
Allow high bitrate blocks to use 2 planes more
61,745
18.06.2021 20:31:26
-3,600
26a4f4decaedcb9cdcae6e735fec5f981c899d9f
Add support for native binaries
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -79,6 +79,20 @@ else()\nmessage(STATUS \" No SIMD backend - OFF\")\nendif()\n+# Manually provide this as a tristate so we can distinguish the default\n+# not set state from explicitly ON and OFF ...\n+...
C
Apache License 2.0
arm-software/astc-encoder
Add support for native binaries
61,745
18.06.2021 20:42:40
-3,600
4e06e7041aa09e2bfc18aebf53e1630efd59f4f8
Clarify build docs for ISA_NATIVE
[ { "change_type": "MODIFY", "old_path": "Docs/Building.md", "new_path": "Docs/Building.md", "diff": "@@ -79,7 +79,7 @@ cmake -G \"Unix Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./ \\\ncmake -G \"Unix Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./ \\\n-DISA_AVX2=O...
C
Apache License 2.0
arm-software/astc-encoder
Clarify build docs for ISA_NATIVE
61,745
18.06.2021 22:25:27
-3,600
6164d50ab8f48dfacd5645493b6e7417161d974a
Add compute_avgs_and_dirs_3_comp_rgb fast path
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -36,7 +36,7 @@ void compute_avgs_and_dirs_4_comp(\nfor (int partition = 0; partition < partition_count; partition++)\n{\n- const uint8_t *weights...
C
Apache License 2.0
arm-software/astc-encoder
Add compute_avgs_and_dirs_3_comp_rgb fast path
61,745
19.06.2021 00:45:39
-3,600
2d45bde830cd8d2e5635ced588d601ecb8f127bf
Use vector overprocess without loop tail
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -906,19 +906,12 @@ void compute_ideal_weights_for_decimation(\n}\n// Populate the interpolated weight grid based on the initital average\...
C
Apache License 2.0
arm-software/astc-encoder
Use vector overprocess without loop tail
61,745
19.06.2021 09:46:29
-3,600
8dc6e782d6920cd4cb6cd436351a894ba967b873
More code size efficient nested loop exit
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -533,7 +533,9 @@ static float compress_symbolic_block_for_partition_1plane(\nif (errorval < tune_errorval_threshold)\n{\n- return errorval;\n+ // Skip remain...
C
Apache License 2.0
arm-software/astc-encoder
More code size efficient nested loop exit
61,745
19.06.2021 09:53:01
-3,600
d1f869a71995f9396f4027b5dd83625a01c30763
Remove redundanant error setting
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -359,9 +359,9 @@ static float compress_symbolic_block_for_partition_1plane(\nint bitcount = free_bits_for_partition_count[partition_count] - bits_used_by_wei...
C
Apache License 2.0
arm-software/astc-encoder
Remove redundanant error setting
61,745
19.06.2021 15:29:19
-3,600
142e7ffdbef31140ea1ec515a6f879651aeb8050
Use packed 2 plane weights in compression_working_buffers
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -644,15 +644,15 @@ static float compress_symbolic_block_for_partition_2planes(\nei1,\neix1[i],\ndi,\n- dec_weights_ideal_value + (2 * i) * BLOCK_MAX_WEIGHTS,...
C
Apache License 2.0
arm-software/astc-encoder
Use packed 2 plane weights in compression_working_buffers
61,745
19.06.2021 20:02:46
-3,600
251612ecd161e621bb99f78c67667d10b570ad13
Remove min/max filtering Zero weight border texels are replicated copies of non-zero weight ones, so this is not needed.
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -54,11 +54,8 @@ void compute_avgs_and_dirs_4_comp(\nvfloat4 texel_datum = blk.texel(iwt);\nvfloat4 error_weight = ewb.error_weights[iwt];\n- if (...
C
Apache License 2.0
arm-software/astc-encoder
Remove min/max filtering Zero weight border texels are replicated copies of non-zero weight ones, so this is not needed.
61,745
19.06.2021 20:03:36
-3,600
88a4bda2902704328ef937196173c6787bce96c0
Use compute_avgs_and_dirs_3_comp_rgb
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_pick_best_endpoint_format.cpp", "new_path": "Source/astcenc_pick_best_endpoint_format.cpp", "diff": "@@ -203,7 +203,7 @@ static void compute_encoding_choice_errors(\npartition_metrics pms[BLOCK_MAX_PARTITIONS];\n- compute_avgs_and_dirs_3_comp(pi...
C
Apache License 2.0
arm-software/astc-encoder
Use compute_avgs_and_dirs_3_comp_rgb
61,745
19.06.2021 20:08:50
-3,600
f3fb4c04b516a97db257d415986461a5b1e83f32
Remove min/max from compute_avgs_and_dirs_3_comp
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -188,8 +188,6 @@ void compute_avgs_and_dirs_3_comp(\nvfloat4 error_sum = vfloat4::zero();\nvfloat4 base_sum = vfloat4::zero();\n- vfloat4 rgb_min...
C
Apache License 2.0
arm-software/astc-encoder
Remove min/max from compute_avgs_and_dirs_3_comp
61,745
19.06.2021 20:10:48
-3,600
30abdf0a0279379458ca4770a23cc5f79a25be5e
Remove obsolete range_sq and computation of it
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -40,8 +40,6 @@ void compute_avgs_and_dirs_4_comp(\nvfloat4 error_sum = vfloat4::zero();\nvfloat4 base_sum = vfloat4::zero();\n- vfloat4 rgba_min(...
C
Apache License 2.0
arm-software/astc-encoder
Remove obsolete range_sq and computation of it
61,745
19.06.2021 20:25:21
-3,600
32e87ddde23ae5abf673a80dd69a9277476db675
Simplify params for compute_partition_error_color_weightings
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -31,6 +31,7 @@ void compute_avgs_and_dirs_4_comp(\nconst error_weight_block& ewb,\npartition_metrics pm[BLOCK_MAX_PARTITIONS]\n) {\n+ // TODO: Ca...
C
Apache License 2.0
arm-software/astc-encoder
Simplify params for compute_partition_error_color_weightings
61,745
19.06.2021 22:02:02
-3,600
f91dd1a6211b503969be90e23c8eca58eeab27c2
Re-add code to force high to be > low ...
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -988,6 +988,14 @@ void compute_quantized_weights_for_decimation(\nfloat quant_level_m1 = quant_levels_m1[quant_level];\n// Quantize the w...
C
Apache License 2.0
arm-software/astc-encoder
Re-add code to force high to be > low ...
61,745
19.06.2021 22:11:34
-3,600
1205d61135d65fef6dbbe6d9b08d9690dd438734
Improve code to force high to be > low
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -989,14 +989,13 @@ void compute_quantized_weights_for_decimation(\n// Quantize the weight set using both the specified low/high bounds an...
C
Apache License 2.0
arm-software/astc-encoder
Improve code to force high to be > low
61,745
19.06.2021 22:19:25
-3,600
898a7a1726d5d375c358cdac0c813875c42c6202
Use count for always blocks, not flag
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes.cpp", "new_path": "Source/astcenc_block_sizes.cpp", "diff": "@@ -801,7 +801,6 @@ static int construct_dt_entry_2d(\n// Default to not enabled - we'll populate these based on active block modes\nbsd.decimation_modes[dm_index].percenti...
C
Apache License 2.0
arm-software/astc-encoder
Use count for always blocks, not flag
61,745
20.06.2021 00:05:24
-3,600
98356da676bed790f133039419132a838a58c675
Improve debug logs for search failures
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "@@ -65,6 +65,10 @@ static const unsigned int quantization_steps_for_level[13] {\nalignas(ASTCENC_VECALIGN) static float sin_table[SINCOS_STEPS][ANGULAR_STEPS];\nalignas(A...
C
Apache License 2.0
arm-software/astc-encoder
Improve debug logs for search failures
61,745
21.06.2021 10:19:12
-3,600
ee9fdc21e1bce964a639d7588e9fbe6fcdcb2f4c
Rename MODE0 fast path control
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1431,7 +1431,7 @@ void compress_block(\nstatic const float errorval_overshoot = 1.0f / ctx.config.tune_refinement_mse_overshoot;\n- int start_trial = bsd->t...
C
Apache License 2.0
arm-software/astc-encoder
Rename MODE0 fast path control
61,745
21.06.2021 13:44:38
-3,600
fdbd5cf85f7d00d24343cf23179a6da4bb306dfb
Skip MODE0 fast path for 3D textures
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes.cpp", "new_path": "Source/astcenc_block_sizes.cpp", "diff": "@@ -1062,7 +1062,6 @@ static void construct_block_size_descriptor_3d(\n}\nbsd.decimation_mode_count = decimation_mode_count;\n- bsd.always_decimation_mode_count = 1;\n// Co...
C
Apache License 2.0
arm-software/astc-encoder
Skip MODE0 fast path for 3D textures
61,745
21.06.2021 21:29:10
-3,600
4601741ce8c000183b23b38aa18fba5c80b15183
Remove TODOs that have been checked
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_image.cpp", "new_path": "Source/astcenc_image.cpp", "diff": "@@ -246,7 +246,6 @@ void fetch_image_block(\n}\n// Reverse the encoding so we store origin block in the original format\n- // TODO: Move this to when we consume it, as we rarely do?\nv...
C
Apache License 2.0
arm-software/astc-encoder
Remove TODOs that have been checked
61,745
21.06.2021 22:59:52
-3,600
6ddbbfbb82901ae43ab08b6962c136bf3239db42
Remove old optimization TODOs that have been tried
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes.cpp", "new_path": "Source/astcenc_block_sizes.cpp", "diff": "@@ -863,7 +863,6 @@ static void construct_block_size_descriptor_2d(\nunsigned int x_weights, y_weights;\nbool is_dual_plane;\n- // TODO: Make this an enum? It's been valida...
C
Apache License 2.0
arm-software/astc-encoder
Remove old optimization TODOs that have been tried
61,745
22.06.2021 18:43:24
-3,600
8d7ac4dc84fc1af5da159f75f4513b84411ac9a1
Make search warnings INFO messages, as now expected
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "@@ -333,7 +333,7 @@ static void compute_angular_endpoints_for_quant_levels(\nif ((bsi < 0) && print_once)\n{\nprint_once = false;\n- printf(\"WARNING: Unable to find full...
C
Apache License 2.0
arm-software/astc-encoder
Make search warnings INFO messages, as now expected
61,757
23.06.2021 00:27:49
-3,600
f66638ada3845feb1e4fd14aec183f6a414a82e7
Remove aarch32|aarch32hf build support Also removes setting CMAKE_OSX_ARCHITECTURES explicitely to not mess with universal builds
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -35,7 +35,7 @@ function(printopt optName optVal optArch tgtArch)\nendif()\nendfunction()\n-set(VALID_ARCH aarch64 aarch32 aarch32hf x64)\n+set(VALID_ARCH aarch64 x64)\nset(ARCH x64 CACHE STRING \"Targe...
C
Apache License 2.0
arm-software/astc-encoder
Remove aarch32|aarch32hf build support Also removes setting CMAKE_OSX_ARCHITECTURES explicitely to not mess with universal builds
61,757
23.06.2021 00:35:15
-3,600
45013b8206e30899b7ab4a14ec4db04016d8bd25
Add back CMAKE_OSX_ARCHITECTURES to enable cross builds
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -118,6 +118,19 @@ if(NOT ${ANY_ISA})\nmessage(FATAL_ERROR \"At least one backend ISA must be enabled\")\nendif()\n+\n+# Project configuration\n+\n+# Must be done after project() but before compiler set...
C
Apache License 2.0
arm-software/astc-encoder
Add back CMAKE_OSX_ARCHITECTURES to enable cross builds
61,757
23.06.2021 00:37:18
-3,600
123379694f579a5e29b8edbbe9e13cc406f7240e
Add else class to flag unsupported architectures
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -129,6 +129,9 @@ if(${ARCH} MATCHES \"aarch64\")\nelseif(${ARCH} MATCHES \"x86_64\")\nset(CMAKE_OSX_ARCHITECTURES \"x86_64\")\n+else()\n+ message(FATAL_ERROR \"Unsupported architecture\")\n+\nendif()\n...
C
Apache License 2.0
arm-software/astc-encoder
Add else class to flag unsupported architectures
61,745
23.06.2021 09:45:42
-3,600
b755651d494fd443cff2c0416ecca49bbed3745d
Update builds to use explicit ARCH setting
[ { "change_type": "MODIFY", "old_path": "Docs/Building.md", "new_path": "Docs/Building.md", "diff": "@@ -26,11 +26,11 @@ cd build\n# x86-64 using NMake\ncmake -G \"NMake Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.\\ ^\n- -DISA_AVX2=ON -DISA_SSE41=ON -DISA_SSE2=ON ..\n+ -DARCH=x64 ...
C
Apache License 2.0
arm-software/astc-encoder
Update builds to use explicit ARCH setting
61,745
23.06.2021 09:48:08
-3,600
a88feacde24a98425b988e1c9539b94d06a8593b
Remove armv7 NEON backend
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib_neon_4.h", "new_path": "Source/astcenc_vecmathlib_neon_4.h", "diff": "#include <cstdio>\n-#if defined(__arm__)\n- #include \"astcenc_vecmathlib_neon_armv7_4.h\"\n-#endif\n-\n// =========================================================...
C
Apache License 2.0
arm-software/astc-encoder
Remove armv7 NEON backend
61,757
25.06.2021 14:36:40
-3,600
335d167b688049266c39801e906c909b14aade31
Fix warning/error on iOS build
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_platform_dependents.cpp", "new_path": "Source/astcenccli_platform_dependents.cpp", "diff": "@@ -103,7 +103,7 @@ double get_time()\n/* See header for documentation */\nint get_cpu_count()\n{\n- return sysconf(_SC_NPROCESSORS_ONLN);\n+ return s...
C
Apache License 2.0
arm-software/astc-encoder
Fix warning/error on iOS build (#269)
61,757
25.06.2021 14:55:06
-3,600
c5209d3f8e9c67b676d9315129c756e50f65811c
Add CLI=ON/OFF option
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -38,6 +38,7 @@ option(ISA_NONE \"Enable builds for no SIMD\")\noption(DECOMPRESSOR \"Enable builds for decompression only\")\noption(DIAGNOSTICS \"Enable builds for diagnostic trace\")\noption(UNITTEST...
C
Apache License 2.0
arm-software/astc-encoder
Add CLI=ON/OFF option (#270)
61,757
28.06.2021 15:42:30
-3,600
9e9d79c4ef390f79cf0a9e0cfee3efd773ce30bd
Disable warning C4324: structure padding
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -20,6 +20,10 @@ cmake_minimum_required(VERSION 3.15)\ncmake_policy(SET CMP0069 NEW) # LTO support\ncmake_policy(SET CMP0091 NEW) # MSVC runtime support\n+if(MSVC)\n+ add_compile_options(\"/wd4324\") # ...
C
Apache License 2.0
arm-software/astc-encoder
Disable warning C4324: structure padding (#271)
61,745
29.06.2021 14:51:49
-3,600
3d010359c33027c989a1c06e07e101ecc6007349
Disable softfloat in NEON builds
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_mathlib.h", "new_path": "Source/astcenc_mathlib.h", "diff": "@@ -418,7 +418,7 @@ uint64_t rand(uint64_t state[2]);\n/* ============================================================================\nSoftfloat library with fp32 and fp16 conversion ...
C
Apache License 2.0
arm-software/astc-encoder
Disable softfloat in NEON builds
61,757
29.06.2021 17:13:26
-3,600
8e62178a1c71c376e223604bf74811f7c8b50f80
Hide optimisation options behind CLI option Don't force library and LTO settings when building as a library, as these may not be compatible with user code.
[ { "change_type": "MODIFY", "old_path": "Source/CMakeLists.txt", "new_path": "Source/CMakeLists.txt", "diff": "# Overwrite the LTO flags to force fat LTO; worth 3-4% performance\n# See https://gitlab.kitware.com/cmake/cmake/-/issues/16808\n-if(CMAKE_CXX_COMPILER_ID MATCHES \"GNU|Clang\")\n+if(CMAKE_C...
C
Apache License 2.0
arm-software/astc-encoder
Hide optimisation options behind CLI option (#272) Don't force library and LTO settings when building as a library, as these may not be compatible with user code.
61,745
29.06.2021 17:18:31
-3,600
5706668c8246b9ec130b67f1fcd284be1d244e1e
CMake whitespace cleanup
[ { "change_type": "MODIFY", "old_path": "Source/CMakeLists.txt", "new_path": "Source/CMakeLists.txt", "diff": "# SPDX-License-Identifier: Apache-2.0\n# ----------------------------------------------------------------------------\n-# Copyright 2020 Arm Limited\n+# Copyright 2020-2021 Arm Limited\n#\n#...
C
Apache License 2.0
arm-software/astc-encoder
CMake whitespace cleanup
61,745
29.06.2021 18:11:57
-3,600
2003150070c13536908714bd6eb031e678d7a2ca
CMake configure_file propagates version
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_toplevel_help.cpp", "new_path": "Source/astcenccli_toplevel_help.cpp", "diff": "*/\n#include \"astcenccli_internal.h\"\n+#include \"astcenccli_version.h\"\n/** @brief The version header. */\nstatic const char *astcenc_copyright_string =\n-R\"...
C
Apache License 2.0
arm-software/astc-encoder
CMake configure_file propagates version
61,745
01.07.2021 20:10:40
-3,600
7257cbd7188b07960f772f322c54aa4ab4e788a3
Re-add native ISA support
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -39,6 +39,7 @@ option(ISA_SSE41 \"Enable builds for SSE4.1 SIMD\")\noption(ISA_SSE2 \"Enable builds for SSE2 SIMD\")\noption(ISA_NEON \"Enable builds for NEON SIMD\")\noption(ISA_NONE \"Enable builds f...
C
Apache License 2.0
arm-software/astc-encoder
Re-add native ISA support (#274)
61,745
13.07.2021 14:04:38
-3,600
0859af5f10b045613f4b8901e717bcd42e3f3c7e
Add a minimal example of using astcenc library API
[ { "change_type": "MODIFY", "old_path": "Docs/Building.md", "new_path": "Docs/Building.md", "diff": "@@ -175,3 +175,11 @@ make package -j16\nWindows packages will use the `.zip` format, other packages will use the\n`.tar.gz` format.\n+\n+## Integrating as a library into another project\n+\n+The core ...
C
Apache License 2.0
arm-software/astc-encoder
Add a minimal example of using astcenc library API (#276)
61,745
13.07.2021 14:11:19
-3,600
d8294c1b92ed999b3957003073ed3b24ef58b2dc
Fake a version header for oss-fuzz builds
[ { "change_type": "MODIFY", "old_path": "Source/Fuzzers/build.sh", "new_path": "Source/Fuzzers/build.sh", "diff": "# This script is invoked by oss-fuzz from <root>/Source/\n+# Generate a dummy verison header (normally built by CMake variable expansion)\n+echo \"#pragma once\" > astcenccli_version.h\n...
C
Apache License 2.0
arm-software/astc-encoder
Fake a version header for oss-fuzz builds
61,745
13.07.2021 19:29:14
-3,600
1ba523948de1e9de9dcfa05ccba99e9718d01301
Add example note about ExternalProject usage in CMake
[ { "change_type": "MODIFY", "old_path": "Utils/Example/README.md", "new_path": "Utils/Example/README.md", "diff": "@@ -13,6 +13,17 @@ as a PNG file.\n## Building\n+:warning: For sake of simplicity the example CMake project uses the CMake\n+`ExternalProject` mechanism to import the astcenc project fro...
C
Apache License 2.0
arm-software/astc-encoder
Add example note about ExternalProject usage in CMake