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
17.02.2021 08:45:26
0
5093cb983e995d7ad8fd9db9fdd9adedec03ada5
Use selects in compute_avgs_and_dirs
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -83,25 +83,19 @@ void compute_averages_and_directions_rgba(\nvfloat4 texel_datum = blk->texel(iwt);\ntexel_datum = (texel_datum - average) * weig...
C
Apache License 2.0
arm-software/astc-encoder
Use selects in compute_avgs_and_dirs
61,745
17.02.2021 09:01:23
0
68c63b4fe6ff78daf79ddcbec4d5af6f617bb113
Use swizzle in hdr endpoint encoding
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_color_quantize.cpp", "new_path": "Source/astcenc_color_quantize.cpp", "diff": "@@ -886,10 +886,10 @@ static void quantize_hdr_rgbo3(\nswitch (majcomp)\n{\ncase 1:\n- color = vfloat4(color.lane<1>(), color.lane<0>(), color.lane<2>(), color.lane<3...
C
Apache License 2.0
arm-software/astc-encoder
Use swizzle in hdr endpoint encoding
61,745
17.02.2021 09:06:34
0
7aaa54c095c251baf0cc8976094104b4f1a1e1f4
Branch cleanup in hdr_rgb_unpack3
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_color_unquantize.cpp", "new_path": "Source/astcenc_color_unquantize.cpp", "diff": "@@ -511,23 +511,28 @@ static void hdr_rgb_unpack3(\nc |= bit2 << 7;\nif (ohmod & 0x5B)\n+ {\nb0 |= bit0 << 6;\n- if (ohmod & 0x5B)\nb1 |= bit1 << 6;\n+ }\nif (ohm...
C
Apache License 2.0
arm-software/astc-encoder
Branch cleanup in hdr_rgb_unpack3
61,745
17.02.2021 20:39:37
0
48d58ffa4525d1e08db556a7d67985c93b1af300
Simplify in compute_endpoints_and_ideal_weights
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -226,23 +226,20 @@ static void compute_endpoints_and_ideal_weights_2_components(\nfor (int i = 0; i < partition_count; i++)\n{\n- float2 ...
C
Apache License 2.0
arm-software/astc-encoder
Simplify in compute_endpoints_and_ideal_weights
61,745
18.02.2021 08:29:09
0
874bbcc3d51bdc8d9bf678dad89ca6cdc10a0f0c
Tune -thorough: more refinement fewer parts/bmodes
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -120,7 +120,7 @@ static const std::array<astcenc_preset_config, 5> preset_configs {{\n25, 75, 2, 2, 95, 70, 1.75f, 1.75f, 1.2f, 0.75f\n}, {\nASTCENC_PRE_THOROUGH,\n- 100, 95, 4, 3, ...
C
Apache License 2.0
arm-software/astc-encoder
Tune -thorough: more refinement fewer parts/bmodes
61,745
18.02.2021 18:01:15
0
e383de7072a421636cf887fbb1163f7daa7ed0b5
Update help text with new tunings
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_toplevel_help.cpp", "new_path": "Source/astcenccli_toplevel_help.cpp", "diff": "@@ -299,7 +299,7 @@ ADVANCED COMPRESSION\n-fastest : 2\n-fast : 4\n-medium : 25\n- -thorough : 100\n+ -thorough : 75\n-exhaustive : 1024\n-blockmodelimit <number>...
C
Apache License 2.0
arm-software/astc-encoder
Update help text with new tunings
61,745
18.02.2021 18:59:31
0
4d523eedadd2dcd902a6e4b727c6ff395e898c68
Add partition count as a tuning parameter
[ { "change_type": "MODIFY", "old_path": "Source/astcenc.h", "new_path": "Source/astcenc.h", "diff": "@@ -418,11 +418,18 @@ struct astcenc_config {\nfloat b_deblock_weight;\n/**\n- * @brief The maximum number of partitions searched (-partitionlimit).\n+ * @brief The maximum number of partitions search...
C
Apache License 2.0
arm-software/astc-encoder
Add partition count as a tuning parameter
61,745
19.02.2021 13:53:23
0
d5178ded4dc328581c4ed156711b01fe207843e3
Cleanup from main branch rename
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -32,5 +32,5 @@ TestOutput\n/*.png\n/*.exr\n/*.astc\n-astc_reference-master*\n+astc_reference-main*\nDocs/Profiling.md\n" }, { "change_type": "MODIFY", "old_path": "README.md", "new_path": "READ...
C
Apache License 2.0
arm-software/astc-encoder
Cleanup from main branch rename
61,745
19.02.2021 14:38:52
0
37925b970aa5b9df74d1df6ad4ad82a1c517fcfc
Split help string.
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_toplevel_help.cpp", "new_path": "Source/astcenccli_toplevel_help.cpp", "diff": "@@ -195,7 +195,10 @@ COMPRESSION\nRun a preprocess over the image that scales RGB components\nin the image by the alpha value. Preprocessing applies before any\nc...
C
Apache License 2.0
arm-software/astc-encoder
Split help string.
61,745
19.02.2021 14:39:21
0
f29a54443d5d321d1f9129eca1ee0895ec039e3c
Add workaround for MSVC bug with _mm_cvtps_ph
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib_sse_4.h", "new_path": "Source/astcenc_vecmathlib_sse_4.h", "diff": "@@ -1076,7 +1076,13 @@ ASTCENC_SIMD_INLINE vfloat4 int_to_float(vint4 a)\nASTCENC_SIMD_INLINE vint4 float_to_float16(vfloat4 a)\n{\n#if ASTCENC_F16C >= 1\n+ // Workar...
C
Apache License 2.0
arm-software/astc-encoder
Add workaround for MSVC bug with _mm_cvtps_ph
61,745
19.02.2021 01:03:15
0
cf3de1d8ad2cb41c189bc4f16359fcaebdf8f01e
Improve minify test script
[ { "change_type": "MODIFY", "old_path": "Test/astc_minify_test.sh", "new_path": "Test/astc_minify_test.sh", "diff": "#!/bin/bash\n-./astcenc/astcenc-avx2-good -tl in.png out-good.png 6x6 -medium\n+BLOCK_SIZE=6x6\n+QUALITY=-thorough\n-./astcenc/astcenc-avx2 -tl in.png out-bad.png 6x6 -medium\n+./astce...
C
Apache License 2.0
arm-software/astc-encoder
Improve minify test script
61,745
19.02.2021 08:23:21
0
0e6c184ad4797f78df766982c154cbae2230330b
Standardize on pt for partition table variables
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -220,14 +220,14 @@ static float compress_symbolic_block_fixed_partition_1_plane(\n0, 115 - 4, 111 - 4 - PARTITION_BITS, 108 - 4 - PARTITION_BITS, 105 - 4 - P...
C
Apache License 2.0
arm-software/astc-encoder
Standardize on pt for partition table variables
61,745
19.02.2021 08:24:21
0
7ae38a14cd5fd0192334d9398c4b49d2be8df95a
Standardize on blk for image block variables
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_decompress_symbolic.cpp", "new_path": "Source/astcenc_decompress_symbolic.cpp", "diff": "@@ -285,7 +285,7 @@ float compute_symbolic_block_difference(\nastcenc_profile decode_mode,\nconst block_size_descriptor* bsd,\nconst symbolic_compressed_blo...
C
Apache License 2.0
arm-software/astc-encoder
Standardize on blk for image block variables
61,745
19.02.2021 09:04:36
0
0ea58b1671ea68ff7f023302eb832a7f3b1e8db0
Make is_lum and is_lumalp HDR safe
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_encoding_choice_error.cpp", "new_path": "Source/astcenc_encoding_choice_error.cpp", "diff": "@@ -98,7 +98,7 @@ static void compute_error_squared_rgb_single_partition(\nvfloat4 ews = ewb->error_weights[i];\n// Compute the error that arises from j...
C
Apache License 2.0
arm-software/astc-encoder
Make is_lum and is_lumalp HDR safe
61,745
20.02.2021 15:59:23
0
4d1f520fc9b32b8dda0f077dd7b82583a2e3cbb4
Vectorize stdev/variance conversion
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1044,11 +1044,7 @@ static float prepare_error_weight_block(\nvariance.set_lane<1>(fvar * mixing + variance.lane<1>() * (1.0f - mixing));\nvariance.set_lane<...
C
Apache License 2.0
arm-software/astc-encoder
Vectorize stdev/variance conversion
61,745
20.02.2021 16:17:22
0
2b3881776ad0df82a36f6a7c99ceb86588248c7b
Make vec4 normalize ISA agnostic, add _safe ver
[ { "change_type": "MODIFY", "old_path": "Source/UnitTest/test_simd.cpp", "new_path": "Source/UnitTest/test_simd.cpp", "diff": "@@ -981,6 +981,26 @@ TEST(vfloat4, normalize)\nEXPECT_NEAR(r.lane<3>(), 4.0f / astc::sqrt(30.0f), 0.0005f);\n}\n+/** @brief Test vfloat4 normalize_safe. */\n+TEST(vfloat4, no...
C
Apache License 2.0
arm-software/astc-encoder
Make vec4 normalize ISA agnostic, add _safe ver
61,745
20.02.2021 17:23:58
0
0e2e155d78883a69cf7aff87a214230beaedf6bb
Style cleanup find_best_partitionings
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_find_best_partitioning.cpp", "new_path": "Source/astcenc_find_best_partitioning.cpp", "diff": "@@ -58,8 +58,8 @@ static void compute_partition_error_color_weightings_and_range(\nconst error_weight_block* ewb,\nconst partition_info* pt,\nvfloat4 ...
C
Apache License 2.0
arm-software/astc-encoder
Style cleanup find_best_partitionings
61,745
20.02.2021 18:27:38
0
dd77b435ef696bf8ed36c54ffc7e675826fff74d
Use texel_count convention for partition_info
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -55,7 +55,7 @@ void compute_avgs_and_dirs_4_comp(\nvfloat4 base_sum = vfloat4::zero();\nfloat partition_weight = 0.0f;\n- int texel_count = pt->t...
C
Apache License 2.0
arm-software/astc-encoder
Use texel_count convention for partition_info
61,745
20.02.2021 19:55:28
0
bb8439910ef870c3ac3f383d105a02ed59c2a825
Skip dual plane partition metrics if not needed
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1282,6 +1282,8 @@ void compress_block(\nbool block_is_la = imageblock_is_lumalp(blk);\nfloat block_is_la_scale = block_is_la ? 1.0f / 1.05f : 1.0f;\n+ bool ...
C
Apache License 2.0
arm-software/astc-encoder
Skip dual plane partition metrics if not needed
61,745
20.02.2021 22:02:10
0
9990b6bab4749404ecdd6f4f8c84a720182a82d1
Use helper functions for safe normalization
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_encoding_choice_error.cpp", "new_path": "Source/astcenc_encoding_choice_error.cpp", "diff": "@@ -187,14 +187,14 @@ void compute_encoding_choice_errors(\npartition_metrics& pm = pms[i];\n// TODO: Can we skip rgb_luma_lines for LDR images?\n- line...
C
Apache License 2.0
arm-software/astc-encoder
Use helper functions for safe normalization
61,745
20.02.2021 23:07:46
0
8b8ee4f32d5dd44e5cca88665dfe541e1c09e45d
Exploit same chroma line.amod always being zero
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -408,10 +408,7 @@ void compute_error_squared_rgba(\nvfloat l_samec_bs2(l_samec.bs.lane<2>());\nvfloat l_samec_bs3(l_samec.bs.lane<3>());\n- vfloa...
C
Apache License 2.0
arm-software/astc-encoder
Exploit same chroma line.amod always being zero
61,745
20.02.2021 23:38:04
0
4ba784b4955d04041a1764908312da5c1fddc9bf
Whitespace and comment cleanup
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "@@ -121,7 +121,8 @@ static void compute_angular_offsets(\nvfloat sample_weightv(sample_weight);\npromise(max_angular_steps > 0);\n- for (int j = 0; j < max_angular_steps;...
C
Apache License 2.0
arm-software/astc-encoder
Whitespace and comment cleanup
61,745
20.02.2021 23:58:40
0
3cf41968040fe0ae4d62e5d04b604afdf01512ba
Remove collection of old TODO comments
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -362,8 +362,6 @@ void compute_error_squared_rgba(\nfor (int partition = 0; partition < partition_count; partition++)\n{\n- // TODO: sort partitio...
C
Apache License 2.0
arm-software/astc-encoder
Remove collection of old TODO comments
61,745
21.02.2021 00:14:35
0
b5792b7b6b2bf948b0c6da6121afa2af8333c555
Break out of find_best_partitions for degenerate cases
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_find_best_partitioning.cpp", "new_path": "Source/astcenc_find_best_partitioning.cpp", "diff": "@@ -180,11 +180,10 @@ void find_best_partitionings(\n{\nint partition = partition_sequence[i];\n- // TODO: Can we avoid returning these completely?\ni...
C
Apache License 2.0
arm-software/astc-encoder
Break out of find_best_partitions for degenerate cases
61,745
21.02.2021 00:40:49
0
d4b3681c2d1383092397d788f7cd778354c943db
Avoid needless memcpy of large struct
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -247,9 +247,8 @@ static float compress_symbolic_block_fixed_partition_1_plane(\ncontinue;\n}\n- eix[i] = *ei;\n-\ncompute_ideal_weights_for_decimation_table(...
C
Apache License 2.0
arm-software/astc-encoder
Avoid needless memcpy of large struct
61,745
21.02.2021 17:31:50
0
7d33dfb248ed301bc43686cbaf290b6824e38686
Add SIMD path to compute_ideal_weights_for_decimation_table
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -862,7 +862,7 @@ void compute_ideal_weights_for_decimation_table(\n}\n// Otherwise compute an estimate and perform single refinement iter...
C
Apache License 2.0
arm-software/astc-encoder
Add SIMD path to compute_ideal_weights_for_decimation_table
61,745
22.02.2021 08:08:42
0
3db20de52068b4bc1fa29d5fa2bd7eba54ee6e9c
Add absolute scores to test image runner
[ { "change_type": "MODIFY", "old_path": "Test/testlib/resultset.py", "new_path": "Test/testlib/resultset.py", "diff": "@@ -66,14 +66,20 @@ class ResultSummary():\n\"\"\"\nCreate a new result summary.\n\"\"\"\n+ # Pass fail metrics\nself.notruns = 0\nself.passes = 0\nself.warnings = 0\nself.fails = 0\...
C
Apache License 2.0
arm-software/astc-encoder
Add absolute scores to test image runner
61,745
22.02.2021 11:33:47
0
327da11270bf817bb3f1994322d9db24aeaade6a
Standardize on dts/dt for decimation table(s)
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -65,9 +65,8 @@ static int realign_weights(\nconst quantization_and_transfer_table *qat = &(quant_and_xfer_tables[weight_quant_level]);\n// Get the decimation...
C
Apache License 2.0
arm-software/astc-encoder
Standardize on dts/dt for decimation table(s)
61,745
24.02.2021 21:38:08
0
adc5d13664421e5462f596174a28444859b2bfd8
Fix comment in SSE asr function
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib_sse_4.h", "new_path": "Source/astcenc_vecmathlib_sse_4.h", "diff": "@@ -579,7 +579,7 @@ template <int s> ASTCENC_SIMD_INLINE vint4 lsl(vint4 a)\n}\n/**\n- * @brief Logical shift right.\n+ * @brief Arithmetic shift right.\n*/\ntemplate...
C
Apache License 2.0
arm-software/astc-encoder
Fix comment in SSE asr function
61,745
24.02.2021 21:56:41
0
a7c3a6a33e9f0dd4301ae34e9df9c907639d9960
Fix diagnostics build
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1396,9 +1396,10 @@ void compress_block(\n#if !defined(ASTCENC_DIAGNOSTICS)\nlowest_correl = prepare_block_statistics(bsd->texel_count, blk, ewb);\n- block_s...
C
Apache License 2.0
arm-software/astc-encoder
Fix diagnostics build
61,745
25.02.2021 18:32:36
0
873824ab741cac2ee7cab5464a850a218e3fe313
Use vectorized accumulators in loop tails This change allows vector loop bodies to run for the full loop count for any vector width by making all loop tail accumulators behave the same as a vec4 accumulator in terms of floating point reassociation.
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -378,11 +378,6 @@ void compute_error_squared_rgba(\nint i = 0;\n-#if ASTCENC_SIMD_WIDTH > 1\n- // This implementation is an example vectorization...
C
Apache License 2.0
arm-software/astc-encoder
Use vectorized accumulators in loop tails (#225) This change allows vector loop bodies to run for the full loop count for any vector width by making all loop tail accumulators behave the same as a vec4 accumulator in terms of floating point reassociation.
61,745
25.02.2021 20:23:51
0
fd9c64529cd603e8642a7e336b12bcb23dce55f6
Add cmake support static library builds
[ { "change_type": "MODIFY", "old_path": "Source/cmake_core.cmake", "new_path": "Source/cmake_core.cmake", "diff": "@@ -20,10 +20,8 @@ project(astc${CODEC}-${ISA_SIMD})\nset(GNU_LIKE \"GNU,Clang,AppleClang\")\nset(CLANG_LIKE \"Clang,AppleClang\")\n-add_executable(astc${CODEC}-${ISA_SIMD})\n-\n-target_...
C
Apache License 2.0
arm-software/astc-encoder
Add cmake support static library builds
61,745
27.02.2021 20:07:47
0
d04c640ef73b7e86cf6fc62041ebba5b7bc32ce4
Fix missing array transpose in debug assert
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -861,7 +861,7 @@ void compute_ideal_weights_for_decimation_table(\n{\nfor (int i = 0; i < texel_count; i++)\n{\n- assert(i == dt.weight_t...
C
Apache License 2.0
arm-software/astc-encoder
Fix missing array transpose in debug assert
61,764
27.02.2021 22:24:21
-7,200
f81b75728c59a7b567429ee6ca49063a3f467762
Use bool for have_z Easier to convert to other languages
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compute_variance.cpp", "new_path": "Source/astcenc_compute_variance.cpp", "diff": "@@ -117,7 +117,7 @@ static void compute_pixel_region_variance(\nfloat rgb_power = arg->rgb_power;\nfloat alpha_power = arg->alpha_power;\nastcenc_swizzle swz = ar...
C
Apache License 2.0
arm-software/astc-encoder
Use bool for have_z (#226) Easier to convert to other languages
61,745
27.02.2021 21:09:40
0
4bf8a9859e8f0577558da535f2db81fcb258d2b1
clangcl.exe - Add default inititalizer
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -1447,8 +1447,8 @@ void compress_block(\n// find best blocks for 2, 3 and 4 partitions\nfor (int partition_count = 2; partition_count <= max_partitions; part...
C
Apache License 2.0
arm-software/astc-encoder
clangcl.exe - Add default inititalizer
61,745
27.02.2021 21:09:59
0
9aaf0a465f087a88872da1a14a100aabf947399f
clangcl.exe - Add float LERP casts
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -424,8 +424,10 @@ astcenc_error astcenc_config_init(\nfloat wt_node_b = (quality - node_a.quality) / wt_range;\n#define LERP(param) ((node_a.param * wt_node_a) + (node_b.param * wt_...
C
Apache License 2.0
arm-software/astc-encoder
clangcl.exe - Add float LERP casts
61,745
27.02.2021 21:10:26
0
942b38e0c27a382b7f6ba62ca2b47afa8afda816
clangcl.exe - Make constants floats
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_image.cpp", "new_path": "Source/astcenc_image.cpp", "diff": "@@ -152,7 +152,7 @@ void imageblock_initialize_deriv(\nvfloat4 dataf = float16_to_float(datai);\ndataf = max(dataf, 6e-5f);\n- vfloat4 data_lns1 = dataf * 1.05;\n+ vfloat4 data_lns1 = ...
C
Apache License 2.0
arm-software/astc-encoder
clangcl.exe - Make constants floats
61,745
27.02.2021 21:11:01
0
e34fa221698532c89cf491b499b87b4235109e94
Remove spurious double ;;
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_kmeans_partitioning.cpp", "new_path": "Source/astcenc_kmeans_partitioning.cpp", "diff": "@@ -100,7 +100,7 @@ static void kmeans_init(\n}\n// update the distances with the new point.\n- center_color = blk->texel(sample);;\n+ center_color = blk->t...
C
Apache License 2.0
arm-software/astc-encoder
Remove spurious double ;;
61,745
27.02.2021 21:11:27
0
c858ed4d449b242f1773946f182ddaf64380272c
Make some TU-local functions static
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_mathlib_softfloat.cpp", "new_path": "Source/astcenc_mathlib_softfloat.cpp", "diff": "@@ -134,7 +134,7 @@ static uint32_t rtup_shift32(uint32_t inp, uint32_t shamt)\n}\n/* convert from FP16 to FP32. */\n-sf32 sf16_to_sf32(sf16 inp)\n+static sf32 ...
C
Apache License 2.0
arm-software/astc-encoder
Make some TU-local functions static
61,745
27.02.2021 21:11:53
0
f516bb64fc7aaf5262e7f317b48dd7dbfee4a24f
Fix min/max type on vint4 clamp()
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib_neon_4.h", "new_path": "Source/astcenc_vecmathlib_neon_4.h", "diff": "@@ -583,7 +583,7 @@ ASTCENC_SIMD_INLINE vint4 max(vint4 a, vint4 b)\n/**\n* @brief Return the clamped value between min and max.\n*/\n-ASTCENC_SIMD_INLINE vint4 cla...
C
Apache License 2.0
arm-software/astc-encoder
Fix min/max type on vint4 clamp()
61,745
27.02.2021 21:17:25
0
5efaac8e8d3233b8cb3012761a141610957b7636
Fix type casts on float DDS/KTX loads
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_image_load_store.cpp", "new_path": "Source/astcenccli_image_load_store.cpp", "diff": "@@ -218,7 +218,7 @@ static void copy_scanline(\n#define id(x) (x)\n#define u16_sf16(x) float_to_float16(x * (1.0f/65535.0f))\n-#define f32_sf16(x) float16_t...
C
Apache License 2.0
arm-software/astc-encoder
Fix type casts on float DDS/KTX loads
61,745
27.02.2021 21:21:33
0
67ca698688e0377e4419f8da667da33ad4bc5472
Remove F16C workaround for MSVC
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib_sse_4.h", "new_path": "Source/astcenc_vecmathlib_sse_4.h", "diff": "@@ -1193,13 +1193,7 @@ ASTCENC_SIMD_INLINE vfloat4 int_to_float(vint4 a)\nASTCENC_SIMD_INLINE vint4 float_to_float16(vfloat4 a)\n{\n#if ASTCENC_F16C >= 1\n- // Workar...
C
Apache License 2.0
arm-software/astc-encoder
Remove F16C workaround for MSVC
61,745
27.02.2021 21:34:11
0
4bec970b9d309c9e0189bdf4691e918f4abc8d7b
Windows builds default to /fp:strict
[ { "change_type": "MODIFY", "old_path": "Source/cmake_core.cmake", "new_path": "Source/cmake_core.cmake", "diff": "@@ -95,6 +95,7 @@ macro(astcenc_set_properties NAME)\n# MSVC compiler defines\n$<$<CXX_COMPILER_ID:MSVC>:/EHsc>\n+ $<$<CXX_COMPILER_ID:MSVC>:/fp:strict>\n# G++ and Clang++ compiler defin...
C
Apache License 2.0
arm-software/astc-encoder
Windows builds default to /fp:strict
61,745
27.02.2021 21:50:12
0
11e85ab3541a38f1fb31f14de2d3024e26bd331b
Only scale test counts if repeats > 1
[ { "change_type": "MODIFY", "old_path": "Test/astc_test_image.py", "new_path": "Test/astc_test_image.py", "diff": "@@ -462,9 +462,9 @@ def main():\n# The fast and fastest presets are now sufficiently fast that\n# the results are noisy without more repeats\ntestRepeats = args.testRepeats\n- if quality...
C
Apache License 2.0
arm-software/astc-encoder
Only scale test counts if repeats > 1
61,745
27.02.2021 22:46:34
0
05cd4ccc7858fc644cec1c44d13fab6161363a1c
Add print() to no-SIMD vfloat4
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib_none_4.h", "new_path": "Source/astcenc_vecmathlib_none_4.h", "diff": "#endif\n#include <algorithm>\n+#include <cstdio>\n#include <cstring>\n// ============================================================================\n@@ -744,6 +74...
C
Apache License 2.0
arm-software/astc-encoder
Add print() to no-SIMD vfloat4
61,745
27.02.2021 22:46:59
0
7f3362912c43153cf1b7b8662c7d70a58617c4b7
Add HDR test minification utility
[ { "change_type": "ADD", "old_path": null, "new_path": "Utils/astc_test_autoextract_hdr.cpp", "diff": "+// SPDX-License-Identifier: Apache-2.0\n+// ----------------------------------------------------------------------------\n+// Copyright 2021 Arm Limited\n+//\n+// Licensed under the Apache License,...
C
Apache License 2.0
arm-software/astc-encoder
Add HDR test minification utility
61,745
02.03.2021 16:59:55
0
b43d3a2736d9b4eb67b388743faa8f3282088ac5
Use vector versions of working pixel conversions Replace conversions between storage types (unorm16, LNS16), decode types(float16), and codec types (float), with vectorized versions of the same algorithms.
[ { "change_type": "MODIFY", "old_path": "Source/UnitTest/test_simd.cpp", "new_path": "Source/UnitTest/test_simd.cpp", "diff": "@@ -1663,6 +1663,47 @@ TEST(vint4, hadd_rgb_s)\nEXPECT_EQ(r2, 2);\n}\n+/** @brief Test vint4 clz. */\n+TEST(vint4, clz)\n+{\n+ vint4 a1(0x80000000, 0x40000000, 0x20000000, 0x...
C
Apache License 2.0
arm-software/astc-encoder
Use vector versions of working pixel conversions (#230) Replace conversions between storage types (unorm16, LNS16), decode types(float16), and codec types (float), with vectorized versions of the same algorithms.
61,745
02.03.2021 22:09:26
0
1d24b684022d75ad3f2bed3233a999959bf78ea4
Use nearbyint to get bankers rounding
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib_none_4.h", "new_path": "Source/astcenc_vecmathlib_none_4.h", "diff": "@@ -1041,10 +1041,10 @@ ASTCENC_SIMD_INLINE vfloat4 abs(vfloat4 a)\n*/\nASTCENC_SIMD_INLINE vfloat4 round(vfloat4 a)\n{\n- return vfloat4(std::round(a.m[0]),\n- std...
C
Apache License 2.0
arm-software/astc-encoder
Use nearbyint to get bankers rounding
61,745
02.03.2021 22:20:55
0
0dc660eaf5b2c1f5b5dfcee82e031575e162e8fd
Add bankers rounding unit test
[ { "change_type": "MODIFY", "old_path": "Source/UnitTest/test_simd.cpp", "new_path": "Source/UnitTest/test_simd.cpp", "diff": "@@ -742,9 +742,10 @@ TEST(vfloat4, round)\nEXPECT_EQ(r1.lane<2>(), 2.0f);\nEXPECT_EQ(r1.lane<3>(), 4.0f);\n- vfloat4 a2(-3.5f);\n+ vfloat4 a2(-2.5f, -2.5f, -3.5f, -3.5f);\nvf...
C
Apache License 2.0
arm-software/astc-encoder
Add bankers rounding unit test
61,745
02.03.2021 22:21:10
0
6dce35d7cb52f66d954896c8703ef031c3aab2b7
Remove redundant select
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "@@ -196,7 +196,6 @@ static void compute_lowest_and_highest_weight(\n// Accumulate on min hit\nmask = idxv == minidx;\n- minidx = select(minidx, idxv, mask);\nvfloat accum...
C
Apache License 2.0
arm-software/astc-encoder
Remove redundant select
61,745
02.03.2021 23:37:21
0
985cec051786cf85de9f946e1e2f940894504ad4
Inline block initialization for decompression
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_decompress_symbolic.cpp", "new_path": "Source/astcenc_decompress_symbolic.cpp", "diff": "@@ -39,7 +39,7 @@ static int compute_value_of_texel_int(\nreturn summed_value >> 4;\n}\n-static vfloat4 lerp_color_int(\n+static vint4 lerp_color_int(\nastc...
C
Apache License 2.0
arm-software/astc-encoder
Inline block initialization for decompression
61,745
03.03.2021 00:19:17
0
ecef2d20446613caf0d4ebc7c7a3fd03bfb6b470
Cleanup write_imageblock
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_image.cpp", "new_path": "Source/astcenc_image.cpp", "diff": "@@ -317,6 +317,17 @@ void write_imageblock(\nint ysize = img.dim_y;\nint zsize = img.dim_z;\n+ int x_start = xpos;\n+ int x_end = std::min(xsize, xpos + bsd->xdim);\n+ int x_nudge = bs...
C
Apache License 2.0
arm-software/astc-encoder
Cleanup write_imageblock
61,745
03.03.2021 13:43:17
0
cea746f30631d9ee5755a21adf968d089efb3e19
Make public API C-only, and exportable
[ { "change_type": "MODIFY", "old_path": "Source/astcenc.h", "new_path": "Source/astcenc.h", "diff": "#include <cstddef>\n#include <cstdint>\n+#if defined(ASTCENC_DYNAMIC_LIBRARY)\n+ #if defined(_MSC_VER)\n+ #define ASTCENC_PUBLIC extern \"C\" __declspec(dllexport)\n+ #else\n+ #define ASTCENC_PUBLIC e...
C
Apache License 2.0
arm-software/astc-encoder
Make public API C-only, and exportable (#234)
61,745
03.03.2021 15:08:13
0
f1d73f3ad3db80573081c80d4eb021c23c1e35f7
Add multithreaded decompression
[ { "change_type": "MODIFY", "old_path": "Source/astcenc.h", "new_path": "Source/astcenc.h", "diff": "* allocate multiple contexts and assign each context to a thread.\n* * An application wishing to process a single image in using multiple\n* threads can configure the context for multi-threaded use, a...
C
Apache License 2.0
arm-software/astc-encoder
Add multithreaded decompression
61,745
03.03.2021 15:32:37
0
22096645df3a11ac25a68ec6ccbf099f00955bc1
Add decompress parallel tracker
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -995,6 +995,8 @@ astcenc_error astcenc_decompress_image(\nwrite_imageblock(image_out, &blk, ctx->bsd,\nx * block_x, y * block_y, z * block_z, swizzle);\n}\n+\n+ ctx->manage_decompre...
C
Apache License 2.0
arm-software/astc-encoder
Add decompress parallel tracker
61,745
03.03.2021 16:10:30
0
738863bb8891228f8598152533936e3e530ce01a
Increase thread granule for var\avg SAT gen
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compute_variance.cpp", "new_path": "Source/astcenc_compute_variance.cpp", "diff": "@@ -535,15 +535,16 @@ void compute_averages_and_variances(\nwhile (true)\n{\nunsigned int count;\n- unsigned int base = ctx.manage_avg_var.get_task_assignment(1, ...
C
Apache License 2.0
arm-software/astc-encoder
Increase thread granule for var\avg SAT gen
61,745
03.03.2021 16:12:20
0
4d2d01f6999162ac6f8e1e276e8f9dccfe1ce760
Use atomics for task tracking
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -709,11 +709,7 @@ static void compress_image(\nwhile (true)\n{\nunsigned int count;\n- // TODO: Task assignment has been tuned empirically as the current\n- // approach is expensive...
C
Apache License 2.0
arm-software/astc-encoder
Use atomics for task tracking
61,745
03.03.2021 18:21:27
0
3c3c2843df829fe509a08a3756c9084a1c7c4162
Updated change log for 2.5
[ { "change_type": "MODIFY", "old_path": "Docs/ChangeLog.md", "new_path": "Docs/ChangeLog.md", "diff": "@@ -9,16 +9,36 @@ clocked at 4.2 GHz, running astcenc using 6 threads.\n<!-- ---------------------------------------------------------------------- -->\n## 2.5\n-**Status:** In development\n+**Statu...
C
Apache License 2.0
arm-software/astc-encoder
Updated change log for 2.5
61,745
04.03.2021 17:45:55
0
4555c6f4c0ed6b82b4a97bce28d30e88e0972108
Fix quality calculation for float32 outputs
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_error_metrics.cpp", "new_path": "Source/astcenccli_error_metrics.cpp", "diff": "@@ -234,7 +234,7 @@ void compute_error_metrics(\nassert(img2->data_type == ASTCENC_TYPE_F32);\nfloat* data32 = static_cast<float*>(img2->data[z]);\n- color1 = vfl...
C
Apache License 2.0
arm-software/astc-encoder
Fix quality calculation for float32 outputs
61,745
04.03.2021 17:47:57
0
3bfa41f80416e4c494291247c9029a0e3efd66ce
Fix LDR/HDR decode mismatch error handling
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_color_unquantize.cpp", "new_path": "Source/astcenc_color_unquantize.cpp", "diff": "@@ -810,7 +810,7 @@ void unpack_color_endpoints(\nvint4 output_scale = ldr_scale;\n// An LDR profile image\n- if ((decode_mode == ASTCENC_PRF_LDR_SRGB) ||\n+ if (...
C
Apache License 2.0
arm-software/astc-encoder
Fix LDR/HDR decode mismatch error handling
61,745
03.03.2021 21:08:05
0
c167435e41ca24593c81e92a19d6dcf122a21ba4
Stop creating copies of LDR images in the write path
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_image_load_store.cpp", "new_path": "Source/astcenccli_image_load_store.cpp", "diff": "@@ -115,9 +115,12 @@ static int store_png_image_with_stb(\nconst char* filename,\nint y_flip\n) {\n- uint8_t* buf = unorm8x4_array_from_astc_img(img, y_flip...
C
Apache License 2.0
arm-software/astc-encoder
Stop creating copies of LDR images in the write path
61,745
09.03.2021 08:26:51
0
869bd414c5e66c1084446e734e442571ce7e5284
Typo fix in help text
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_toplevel_help.cpp", "new_path": "Source/astcenccli_toplevel_help.cpp", "diff": "@@ -373,7 +373,7 @@ ADVANCED COMPRESSION\n-exhaustive : 1000.0\n-planecorlimit <factor>\n- Stop compression after testing only one planes of weights,\n+ Stop comp...
C
Apache License 2.0
arm-software/astc-encoder
Typo fix in help text
61,745
10.03.2021 13:05:58
0
7aa58499041cbd65f96c53666f03df12ac7d36da
Fix two_to_the_n test on NEON
[ { "change_type": "MODIFY", "old_path": "Source/UnitTest/test_simd.cpp", "new_path": "Source/UnitTest/test_simd.cpp", "diff": "@@ -1700,12 +1700,14 @@ TEST(vint4, two_to_the_n)\nvint4 r2 = two_to_the_n(a2);\nEXPECT_EQ(r2.lane<0>(), 1 << 29);\nEXPECT_EQ(r2.lane<1>(), 1 << 30);\n- EXPECT_EQ(r2.lane<2>(...
C
Apache License 2.0
arm-software/astc-encoder
Fix two_to_the_n test on NEON
61,750
11.03.2021 10:10:46
0
ab66c43bb6b6a332b6d461ccd3e7d1933b4f9a5a
Update CI Pipelines for AWS build infrastructure
[ { "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.artifactory.geo.arm.com\n+DOCKER_REGISTRY=mobile-studio--docker.eu-west-1.artifactory.aws.arm.com\nIMAGE_NAME=astcenc\n-IMAGE_VE...
C
Apache License 2.0
arm-software/astc-encoder
Update CI Pipelines for AWS build infrastructure (#238)
61,745
11.03.2021 11:20:29
0
94592a284d5e22c8708ec7db9e454cea922b8e37
Fix vint4.two_to_the_n tests
[ { "change_type": "MODIFY", "old_path": "Source/UnitTest/test_simd.cpp", "new_path": "Source/UnitTest/test_simd.cpp", "diff": "@@ -1696,19 +1696,18 @@ TEST(vint4, two_to_the_n)\nEXPECT_EQ(r1.lane<2>(), 1 << 2);\nEXPECT_EQ(r1.lane<3>(), 1 << 3);\n- vint4 a2(29, 30, 31, 32);\n+ vint4 a2(27, 28, 29, 30)...
C
Apache License 2.0
arm-software/astc-encoder
Fix vint4.two_to_the_n tests
61,754
11.03.2021 20:03:18
-28,800
36557da84fbb840ea1f19b25f1165c8cc97cfa00
Support Armv7
[ { "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 x64)\n+set(VALID_ARCH aarch64 armv7 x64)\nset(ARCH x64 CACHE STRING \"Target architectu...
C
Apache License 2.0
arm-software/astc-encoder
Support Armv7 (#237)
61,745
11.03.2021 13:03:11
0
3554a5d7449734d672430624f8cb837882a2da37
Split armv7 into armv7 and armv7hf
[ { "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 armv7 x64)\n+set(VALID_ARCH aarch64 armv7 armv7hf x64)\nset(ARCH x64 CACHE STRING \"Tar...
C
Apache License 2.0
arm-software/astc-encoder
Split armv7 into armv7 and armv7hf
61,745
11.03.2021 14:10:15
0
59a34e483ded36b34644a29d276ff9d8913f0c28
Add Armv7 support to Build docs
[ { "change_type": "MODIFY", "old_path": "Docs/Building.md", "new_path": "Docs/Building.md", "diff": "@@ -105,6 +105,30 @@ To enable this binary variant add `-DISA_NONE=ON` to the CMake command line\nwhen configuring. It is NOT recommended to use this for production; it is\nsignificantly slower than t...
C
Apache License 2.0
arm-software/astc-encoder
Add Armv7 support to Build docs
61,745
12.03.2021 09:58:26
0
d12e06f00b2b10e2d172833dd42d9ed5ef96aa7e
Add default case for old compiler support
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_internal.h", "new_path": "Source/astcenc_internal.h", "diff": "@@ -676,6 +676,8 @@ static inline int get_quant_method_levels(quant_method method)\ncase QUANT_160: return 160;\ncase QUANT_192: return 192;\ncase QUANT_256: return 256;\n+ // Unreac...
C
Apache License 2.0
arm-software/astc-encoder
Add default case for old compiler support
61,745
12.03.2021 22:16:31
0
6713c0cd08be18304750606efea457df58b2079e
Arm 32-bit builds are really Armv8 A32 so rename
[ { "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 armv7 armv7hf x64)\n+set(VALID_ARCH aarch64 aarch32 aarch32hf x64)\nset(ARCH x64 CACHE ...
C
Apache License 2.0
arm-software/astc-encoder
Arm 32-bit builds are really Armv8 A32 so rename
61,745
12.03.2021 22:17:54
0
b83b2134a6b9b5a2dead1591ad5307b4fc8bdcc6
Move instrinsic to A32 clang only
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib_neon_armv7_4.h", "new_path": "Source/astcenc_vecmathlib_neon_armv7_4.h", "diff": "@@ -67,6 +67,20 @@ ASTCENC_SIMD_INLINE float32x4_t vminnmq_f32(float32x4_t a, float32x4_t b)\nreturn vminq_f32(a, b);\n}\n+/**\n+ * @brief Return a floa...
C
Apache License 2.0
arm-software/astc-encoder
Move instrinsic to A32 clang only
61,745
15.03.2021 08:21:24
0
f919eb19b0178f4f7265f6a077193b6a4d0c9113
Remove obsolete comment in Doxygen
[ { "change_type": "MODIFY", "old_path": "Source/astcenc.h", "new_path": "Source/astcenc.h", "diff": "@@ -693,8 +693,7 @@ ASTCENC_PUBLIC astcenc_error astcenc_config_init(\n* be set when creating ay context.\n*\n* @param[in] config Codec config.\n- * @param thread_count Thread count to configure for. ...
C
Apache License 2.0
arm-software/astc-encoder
Remove obsolete comment in Doxygen
61,756
15.03.2021 02:47:36
25,200
723a9a6890e7b421c30477cfd5e6f97a6483533b
Ensure bm percentile_always and percentile_hit are initialized
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_block_sizes2.cpp", "new_path": "Source/astcenc_block_sizes2.cpp", "diff": "@@ -802,6 +802,11 @@ static void construct_block_size_descriptor_2d(\nbsd.block_modes[packed_idx].percentile_hit = true;\nbsd.decimation_modes[decimation_mode].percentile...
C
Apache License 2.0
arm-software/astc-encoder
Ensure bm percentile_always and percentile_hit are initialized (#239)
61,750
15.03.2021 14:03:05
0
838811796db4d40e2b6e7289e058c7482ec3e93f
Arm CI fixes
[ { "change_type": "MODIFY", "old_path": "jenkins/release.Jenkinsfile", "new_path": "jenkins/release.Jenkinsfile", "diff": "@@ -356,6 +356,7 @@ spec:\n}\ndir('upload/windows-x64') {\nunstash 'astcenc-windows-x64'\n+ dir('signing') {\ncheckout changelog: false,\npoll: false,\nscm: [$class: 'GitSCM',\n@...
C
Apache License 2.0
arm-software/astc-encoder
Arm CI fixes (#240)
61,745
17.03.2021 17:43:45
0
33bf0d857c511a0e68c020c3667808ff713e9209
Prepare for a 2.5 stable build
[ { "change_type": "MODIFY", "old_path": "Source/astcenccli_toplevel_help.cpp", "new_path": "Source/astcenccli_toplevel_help.cpp", "diff": "#include \"astcenccli_internal.h\"\nstatic const char *astcenc_copyright_string =\n-R\"(astcenc v2.5-develop, %u-bit %s%s\n+R\"(astcenc v2.5, %u-bit %s%s\nCopyrig...
C
Apache License 2.0
arm-software/astc-encoder
Prepare for a 2.5 stable build
61,745
18.03.2021 15:38:44
0
ba930e3c647973ca863c66ab5a60ace09d376998
Cleanup README for 2.5
[ { "change_type": "MODIFY", "old_path": "Docs/Roadmap.md", "new_path": "Docs/Roadmap.md", "diff": "@@ -7,8 +7,6 @@ most of the engineering work here is done by volunteers.\n## astcenc 3.0\nThe next milestone for astcenc will be a new major release, version 3.0.\n-Objective is to have this release aro...
C
Apache License 2.0
arm-software/astc-encoder
Cleanup README for 2.5
61,745
19.03.2021 22:06:37
0
eaaa9d1c4c4e5bee822185050ec428ecc3ef797f
Add += operator for vfloat4 class
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -84,16 +84,16 @@ void compute_avgs_and_dirs_4_comp(\nvfloat4 zero = vfloat4::zero();\nvmask4 tdm0 = vfloat4(texel_datum.lane<0>()) > zero;\n- sum...
C
Apache License 2.0
arm-software/astc-encoder
Add += operator for vfloat4 class
61,745
20.03.2021 16:54:40
0
5834ef436505ce173a4b771c5354220a95c02725
Retune to boost quality of -fast by ~0.2dB
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -115,7 +115,7 @@ static const std::array<astcenc_preset_config, 5> preset_configs {{\n4, 2, 25, 1, 1, 75, 53, 1.0f, 1.0f, 1.0f, 0.5f\n}, {\nASTCENC_PRE_FAST,\n- 4, 4, 50, 1, 2, 85, ...
C
Apache License 2.0
arm-software/astc-encoder
Retune to boost quality of -fast by ~0.2dB
61,745
20.03.2021 19:04:30
0
5b219c4d5c0d43626699aed1006dce1ed85390a6
Retune to boost quality of -fastest by up to 1.5 dB
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -112,7 +112,7 @@ struct astcenc_preset_config {\nstatic const std::array<astcenc_preset_config, 5> preset_configs {{\n{\nASTCENC_PRE_FASTEST,\n- 4, 2, 25, 1, 1, 75, 53, 1.0f, 1.0f, ...
C
Apache License 2.0
arm-software/astc-encoder
Retune to boost quality of -fastest by up to 1.5 dB
61,745
26.03.2021 07:36:19
0
1dd9eb7994ce60dec96f871e49f1fb1fa2a78aaf
Check for constant blocks before decoding info
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -1028,15 +1028,6 @@ astcenc_error astcenc_get_block_info(\n// Fetch the appropriate partition and decimation tables\nblock_size_descriptor& bsd = *ctx->bsd;\n- int partition_count =...
C
Apache License 2.0
arm-software/astc-encoder
Check for constant blocks before decoding info
61,745
28.03.2021 14:32:15
-3,600
46083bc877f15e81ccdd278a93154eab2585f19b
Make platform_isa_detection use compiler config
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_platform_isa_detection.cpp", "new_path": "Source/astcenc_platform_isa_detection.cpp", "diff": "// under the License.\n// ----------------------------------------------------------------------------\n-#if (ASTCENC_SSE > 0) || (ASTCENC_AVX > 0) ||...
C
Apache License 2.0
arm-software/astc-encoder
Make platform_isa_detection use compiler config
61,745
30.03.2021 00:16:45
-3,600
7884c49cbe70b9268612664c45af3d9c33275729
Whitespace - wrap sone long lines
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "@@ -367,9 +367,11 @@ void compute_angular_endpoints_1plane(\n}\nint samplecount = bsd->decimation_tables[i]->weight_count;\n- compute_angular_endpoints_for_quant_levels(s...
C
Apache License 2.0
arm-software/astc-encoder
Whitespace - wrap sone long lines
61,745
30.03.2021 00:19:33
-3,600
233c0d776eac863e06c9becd23e1975b1b0668f9
Add static_assert on alignment check
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_entry.cpp", "new_path": "Source/astcenc_entry.cpp", "diff": "@@ -630,7 +630,9 @@ astcenc_error astcenc_context_alloc(\n}\nsize_t worksize = sizeof(compress_symbolic_block_buffers) * thread_count;\n- ctx->working_buffers = aligned_malloc<compress...
C
Apache License 2.0
arm-software/astc-encoder
Add static_assert on alignment check
61,745
30.03.2021 01:01:35
-3,600
61644ae72a32afce726108478d63fd27b1836f73
Move decimated grid bilinear infill to function
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -752,30 +752,8 @@ float compute_error_of_weight_set(\nint clipped_texel_count = round_down_to_simd_multiple_vla(texel_count);\nfor (/* */...
C
Apache License 2.0
arm-software/astc-encoder
Move decimated grid bilinear infill to function
61,745
30.03.2021 09:25:19
-3,600
9a85552f2afbc99c7c5934c569cd7e4a35937923
Standardize on "plane2_component" name
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_compress_symbolic.cpp", "new_path": "Source/astcenc_compress_symbolic.cpp", "diff": "@@ -572,7 +572,7 @@ static float compress_symbolic_block_fixed_partition_2_planes(\nconst block_size_descriptor* bsd,\nint partition_count,\nint partition_index...
C
Apache License 2.0
arm-software/astc-encoder
Standardize on "plane2_component" name
61,745
30.03.2021 09:26:37
-3,600
2436c1b394259e307cae5a6ea7b0ed73cf67f6be
Set build version to 3.0-develop
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -20,7 +20,7 @@ cmake_minimum_required(VERSION 3.15)\ncmake_policy(SET CMP0069 NEW) # LTO support\ncmake_policy(SET CMP0091 NEW) # MSVC runtime support\n-project(astcenc VERSION 2.5.0)\n+project(astcenc...
C
Apache License 2.0
arm-software/astc-encoder
Set build version to 3.0-develop
61,745
30.03.2021 21:08:08
-3,600
63d343dc625ac597fd433b9088b8d31614d1c357
Add float2 operator+=
[ { "change_type": "MODIFY", "old_path": "Source/UnitTest/test_simd.cpp", "new_path": "Source/UnitTest/test_simd.cpp", "diff": "@@ -433,6 +433,27 @@ TEST(vfloat4, vadd)\nEXPECT_EQ(a.lane<3>(), 4.0f + 0.4f);\n}\n+/** @brief Test vfloat4 self-add. */\n+TEST(vfloat4, vselfadd1)\n+{\n+ vfloat4 a(1.0f, 2.0...
C
Apache License 2.0
arm-software/astc-encoder
Add float2 operator+=
61,745
30.03.2021 21:15:17
-3,600
c25e83a68b8f391361041e7ba544831f046a37e8
Style - use += when possible for accumulators
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_averages_and_directions.cpp", "new_path": "Source/astcenc_averages_and_directions.cpp", "diff": "@@ -63,7 +63,7 @@ void compute_avgs_and_dirs_4_comp(\nvfloat4 texel_datum = blk->texel(iwt);\npartition_weight += weight;\n- base_sum = base_sum + t...
C
Apache License 2.0
arm-software/astc-encoder
Style - use += when possible for accumulators
61,745
31.03.2021 00:11:49
-3,600
537b514285ad29a354090e6e75f99cc06744ae88
Clean up kmeans partitioning
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_kmeans_partitioning.cpp", "new_path": "Source/astcenc_kmeans_partitioning.cpp", "diff": "#include \"astcenc_internal.h\"\n-// for k++ means, we need pseudo-random numbers, however using random numbers\n-// directly results in unreproducible enco...
C
Apache License 2.0
arm-software/astc-encoder
Clean up kmeans partitioning
61,745
31.03.2021 20:57:07
-3,600
5d6225522bc245b0a8ceb4f6016fe4027e69bc65
Cleanup kmeans clustering
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_find_best_partitioning.cpp", "new_path": "Source/astcenc_find_best_partitioning.cpp", "diff": "@@ -151,7 +151,7 @@ void find_best_partitionings(\nint partition_sequence[PARTITION_COUNT];\n- kmeans_compute_partition_ordering(bsd, partition_count,...
C
Apache License 2.0
arm-software/astc-encoder
Cleanup kmeans clustering
61,745
31.03.2021 22:21:57
-3,600
493c91132751f29109fd326741f8ade1f20521e3
Optimize compute_angular_offsets
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib_avx2_8.h", "new_path": "Source/astcenc_vecmathlib_avx2_8.h", "diff": "@@ -571,6 +571,15 @@ ASTCENC_SIMD_INLINE vfloat8 operator+(vfloat8 a, vfloat8 b)\nreturn vfloat8(_mm256_add_ps(a.m, b.m));\n}\n+/**\n+ * @brief Overload: vector by ...
C
Apache License 2.0
arm-software/astc-encoder
Optimize compute_angular_offsets
61,745
31.03.2021 22:46:30
-3,600
b2e3cc2c18617ffb3f606c3abc86f336c43d2682
Factorize out redundant computation
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_weight_align.cpp", "new_path": "Source/astcenc_weight_align.cpp", "diff": "@@ -118,7 +118,6 @@ static void compute_angular_offsets(\n// Arrays are multiple of SIMD width (ANGULAR_STEPS), safe to overshoot max\nvfloat mult = vfloat(1.0f / (2.0f *...
C
Apache License 2.0
arm-software/astc-encoder
Factorize out redundant computation
61,745
31.03.2021 23:35:09
-3,600
dfd61b71bccf874cb40d57f9d0624c2d7cbe9cf6
Cleanup use of accumulators
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -1224,8 +1224,8 @@ void recompute_ideal_colors_2planes(\nvfloat4 rgba = blk->texel(tix);\nvfloat4 error_weight(ewb->texel_weight_r[tix], ...
C
Apache License 2.0
arm-software/astc-encoder
Cleanup use of accumulators
61,745
31.03.2021 23:47:34
-3,600
b0bbae8d894ae478fc3a423eed536359e7da3719
Vectorization in compute_rgbovec call site
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -1115,11 +1115,8 @@ void compute_quantized_weights_for_decimation_table(\nstatic inline vfloat4 compute_rgbovec(\nvfloat4 rgba_weight_sum...
C
Apache License 2.0
arm-software/astc-encoder
Vectorization in compute_rgbovec call site
61,745
31.03.2021 23:56:55
-3,600
8962dba78608363a94551b18f2f0b38d92f0aad4
Remove if check that is always true
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -1290,8 +1290,6 @@ void recompute_ideal_colors_2planes(\nfloat idx1 = 0.0f;\nfloat om_idx1 = 0.0f;\n- if (plane2_weight_set8)\n- {\nidx1 ...
C
Apache License 2.0
arm-software/astc-encoder
Remove if check that is always true
61,745
04.04.2021 23:14:26
-3,600
79c9896169609e7469513606e7d8f8d55a235a91
Use explicit loop tail rather than over-fetching
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -816,6 +816,7 @@ void compute_ideal_weights_for_decimation_table(\nfloat* RESTRICT weight_set,\nfloat* RESTRICT weights\n) {\n+ int i;\ni...
C
Apache License 2.0
arm-software/astc-encoder
Use explicit loop tail rather than over-fetching
61,745
04.04.2021 23:51:23
-3,600
656c6f7e2994a9c3593f086f6b98ff38570024c2
Add memcheck instructions
[ { "change_type": "MODIFY", "old_path": "Docs/Testing.md", "new_path": "Docs/Testing.md", "diff": "@@ -106,3 +106,11 @@ Once this is done, run the command:\ntest suite gets exclusive use of the machine to avoid other processing slowing\ndown the compression and disturbing the performance data. It is ...
C
Apache License 2.0
arm-software/astc-encoder
Add memcheck instructions
61,745
08.04.2021 23:16:09
-3,600
7dfed5ae38e8edc79c333729e06a2224eee84cda
Use swz() to avoid cl.exe bug for ARM64
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp", "diff": "@@ -370,33 +370,25 @@ static void compute_endpoints_and_ideal_weights_3_comp(\nfor (int i = 0; i < partition_count; i++)\n{\n- float s1 = 0,...
C
Apache License 2.0
arm-software/astc-encoder
Use swz() to avoid cl.exe bug for ARM64
61,745
09.04.2021 00:10:06
-3,600
e0602a6c249a8d4ec18b97e152380c08ec4496f1
Use array loads for NEON vector init
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_vecmathlib_neon_4.h", "new_path": "Source/astcenc_vecmathlib_neon_4.h", "diff": "@@ -85,8 +85,8 @@ struct vfloat4\n*/\nASTCENC_SIMD_INLINE explicit vfloat4(float a, float b, float c, float d)\n{\n- float32x4_t v { a, b, c, d };\n- m = v;\n+ floa...
C
Apache License 2.0
arm-software/astc-encoder
Use array loads for NEON vector init
61,745
12.04.2021 21:49:04
-3,600
13d0020d1e736abc07e6f1ebfbdddf8df4e85509
Relocate unpack_color_endpoint in partition loop
[ { "change_type": "MODIFY", "old_path": "Source/astcenc_color_unquantize.cpp", "new_path": "Source/astcenc_color_unquantize.cpp", "diff": "@@ -669,21 +669,20 @@ void unpack_color_endpoints(\nint format,\nint quant_level,\nconst int* input,\n- int* rgb_hdr,\n- int* alpha_hdr,\n- int* nan_endpoint,\n+ ...
C
Apache License 2.0
arm-software/astc-encoder
Relocate unpack_color_endpoint in partition loop