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 | 12.04.2021 22:25:47 | -3,600 | cc14d268ce9dc05d9af4748bb20bd997669daf3d | Simplify error block / end point handling | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_color_unquantize.cpp",
"new_path": "Source/astcenc_color_unquantize.cpp",
"diff": "@@ -671,14 +671,10 @@ void unpack_color_endpoints(\nconst int* input,\nbool* rgb_hdr,\nbool* alpha_hdr,\n- bool* nan_endpoint,\nvint4* output0,\nvint4* output1\n)... | C | Apache License 2.0 | arm-software/astc-encoder | Simplify error block / end point handling |
61,745 | 12.04.2021 23:37:31 | -3,600 | bcd361cf17af84950074225e385de3778f68b229 | Use part_texels in compute_error_squared_rgb_single_partition | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_encoding_choice_error.cpp",
"new_path": "Source/astcenc_encoding_choice_error.cpp",
"diff": "@@ -64,7 +64,6 @@ void merge_endpoints(\n// a particular partition.\nstatic void compute_error_squared_rgb_single_partition(\nint partition_to_test,\n- ... | C | Apache License 2.0 | arm-software/astc-encoder | Use part_texels in compute_error_squared_rgb_single_partition |
61,745 | 12.04.2021 23:40:49 | -3,600 | 1ea2994b5c3070d6f4e24fa4272bf12f100d1dd3 | Remove softfloat if hardware fp16 available | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_mathlib.h",
"new_path": "Source/astcenc_mathlib.h",
"diff": "@@ -490,11 +490,11 @@ static inline float2 normalize(float2 p) { return p * astc::rsqrt(dot(p, p)); }\n/* ============================================================================\n... | C | Apache License 2.0 | arm-software/astc-encoder | Remove softfloat if hardware fp16 available |
61,745 | 13.04.2021 00:10:46 | -3,600 | d21566c95b303fdbc8577a748080b3f6951db81e | Correct error weight index | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_decompress_symbolic.cpp",
"new_path": "Source/astcenc_decompress_symbolic.cpp",
"diff": "@@ -388,7 +388,7 @@ float compute_symbolic_block_difference(\nerror = min(abs(error), 1e15f);\nerror = error * error;\n- float metric = dot_s(error, ewb->er... | C | Apache License 2.0 | arm-software/astc-encoder | Correct error weight index |
61,745 | 13.04.2021 00:17:05 | -3,600 | d8947aeebfa862ed6d973cefa6ae69307bb35d1c | Use static function table for partition mismatch counting | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_kmeans_partitioning.cpp",
"new_path": "Source/astcenc_kmeans_partitioning.cpp",
"diff": "@@ -212,13 +212,11 @@ static void kmeans_update(\n* @brief Compute bit-mismatch for partitioning in 2-partition mode.\n*/\nstatic inline int partition_misma... | C | Apache License 2.0 | arm-software/astc-encoder | Use static function table for partition mismatch counting |
61,745 | 13.04.2021 09:50:27 | -3,600 | de22981660f81dff3cc5e468a6462d4f2856ab0f | Remove reviewed TODO that we can't change easily | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -385,7 +385,6 @@ static float compress_symbolic_block_fixed_partition_1_plane(\nvfloat4 rgbs_colors[4];\nvfloat4 rgbo_colors[4];\n- // TODO: Can we ping-pong... | C | Apache License 2.0 | arm-software/astc-encoder | Remove reviewed TODO that we can't change easily |
61,745 | 13.04.2021 21:01:10 | -3,600 | 293c15d424645838d2ad9a3b41641a8aa6547201 | Change realign_weights return type | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "* over all weights (per partition and per plane) and attempt to improve image\n* quality by moving each weight up by one or down by one quantization step.\n*/\n... | C | Apache License 2.0 | arm-software/astc-encoder | Change realign_weights return type |
61,745 | 13.04.2021 23:35:07 | -3,600 | 7615b1b693df639424de931037d406d874d918cc | Add scalar vmask4 constructor | [
{
"change_type": "MODIFY",
"old_path": "Source/UnitTest/test_simd.cpp",
"new_path": "Source/UnitTest/test_simd.cpp",
"diff": "@@ -1829,8 +1829,30 @@ TEST(vint4, select_msb)\n}\n// VMASK4 tests - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n-/** @brief Test vmask4 scalar constructor... | C | Apache License 2.0 | arm-software/astc-encoder | Add scalar vmask4 constructor |
61,745 | 13.04.2021 23:35:30 | -3,600 | 513c67df408b04b7d11071c3dec05929af5795c9 | Use select() for compute_angular_endpoints_for_quant_levels | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_weight_align.cpp",
"new_path": "Source/astcenc_weight_align.cpp",
"diff": "@@ -246,76 +246,75 @@ static void compute_angular_endpoints_for_quant_levels(\nangular_offsets, lowest_weight, weight_span, error,\ncut_low_weight_error, cut_high_weight_... | C | Apache License 2.0 | arm-software/astc-encoder | Use select() for compute_angular_endpoints_for_quant_levels |
61,745 | 16.04.2021 22:11:46 | -3,600 | 11e7f579b1038cb4ebb370f4b1a94c1057069366 | Add scalar vmask8 constructor | [
{
"change_type": "MODIFY",
"old_path": "Source/UnitTest/test_simd.cpp",
"new_path": "Source/UnitTest/test_simd.cpp",
"diff": "@@ -3164,6 +3164,24 @@ TEST(vint8, select_msb)\n}\n// vmask8 tests - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n+\n+/** @brief Test vmask8 scalar literal ... | C | Apache License 2.0 | arm-software/astc-encoder | Add scalar vmask8 constructor |
61,745 | 16.04.2021 22:47:27 | -3,600 | b0c2ebfe401dfd1cd5f426004bfa333ea233df05 | Reorder struct to minimize cache fetches for constant wes | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_internal.h",
"new_path": "Source/astcenc_internal.h",
"diff": "@@ -1099,11 +1099,13 @@ struct endpoints\nstruct endpoints_and_weights\n{\nendpoints ep;\n+\nalignas(ASTCENC_VECALIGN) float weights[MAX_TEXELS_PER_BLOCK];\n- alignas(ASTCENC_VECALIG... | C | Apache License 2.0 | arm-software/astc-encoder | Reorder struct to minimize cache fetches for constant wes |
61,745 | 16.04.2021 23:59:55 | -3,600 | 17e5fa88c5a5ec38652682354f4613ad46ff50b8 | Remove bias on max_quant_steps | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_weight_align.cpp",
"new_path": "Source/astcenc_weight_align.cpp",
"diff": "@@ -229,7 +229,7 @@ static void compute_angular_endpoints_for_quant_levels(\nfloat low_value[12],\nfloat high_value[12]\n) {\n- int max_quantization_steps = quantization_... | C | Apache License 2.0 | arm-software/astc-encoder | Remove bias on max_quant_steps |
61,745 | 17.04.2021 00:10:33 | -3,600 | e263230bf16b115ed61cf9972b4b529edad68638 | Fix test runner for main reference runs | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image.py",
"new_path": "Test/astc_test_image.py",
"diff": "@@ -259,8 +259,8 @@ def get_encoder_params(encoderName, referenceName, imageSet):\nreturn (encoder, name, outDir, refName)\n# Latest main\n- if version == main:\n- encoder = te.Encoder2x... | C | Apache License 2.0 | arm-software/astc-encoder | Fix test runner for main reference runs |
61,745 | 17.04.2021 20:14:34 | -3,600 | 3e162202343337b5fcba2f2cc9214325ca26bbfa | Update graph plot script for new releases | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_result_plot.py",
"new_path": "Test/astc_test_result_plot.py",
"diff": "@@ -252,77 +252,103 @@ def main():\nabsoluteXLimit = 35\ncharts = [\n+ # --------------------------------------------------------\n+ # Latest in stable series charts\n[\n- # ... | C | Apache License 2.0 | arm-software/astc-encoder | Update graph plot script for new releases |
61,745 | 17.04.2021 21:30:03 | -3,600 | cbe526491c682000e2ec34554a5063ceaec4667f | Remove high/low_bound limiter | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -1080,15 +1080,7 @@ void compute_quantized_weights_for_decimation_table(\n// Quantize the weight set using both the specified low/high bo... | C | Apache License 2.0 | arm-software/astc-encoder | Remove high/low_bound limiter |
61,745 | 17.04.2021 21:42:02 | -3,600 | 435844cf3e31372ec7864187f9a17766fc2585cc | Use accumulate operator | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -914,8 +914,8 @@ void compute_ideal_weights_for_decimation_table(\nvfloat contrib_weight = weight * weight_error_scale;\n- weight_weight ... | C | Apache License 2.0 | arm-software/astc-encoder | Use accumulate operator |
61,745 | 17.04.2021 22:14:29 | -3,600 | 283243ec1cfde8d63f8deb301d394f12bca32515 | Remove texel_weights_float_t4 | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes2.cpp",
"new_path": "Source/astcenc_block_sizes2.cpp",
"diff": "@@ -308,7 +308,6 @@ static void initialize_decimation_table_2d(\nfor (int j = 0; j < 4; j++)\n{\ndt->texel_weights_int_t4[i][j] = 0;\n- dt->texel_weights_float_t4[i][j] =... | C | Apache License 2.0 | arm-software/astc-encoder | Remove texel_weights_float_t4 |
61,745 | 18.04.2021 19:30:25 | -3,600 | d10971fae89b204f1f5367f6becbc89e97d39c9e | Specialize compute_error_of_weight_set_2planes | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -329,7 +329,7 @@ static float compress_symbolic_block_fixed_partition_1_plane(\nbm.quant_mode);\n// then, compute weight-errors for the weight mode.\n- qwt_e... | C | Apache License 2.0 | arm-software/astc-encoder | Specialize compute_error_of_weight_set_2planes |
61,745 | 18.04.2021 21:16:03 | -3,600 | f0be37fc58c8a8e84a0d71bf54de19a0e77835d0 | Round up comp_quant_weights_for_dt to avoid loop tail | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -927,6 +927,15 @@ void compute_ideal_weights_for_decimation_table(\neai_out.ep = eai_in.ep;\neai_out.is_constant_weight_error_scale = eai... | C | Apache License 2.0 | arm-software/astc-encoder | Round up comp_quant_weights_for_dt to avoid loop tail |
61,745 | 18.04.2021 22:52:08 | -3,600 | 2882b9d784e8e1e2ebeb2301f14016625f6c2c35 | Round up comp_ideal_weights_for_dt to avoid loop tail
This also enables the vector path for SSE and NEON builds as it
is now a net gain (previously AVX2 only). | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes2.cpp",
"new_path": "Source/astcenc_block_sizes2.cpp",
"diff": "@@ -244,6 +244,7 @@ static void initialize_decimation_table_2d(\nuint8_t weights_of_texel[MAX_TEXELS_PER_BLOCK][4];\nuint8_t texelcount_of_weight[MAX_WEIGHTS_PER_BLOCK];\... | C | Apache License 2.0 | arm-software/astc-encoder | Round up comp_ideal_weights_for_dt to avoid loop tail
This also enables the vector path for SSE and NEON builds as it
is now a net gain (previously AVX2 only). |
61,745 | 18.04.2021 23:32:37 | -3,600 | 0b32dbb36605f9a007d82ad2428acb580643832d | Remove loop tail from compute_error_rgb/rgba | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "@@ -414,9 +414,13 @@ void compute_error_squared_rgba(\nvfloat samec_hiparamv(-1e10f);\nvfloat4 samec_errorsumv = vfloat4::zero();\n- int clipped_tex... | C | Apache License 2.0 | arm-software/astc-encoder | Remove loop tail from compute_error_rgb/rgba |
61,745 | 19.04.2021 08:56:04 | -3,600 | d738063449b422e243e7af0523c4a06d290ec8df | Update test reference to use latest main scores for CI | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Test/Images/Small/astc_reference-main-avx2_fast_results.csv",
"diff": "+Image Set,Block Size,Name,PSNR,Total Time,Coding Time,Coding Rate\n+Small,4x4,hdr-rgb-00.hdr,31.2477,0.1295,0.0325,2.0175\n+Small,4x4,ldr-rgb-00.png,37.6610,0.0283,0.0200,3.... | C | Apache License 2.0 | arm-software/astc-encoder | Update test reference to use latest main scores for CI |
61,745 | 19.04.2021 22:12:01 | -3,600 | 6742cd79eda156f767ad167015e78d009e42c7e1 | Add bitrate-specific presets | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "#include \"astcenc_internal.h\"\n#include \"astcenc_diagnostic_trace.h\"\n+/**\n+ * @brief Record of the quality tuning parameter values.\n+ *\n+ * See the @c astcenc_config structure ... | C | Apache License 2.0 | arm-software/astc-encoder | Add bitrate-specific presets |
61,745 | 20.04.2021 22:03:13 | -3,600 | 382c62ee9122ec971826b9ff44a14baa7e6918ef | Fix bad present value in -help text | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel_help.cpp",
"new_path": "Source/astcenccli_toplevel_help.cpp",
"diff": "@@ -388,7 +388,7 @@ ADVANCED COMPRESSION\noption is ineffective for normal maps. Preset defaults are:\n-fastest : 1.00\n- -fast : 1.00\n+ -fast : 1.10\n-medium : ... | C | Apache License 2.0 | arm-software/astc-encoder | Fix bad present value in -help text |
61,745 | 20.04.2021 22:13:07 | -3,600 | b4d16c0f27a8a676ddbe8ca627f963d50833b2a0 | Allow restricted search pruning for normal maps | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "@@ -528,14 +528,14 @@ struct astcenc_config\n/**\n* @brief The threshold for skipping 2.2/3.1/3.2/4.1 trials (-2partitionearlylimit).\n*\n- * This option is ineffective for normal maps.\n+ * This opti... | C | Apache License 2.0 | arm-software/astc-encoder | Allow restricted search pruning for normal maps |
61,745 | 21.04.2021 08:59:48 | -3,600 | 185b8cdc6520ecd74bd0ea5287c3e74172e18fa2 | Tune presets to offset losses due to new heuristic | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -60,19 +60,19 @@ struct astcenc_preset_config {\nstatic const std::array<astcenc_preset_config, 5> preset_configs_high {{\n{\nASTCENC_PRE_FASTEST,\n- 4, 2, 30, 1, 1, 79, 57, 2.0f, 2... | C | Apache License 2.0 | arm-software/astc-encoder | Tune presets to offset losses due to new heuristic |
61,745 | 21.04.2021 22:34:18 | -3,600 | 0667b6828507af1dbf77bfd79ba7802b57368d88 | Workaround some compiler variance issues | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_error_metrics.cpp",
"new_path": "Source/astcenccli_error_metrics.cpp",
"diff": "@@ -166,7 +166,7 @@ void compute_error_metrics(\ndata8[(4 * xsize1 * y) + (4 * x + 2)],\ndata8[(4 * xsize1 * y) + (4 * x + 3)]);\n- color1 = color1 * (1.0f / 255.... | C | Apache License 2.0 | arm-software/astc-encoder | Workaround some compiler variance issues |
61,745 | 25.04.2021 21:28:29 | -3,600 | fd8447eae95cdd34e80fd8d6991000a7ece395fd | Add sweep helper script. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Test/astc_image_sweep.py",
"diff": "+#!/usr/bin/env python3\n+# SPDX-License-Identifier: Apache-2.0\n+# -----------------------------------------------------------------------------\n+# Copyright 2021 Arm Limited\n+#\n+# Licensed under the Apach... | C | Apache License 2.0 | arm-software/astc-encoder | Add sweep helper script. |
61,745 | 26.04.2021 21:53:12 | -3,600 | d4db7655c4b011aefdec62ea6aeb547d2bd35490 | Add heuristic for skipping two planes earlier | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "@@ -526,25 +526,32 @@ struct astcenc_config\nfloat tune_refinement_mse_overshoot;\n/**\n- * @brief The threshold for skipping 2.2/3.1/3.2/4.1 trials (-2partitionearlylimit).\n+ * @brief The threshold ... | C | Apache License 2.0 | arm-software/astc-encoder | Add heuristic for skipping two planes earlier |
61,745 | 26.04.2021 22:40:55 | -3,600 | f481acea400704a16281ba2bbe474024098a5a76 | Add help text for new option | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel_help.cpp",
"new_path": "Source/astcenccli_toplevel_help.cpp",
"diff": "@@ -396,6 +396,18 @@ ADVANCED COMPRESSION\n-thorough : 1.25\n-exhaustive : 10.00\n+ -2planelimitfactor <factor>\n+ Skip encodings with two weight planes, unless t... | C | Apache License 2.0 | arm-software/astc-encoder | Add help text for new option |
61,745 | 27.04.2021 10:21:51 | -3,600 | 788e108f9b3d0350b02a6f24380f226ac33788ab | Spend some performance to bump medium quality | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -68,7 +68,7 @@ static const std::array<astcenc_preset_config, 5> preset_configs_high {{\n3, 12, 55, 3, 2, 85.2f, 63.2f, 3.5f, 3.5f, 1.0f, 1.1f, 1.05f, 0.5f\n}, {\nASTCENC_PRE_MEDIUM... | C | Apache License 2.0 | arm-software/astc-encoder | Spend some performance to bump medium quality |
61,745 | 27.04.2021 11:46:31 | -3,600 | db333171f67816c3c448df4461c6176552db8346 | Add a main vs 1.7 plot | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_result_plot.py",
"new_path": "Test/astc_test_result_plot.py",
"diff": "@@ -249,7 +249,7 @@ def main():\nint: The process return code.\n\"\"\"\n- absoluteXLimit = 35\n+ absoluteXLimit = 40\ncharts = [\n# ------------------------------------------... | C | Apache License 2.0 | arm-software/astc-encoder | Add a main vs 1.7 plot |
61,745 | 27.04.2021 23:37:38 | -3,600 | 3f710ff6511645aac5a09f0418f5b9fb896cc19e | Add promises to avoid loop preamble | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -214,6 +214,11 @@ static float compress_symbolic_block_fixed_partition_1_plane(\nsymbolic_compressed_block& scb,\ncompress_fixed_partition_buffers* tmpbuf\n)... | C | Apache License 2.0 | arm-software/astc-encoder | Add promises to avoid loop preamble |
61,745 | 27.04.2021 23:40:40 | -3,600 | 6cb693b68116ac9bfe5c8162bb4609012ca431b2 | Use existing vfloat4 error_weights | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -1251,7 +1251,7 @@ void recompute_ideal_colors_2planes(\nint tix = texel_indexes[j];\nvfloat4 rgba = blk->texel(tix);\n- vfloat4 error_we... | C | Apache License 2.0 | arm-software/astc-encoder | Use existing vfloat4 error_weights |
61,745 | 27.04.2021 23:45:45 | -3,600 | bef49ea3a891aafdfb3f8dea7d4f55914ec42d22 | texelcount/weightcount rename to {x}_count | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes2.cpp",
"new_path": "Source/astcenc_block_sizes2.cpp",
"diff": "@@ -239,23 +239,23 @@ static void initialize_decimation_table_2d(\nint texels_per_block = xdim * ydim;\nint weights_per_block = x_weights * y_weights;\n- uint8_t weightco... | C | Apache License 2.0 | arm-software/astc-encoder | texelcount/weightcount rename to {x}_count |
61,745 | 27.04.2021 23:46:45 | -3,600 | 3c9ae014e11a2876418c7ba8c6d35fb656e6a58d | texelweights -> texel_weights | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes2.cpp",
"new_path": "Source/astcenc_block_sizes2.cpp",
"diff": "@@ -246,7 +246,7 @@ static void initialize_decimation_table_2d(\nuint8_t texel_count_of_weight[MAX_WEIGHTS_PER_BLOCK];\nuint8_t max_texel_count_of_weight = 0;\nuint8_t te... | C | Apache License 2.0 | arm-software/astc-encoder | texelweights -> texel_weights |
61,745 | 28.04.2021 00:17:11 | -3,600 | 28f71b9899524375785823dbb438cc63038786f5 | Add more promises to reduce loop preamble | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_find_best_partitioning.cpp",
"new_path": "Source/astcenc_find_best_partitioning.cpp",
"diff": "@@ -60,6 +60,7 @@ static void compute_partition_error_color_weightings_and_range(\npartition_metrics pm[4]\n) {\nint partition_count = pt.partition_co... | C | Apache License 2.0 | arm-software/astc-encoder | Add more promises to reduce loop preamble |
61,745 | 28.04.2021 00:22:15 | -3,600 | e2ea7ac18c7ece53c32218fd4e0cd1df965d5398 | Standardize on function postifx | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -200,7 +200,7 @@ static bool realign_weights(\n/*\nfunction for compressing a block symbolically, given that we have already decided on a partition\n*/\n-sta... | C | Apache License 2.0 | arm-software/astc-encoder | Standardize on function postifx |
61,745 | 28.04.2021 00:23:37 | -3,600 | 7c8afa08e50c0448dc8cee8a950f938088f64493 | Naming convention update | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_weight_align.cpp",
"new_path": "Source/astcenc_weight_align.cpp",
"diff": "@@ -148,7 +148,7 @@ static void compute_lowest_and_highest_weight(\nconst float* samples,\nconst float* sample_weights,\nint max_angular_steps,\n- int max_quantization_st... | C | Apache License 2.0 | arm-software/astc-encoder | Naming convention update |
61,745 | 28.04.2021 00:24:17 | -3,600 | f7dff7f53378d37fb6501dc4e3b48955df756732 | samplecount -> sample_count | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_weight_align.cpp",
"new_path": "Source/astcenc_weight_align.cpp",
"diff": "@@ -144,7 +144,7 @@ static void compute_angular_offsets(\n// lowest and highest weight that results from quantizing using the stepsize & offset.\n// also, compute the res... | C | Apache License 2.0 | arm-software/astc-encoder | samplecount -> sample_count |
61,745 | 28.04.2021 23:02:53 | -3,600 | 74d623a9a841e51117040358ac9169bb18224d36 | Remove NaN traps; replaced with diagnostic trace | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "#include <cassert>\n-#ifdef DEBUG_CAPTURE_NAN\n- #ifndef _GNU_SOURCE\n- #define _GNU_SOURCE\n- #endif\n-\n- #include <fenv.h>\n-#endif\n-\n// For a ... | C | Apache License 2.0 | arm-software/astc-encoder | Remove NaN traps; replaced with diagnostic trace |
61,745 | 29.04.2021 23:23:25 | -3,600 | 5540ff9c2e94301060f34721adc9e8b24c92531d | Use vfloat4 not float2 | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "@@ -348,8 +348,8 @@ void compute_avgs_and_dirs_2_comp(\n{\nconst uint8_t *weights = pt->texels_of_partition[partition];\n- float2 error_sum = float2... | C | Apache License 2.0 | arm-software/astc-encoder | Use vfloat4 not float2 |
61,745 | 30.04.2021 00:01:54 | -3,600 | 3c295d6c2c5139411329c7a3e8241053c651e3bb | Load vector form of ewb->error_weights | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -155,8 +155,7 @@ static bool realign_weights(\nvfloat4 color = color_base + color_offset * plane_weight;\nvfloat4 origcolor = blk->texel(texel);\n- vfloat4 e... | C | Apache License 2.0 | arm-software/astc-encoder | Load vector form of ewb->error_weights |
61,745 | 30.04.2021 09:45:03 | -3,600 | 002103bfe2c3c1fc1e3f8be219a07d387b99f61c | Inline computation of derivatives | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -991,13 +991,17 @@ static float prepare_error_weight_block(\nctx.config.v_rgb_mean != 0.0f || ctx.config.v_rgb_stdev != 0.0f || \\\nctx.config.v_a_mean != 0.... | C | Apache License 2.0 | arm-software/astc-encoder | Inline computation of derivatives |
61,745 | 30.04.2021 10:46:49 | -3,600 | a9f23ad16e942499950deb797c2faec777e55cf6 | Use function pointer pipeline for data loading | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_image.cpp",
"new_path": "Source/astcenc_image.cpp",
"diff": "#include \"astcenc_internal.h\"\n-// helper function to initialize the work-data from the orig-data\n-static void imageblock_initialize_work_from_orig(\n- imageblock* blk,\n- int pixel... | C | Apache License 2.0 | arm-software/astc-encoder | Use function pointer pipeline for data loading |
61,745 | 30.04.2021 23:07:00 | -3,600 | f17007d523468d6734d8a7592bbf2d2d37fd78b2 | Add some loop count promises | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_integer_sequence.cpp",
"new_path": "Source/astcenc_integer_sequence.cpp",
"diff": "@@ -481,6 +481,8 @@ void encode_ise(\nuint8_t* output_data,\nint bit_offset\n) {\n+ promise(elements > 0);\n+\nint bits = btq_counts[quant_level].bits;\nint trits... | C | Apache License 2.0 | arm-software/astc-encoder | Add some loop count promises |
61,745 | 03.05.2021 21:20:39 | -3,600 | 46c4e13943e8a4b29964628c854076fc979367e7 | Add VLA for compute_value_of_texel_int | [
{
"change_type": "MODIFY",
"old_path": "Source/UnitTest/test_simd.cpp",
"new_path": "Source/UnitTest/test_simd.cpp",
"diff": "@@ -1296,6 +1296,19 @@ TEST(vint4, vadd)\nEXPECT_EQ(a.lane<3>(), 4 + 5);\n}\n+/** @brief Test vint4 self-add. */\n+TEST(vint4, vselfadd)\n+{\n+ vint4 a(1, 2, 3, 4);\n+ vint4 ... | C | Apache License 2.0 | arm-software/astc-encoder | Add VLA for compute_value_of_texel_int |
61,745 | 03.05.2021 21:51:13 | -3,600 | 60adc668a5531f931b4acf5efa84e19cdc1542d2 | Init array tail for compute_value_of_texel_int and remove loop tail | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes2.cpp",
"new_path": "Source/astcenc_block_sizes2.cpp",
"diff": "@@ -372,6 +372,20 @@ static void initialize_decimation_table_2d(\n}\n}\n+ // Initialize array tail so we can over-fetch with SIMD later to avoid loop tails\n+ int texels_... | C | Apache License 2.0 | arm-software/astc-encoder | Init array tail for compute_value_of_texel_int and remove loop tail |
61,745 | 03.05.2021 22:02:46 | -3,600 | 92ae8bceab4dc4cbdb1c167dc50462ad68226045 | Fuse two adjacent loops | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -429,10 +429,7 @@ static float compress_symbolic_block_fixed_partition_1plane(\n{\nworkscb.color_values[j][k] = colorvals[j][k];\n}\n- }\n- for (int j = 0; j... | C | Apache License 2.0 | arm-software/astc-encoder | Fuse two adjacent loops |
61,745 | 03.05.2021 22:28:47 | -3,600 | 81748d559973f3b85379b386c837b8f0d28d3dea | Add promise to loop | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -1123,18 +1123,23 @@ void recompute_ideal_colors_2planes(\nconst imageblock* blk, // picture-block containing the actual data.\nconst err... | C | Apache License 2.0 | arm-software/astc-encoder | Add promise to loop |
61,745 | 04.05.2021 09:04:08 | -3,600 | 425d74cbe6b8611afa62d42fa0457d8571450e1b | Remove loop tail from compute_error_of_weight_set_1/2plane | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -121,6 +121,14 @@ static void compute_endpoints_and_ideal_weights_1_comp(\nis_constant_wes = is_constant_wes && ei->weight_error_scale[i]... | C | Apache License 2.0 | arm-software/astc-encoder | Remove loop tail from compute_error_of_weight_set_1/2plane |
61,745 | 04.05.2021 21:08:15 | -3,600 | fb745816cdcc9378e9f7d5d42fc1be2c51606729 | Use normalize_safe | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -494,14 +494,7 @@ static void compute_endpoints_and_ideal_weights_4_comp(\n}\nlines[i].a = pms[i].avg;\n- if (dot_s(dir, dir) == 0.0f)\n-... | C | Apache License 2.0 | arm-software/astc-encoder | Use normalize_safe |
61,745 | 05.05.2021 22:21:58 | -3,600 | 28adb3266d8dba28dfcd87a240dbfea3423239ed | Cleanup astcenc_encoding_choice_error.cpp and add Doxygen | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -722,7 +722,7 @@ static float compress_symbolic_block_fixed_partition_2planes(\nint color_quant_level_mod[TUNE_MAX_TRIAL_CANDIDATES];\nendpoints epm;\n- merg... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup astcenc_encoding_choice_error.cpp and add Doxygen |
61,745 | 06.05.2021 08:46:37 | -3,600 | c56fe5afb6a9406ea1f7e1fd0656e0334afd013a | Don't call compute_endpoints_and_ideal_weights twice | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "#include <cstring>\n#include <cstdio>\n+/**\n+ * @brief Merge two planes of endpoints into a single vector.\n+ *\n+ * @param ep_plane1 The endpoints for plane 1... | C | Apache License 2.0 | arm-software/astc-encoder | Don't call compute_endpoints_and_ideal_weights twice |
61,745 | 06.05.2021 13:52:40 | -3,600 | 3b8541f077fa773147e11ea194dacc88064421d2 | Fix out-of-date assert | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -807,7 +807,9 @@ void compute_ideal_weights_for_decimation_table(\n// TODO: Use SIMD copies?\nfor (int i = 0; i < texel_count_simd; i++)\... | C | Apache License 2.0 | arm-software/astc-encoder | Fix out-of-date assert |
61,745 | 06.05.2021 22:13:10 | -3,600 | b01c75bacd6be9b9419e347486460aff627e7aba | Fix color_scale assignment | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -205,7 +205,7 @@ static void compute_endpoints_and_ideal_weights_2_comp(\nif (error_weights[i] > 1e-10f)\n{\nint partition = pt->partitio... | C | Apache License 2.0 | arm-software/astc-encoder | Fix color_scale assignment |
61,745 | 06.05.2021 22:28:49 | -3,600 | a3472605c9c73a30b336465666079ff208e0f996 | Remove float2 and alias to 2 lanes of SIMD vfloat4 | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_find_best_partitioning.cpp",
"new_path": "Source/astcenc_find_best_partitioning.cpp",
"diff": "@@ -389,37 +389,16 @@ void find_best_partitionings(\nif (!skip_two_plane)\n{\nsep_r_lines[j].a = pm.avg.swz<1, 2>();\n- float2 dirs_gb = pm.dir.swz<1,... | C | Apache License 2.0 | arm-software/astc-encoder | Remove float2 and alias to 2 lanes of SIMD vfloat4 |
61,745 | 06.05.2021 22:35:29 | -3,600 | 47641ede48ba9882f85f0e88d0d7ad74e4358511 | Use vfloat2/3 factories where is makes sense to | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "@@ -247,10 +247,9 @@ void compute_avgs_and_dirs_3_comp(\n{\nint iwt = weights[i];\nfloat weight = texel_weights[iwt];\n- vfloat4 texel_datum = vfloa... | C | Apache License 2.0 | arm-software/astc-encoder | Use vfloat2/3 factories where is makes sense to |
61,745 | 06.05.2021 22:50:52 | -3,600 | 32c9d858727cfb4f804484eb39ca384fd84ae9c5 | Remove legacy #define that's always true | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_pick_best_endpoint_format.cpp",
"new_path": "Source/astcenc_pick_best_endpoint_format.cpp",
"diff": "@@ -1054,7 +1054,6 @@ void determine_optimal_set_of_endpoint_formats_to_use(\nint best_quant_levels_mod[MAX_WEIGHT_MODES];\nint best_ep_formats[... | C | Apache License 2.0 | arm-software/astc-encoder | Remove legacy #define that's always true |
61,745 | 06.05.2021 23:06:11 | -3,600 | 07925527f31f2000edf058a992143855b73b6559 | Use a bool return for queries | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_internal.h",
"new_path": "Source/astcenc_internal.h",
"diff": "@@ -825,18 +825,18 @@ const float *get_2d_percentile_table(\n/**\n* @brief Query if a 2D block size is legal.\n*\n- * @return A non-zero value if legal, zero otherwise.\n+ * @return ... | C | Apache License 2.0 | arm-software/astc-encoder | Use a bool return for queries |
61,745 | 07.05.2021 17:01:27 | -3,600 | 21a037e23997d9eff405e4a671cc02adc8d8e7eb | Fix typo in none SIMD file | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib_none_4.h",
"new_path": "Source/astcenc_vecmathlib_none_4.h",
"diff": "@@ -150,7 +150,7 @@ struct vfloat4\n/**\n* @brief Return a swizzled float 2.\n*/\n- template <int l0, int l1> ASTCENC_SIMD_INLINE float2 swz() const\n+ template <in... | C | Apache License 2.0 | arm-software/astc-encoder | Fix typo in none SIMD file |
61,745 | 07.05.2021 17:16:24 | -3,600 | b6d3af2ffe059b0254e90be9c99a8de187b0db5a | Add missing refactor of vfloat2 test file | [
{
"change_type": "MODIFY",
"old_path": "Source/UnitTest/test_simd.cpp",
"new_path": "Source/UnitTest/test_simd.cpp",
"diff": "@@ -412,13 +412,13 @@ TEST(vfloat4, swz3)\nTEST(vfloat4, swz2)\n{\nvfloat4 a(1.0f, 2.0f, 3.0f, 4.0f);\n- float2 r = a.swz<0, 3>();\n- EXPECT_EQ(r.r, 1.0f);\n- EXPECT_EQ(r.g, ... | C | Apache License 2.0 | arm-software/astc-encoder | Add missing refactor of vfloat2 test file |
61,745 | 07.05.2021 17:28:40 | -3,600 | 9a0392450d63c692666be047d194b35c1e7bbdf4 | Add parens for GCC SA warning | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -799,8 +799,8 @@ void compute_ideal_weights_for_decimation_table(\nfor (int i = 0; i < texel_count_simd; i++)\n{\n// Assert it's an ident... | C | Apache License 2.0 | arm-software/astc-encoder | Add parens for GCC SA warning |
61,745 | 10.05.2021 20:53:50 | -3,600 | 538fc235d200dc25809319deb434248796cb144a | Clean up function signatures for compute_avgs_and_dirs_*_comp | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "#include <cassert>\n-// For a full block, functions to compute averages and dominant directions. The\n-// averages and directions are computed separ... | C | Apache License 2.0 | arm-software/astc-encoder | Clean up function signatures for compute_avgs_and_dirs_*_comp |
61,745 | 10.05.2021 21:23:46 | -3,600 | 0d7223a650a73121c802ec0d9d86fd53272d809a | API cleanup for compute_error_squared_rgb/a | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "@@ -409,26 +409,27 @@ void compute_avgs_and_dirs_2_comp(\n}\n}\n+/* See header for documentation. */\nvoid compute_error_squared_rgba(\n- const part... | C | Apache License 2.0 | arm-software/astc-encoder | API cleanup for compute_error_squared_rgb/a |
61,745 | 13.05.2021 13:13:16 | -3,600 | 43f85b761534eeabe9fd9c51cd39e7d427a3cb93 | Update oss-fuzz test to new API. | [
{
"change_type": "MODIFY",
"old_path": "Source/Fuzzers/fuzz_astc_physical_to_symbolic.cpp",
"new_path": "Source/Fuzzers/fuzz_astc_physical_to_symbolic.cpp",
"diff": "// SPDX-License-Identifier: Apache-2.0\n// ----------------------------------------------------------------------------\n-// Copyright... | C | Apache License 2.0 | arm-software/astc-encoder | Update oss-fuzz test to new API. |
61,745 | 14.05.2021 20:57:16 | -3,600 | 16d1904c702f1bff3549e4d1dc3aa05a6bd11e5c | API cleanup for color_unquantize | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_color_quantize.cpp",
"new_path": "Source/astcenc_color_quantize.cpp",
"diff": "@@ -1006,7 +1006,7 @@ static inline void quantize_and_unquantize_retain_top_four_bits(\n}\n/**\n- * @brief Quantize a HDR RGB color using RGB + scale.\n+ * @brief Qua... | C | Apache License 2.0 | arm-software/astc-encoder | API cleanup for color_unquantize |
61,745 | 14.05.2021 22:26:41 | -3,600 | 8f0f258d1f6720ec65c704d45e0940203fad5f5d | Cleanup API for compute_variance | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compute_variance.cpp",
"new_path": "Source/astcenc_compute_variance.cpp",
"diff": "#include <cassert>\n/**\n- * @brief Generate a prefix-sum array using Brent-Kung algorithm.\n+ * @brief Generate a prefix-sum array using the Brent-Kung algorithm... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup API for compute_variance |
61,745 | 14.05.2021 22:29:15 | -3,600 | 2ec1b5b068d4304257fbd3777c36806266f62f7d | API change - pass swizzzle structs by reference. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "@@ -729,7 +729,7 @@ ASTCENC_PUBLIC astcenc_error astcenc_context_alloc(\n*\n* @param context Codec context.\n* @param[in,out] image An input image, in 2D slices.\n- * @param swizzle Compression data s... | C | Apache License 2.0 | arm-software/astc-encoder | API change - pass swizzzle structs by reference. |
61,745 | 14.05.2021 23:06:07 | -3,600 | 5dfd12c559fa84b803bd9256199f17fdffb7f215 | Cleanup API for decompress_symbolic | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -498,7 +498,7 @@ static float compress_symbolic_block_fixed_partition_1plane(\nworkscb.weights[j] = u8_weight_src[j];\n}\n- float errorval = compute_symbolic... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup API for decompress_symbolic |
61,745 | 14.05.2021 23:08:48 | -3,600 | 85317ae8fe97ead270d1608ede06b527de52cac8 | Cleanup API for diagnostic_trace | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_diagnostic_trace.cpp",
"new_path": "Source/astcenc_diagnostic_trace.cpp",
"diff": "@@ -43,6 +43,7 @@ TraceLog::TraceLog(\nm_root = new TraceNode(\"root\");\n}\n+/* See header for documentation. */\nTraceNode* TraceLog::get_current_leaf()\n{\nif ... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup API for diagnostic_trace |
61,745 | 14.05.2021 23:27:06 | -3,600 | 172d511f7b80b75b24430f417e14304699eadbc5 | Cleanup API for astcenc_entry | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "*\n* See the @c astcenc_config structure for detailed parameter documentation.\n*\n- * Note that the mse_overshoot entries are scaling factors relative to the\n- * base MSE to hit db_l... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup API for astcenc_entry |
61,745 | 14.05.2021 23:47:16 | -3,600 | 654f80bac0c4b1f6682bbd34551580bb126ccee1 | Cleanup API for pick_best_endpoint_format | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -1588,10 +1588,10 @@ void compress_block(\nint partition_indices_1plane[2] { 0, 0 };\nint partition_index_2planes = 0;\n- find_best_partitionings(bsd, &blk, ... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup API for pick_best_endpoint_format |
61,745 | 15.05.2021 23:12:36 | -3,600 | 996a7feb5b885924cc3bc983cad5f192fc570539 | Cleanup API for kmeans_partitioning | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_internal.h",
"new_path": "Source/astcenc_internal.h",
"diff": "@@ -1028,7 +1028,14 @@ void find_best_partitionings(\nint& best_partition_samec,\nint* best_partition_dualplane);\n-// use k-means clustering to compute a partition ordering for a bl... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup API for kmeans_partitioning |
61,745 | 15.05.2021 23:23:17 | -3,600 | 4858dda53f2c3ba0ced62a896fea89acccb3d2e4 | Cleanup API for astcenc_image.cpp | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -928,7 +928,7 @@ static void compress_image(\n// Fetch the full block for compression\nif (use_full_block)\n{\n- fetch_imageblock(decode_mode, image, &blk, bsd, x * block_x, y * blo... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup API for astcenc_image.cpp |
61,745 | 15.05.2021 23:51:28 | -3,600 | 1d3bd32038558674053aa6dbbacbd3f32712fc54 | Cleanup API for integer_sequence | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_integer_sequence.cpp",
"new_path": "Source/astcenc_integer_sequence.cpp",
"diff": "#include <array>\n-// unpacked quint triplets <low,middle,high> for each packed-quint value\n+/** @brief Unpacked quint triplets <low,middle,high> for each packed... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup API for integer_sequence |
61,745 | 16.05.2021 19:50:07 | -3,600 | f0cbaf34488690ad8a130fdd1ae70678256d28ae | Cleanup API for partition_tables | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "@@ -1098,7 +1098,7 @@ void init_block_size_descriptor(\nconstruct_block_size_descriptor_2d(x_texels, y_texels, can_omit_modes, mode_cutoff, bsd);\n}\n- init_partition_table... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup API for partition_tables |
61,745 | 16.05.2021 19:58:07 | -3,600 | a54a5011d9ab8a0bb1582c565927a99326e0a92a | Cleanup API for percentile_tables | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_percentile_tables.cpp",
"new_path": "Source/astcenc_percentile_tables.cpp",
"diff": "@@ -1114,7 +1114,7 @@ static const packed_percentile_table *get_packed_table(\nreturn nullptr;\n}\n-/* Public function, see header file for detailed documentati... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup API for percentile_tables |
61,745 | 16.05.2021 20:13:15 | -3,600 | 14f7dfdb0fee66e310bc96c61840c6cd3340ddc0 | Cleanup API for weight_align | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -308,7 +308,7 @@ static float compress_symbolic_block_fixed_partition_1plane(\nfloat weight_high_value[MAX_WEIGHT_MODES];\ncompute_angular_endpoints_1plane(\... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup API for weight_align |
61,745 | 16.05.2021 20:14:28 | -3,600 | f4f5cfbe8832e7075002f903e9c7a9e7d6b28748 | Comment style cleanup | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_weight_quant_xfer_tables.cpp",
"new_path": "Source/astcenc_weight_quant_xfer_tables.cpp",
"diff": "#include \"astcenc_internal.h\"\n-#define _ 0 // using _ to indicate an entry that will not be used.\n+#define _ 0 // Using _ to indicate an entry... | C | Apache License 2.0 | arm-software/astc-encoder | Comment style cleanup |
61,745 | 16.05.2021 20:16:53 | -3,600 | fea1f414f2bb44b43c2fa8b41e95cc9f5eaa04b3 | Cleanup platform_isa_detection | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_image.cpp",
"new_path": "Source/astcenc_image.cpp",
"diff": "@@ -147,7 +147,7 @@ static vfloat4 encode_texel_lns(\nreturn select(datav_unorm, datav_lns, lns_mask);\n}\n-/* See header for documentation */\n+/* See header for documentation. */\nvo... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup platform_isa_detection |
61,745 | 16.05.2021 20:27:17 | -3,600 | 764be242ef99659243c30482aa1d779130624479 | Cleanup API for symbolic_physical | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_symbolic_physical.cpp",
"new_path": "Source/astcenc_symbolic_physical.cpp",
"diff": "#include <assert.h>\n-// routine to write up to 8 bits\n+/**\n+ * @brief Write up to 8 bits at an arbitrary bit offset.\n+ *\n+ * The stored value is at most 8 ... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup API for symbolic_physical |
61,745 | 18.05.2021 20:11:12 | -3,600 | f732aac1dbedd969ba7f3b3509f51b5625f96ea0 | Use incremental add | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -913,8 +913,8 @@ void compute_ideal_weights_for_decimation_table(\nvfloat old_weight = gatherf(infilled_weights, texel);\nvfloat ideal_we... | C | Apache License 2.0 | arm-software/astc-encoder | Use incremental add |
61,745 | 18.05.2021 20:34:29 | -3,600 | 2aae3ca9ad4b28a56c35becb1a5dc75e82310db2 | Remove needless copies in compress_symbolic | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -387,8 +387,6 @@ static float compress_symbolic_block_fixed_partition_1plane(\n{\nTRACE_NODE(node0, \"candidate\");\n- uint8_t *u8_weight_src;\n-\nconst int ... | C | Apache License 2.0 | arm-software/astc-encoder | Remove needless copies in compress_symbolic |
61,745 | 18.05.2021 22:35:34 | -3,600 | 8b19852e5c85bdf816471e7a1467092e9bcdce58 | Remove RESTRICT - no longer beneficial | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -754,8 +754,8 @@ void compute_ideal_weights_for_decimation_table(\nconst endpoints_and_weights& eai_in,\nendpoints_and_weights& eai_out,\... | C | Apache License 2.0 | arm-software/astc-encoder | Remove RESTRICT - no longer beneficial |
61,745 | 18.05.2021 23:47:36 | -3,600 | 07e9211be0748a6a388f888bb8011af40c77fb37 | Refactor many function names | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "@@ -244,7 +244,7 @@ static int decode_block_mode_3d(\n* @param y_weights The number of weights in the Y dimension.\n* @param[out] di The decimation info structure to popula... | C | Apache License 2.0 | arm-software/astc-encoder | Refactor many function names |
61,745 | 19.05.2021 14:28:41 | -3,600 | 7a38c63cd89046551c1985d1124f6441f43a9885 | Ensure best_integer_count cant be negative
This is unreachable, but keeps static analysis tools happy | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_pick_best_endpoint_format.cpp",
"new_path": "Source/astcenc_pick_best_endpoint_format.cpp",
"diff": "@@ -681,12 +681,13 @@ static void one_partition_find_best_combination_for_bitcount(\nint& best_format,\nfloat& best_error\n) {\n- int best_integ... | C | Apache License 2.0 | arm-software/astc-encoder | Ensure best_integer_count cant be negative
This is unreachable, but keeps static analysis tools happy |
61,745 | 19.05.2021 15:28:05 | -3,600 | 44428ac7a1aeae47fa0c9283f3597d7c26320bfb | Ensure constant_color is initialized
This is unreachable, but it keeps static analysis happy. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -408,7 +408,13 @@ static float compress_symbolic_block_for_partition_1plane(\nsymbolic_compressed_block workscb;\n+ for (int j = 0; j < 4; j++)\n+ {\n+ works... | C | Apache License 2.0 | arm-software/astc-encoder | Ensure constant_color is initialized
This is unreachable, but it keeps static analysis happy. |
61,745 | 19.05.2021 15:59:35 | -3,600 | 670af35d2d71500e1d7d99685f3c960c3a9f770a | Fix quant off-by-one in one_partition_find_best_combination_for_bitcount | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_pick_best_endpoint_format.cpp",
"new_path": "Source/astcenc_pick_best_endpoint_format.cpp",
"diff": "@@ -699,7 +699,7 @@ static void one_partition_find_best_combination_for_bitcount(\nif (integer_count_error < best_integer_count_error)\n{\nbest_... | C | Apache License 2.0 | arm-software/astc-encoder | Fix quant off-by-one in one_partition_find_best_combination_for_bitcount |
61,745 | 19.05.2021 21:57:32 | -3,600 | df5510dcefa69c933f84bc8e4a9cd078ffac8714 | Single threaded contexts implicitly reset between images | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "@@ -749,6 +749,8 @@ ASTCENC_PUBLIC astcenc_error astcenc_compress_image(\n* only be called when all threads have exited the @c astcenc_compress_image() function for image N,\n* but before any thread e... | C | Apache License 2.0 | arm-software/astc-encoder | Single threaded contexts implicitly reset between images |
61,745 | 22.05.2021 14:26:05 | -3,600 | ac6f179e3b5d3320e1616abe64d0bd4216a134da | astcenc_block_info uses unsigned ints | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "@@ -602,16 +602,16 @@ struct astcenc_block_info\nastcenc_profile profile;\n/** @brief The number of texels in the X dimension. */\n- int block_x;\n+ unsigned int block_x;\n/** @brief The number of tex... | C | Apache License 2.0 | arm-software/astc-encoder | astcenc_block_info uses unsigned ints |
61,745 | 22.05.2021 14:30:20 | -3,600 | 8bfc7403d94c785dbfecb8a34b0419c5ccd85462 | Use unsigned types in avg/var computations | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compute_variance.cpp",
"new_path": "Source/astcenc_compute_variance.cpp",
"diff": "@@ -571,26 +571,26 @@ unsigned int init_compute_averages_and_variances(\nastcenc_image& img,\nfloat rgb_power,\nfloat alpha_power,\n- int avg_var_kernel_radius,\n... | C | Apache License 2.0 | arm-software/astc-encoder | Use unsigned types in avg/var computations |
61,745 | 22.05.2021 14:38:31 | -3,600 | 7e5ce3456c614a45d790399b95f9a653ce6eac0b | More use of unsigned types | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "* @return Returns true of valid mode, false otherwise.\n*/\nstatic bool decode_block_mode_2d(\n- int block_mode,\n- int& x_weights,\n- int& y_weights,\n+ unsigned int block... | C | Apache License 2.0 | arm-software/astc-encoder | More use of unsigned types |
61,745 | 22.05.2021 15:34:29 | -3,600 | 07f9604653a2d3e254fa2a91ae9c95424ab1fd82 | Consolidate a block_type field | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -486,11 +486,11 @@ static float compress_symbolic_block_for_partition_1plane(\nworkscb.partition_index = partition_index;\nworkscb.color_quant_level = worksc... | C | Apache License 2.0 | arm-software/astc-encoder | Consolidate a block_type field |
61,745 | 22.05.2021 15:38:43 | -3,600 | 6268c029afc689e52dd6e91b436a7893575349e8 | Use uint8_t storage for quant color | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_color_quantize.cpp",
"new_path": "Source/astcenc_color_quantize.cpp",
"diff": "@@ -73,7 +73,7 @@ static inline int quant_color(\nstatic void quantize_rgb(\nvfloat4 color0,\nvfloat4 color1,\n- int output[6],\n+ uint8_t output[6],\nquant_method qu... | C | Apache License 2.0 | arm-software/astc-encoder | Use uint8_t storage for quant color |
61,745 | 22.05.2021 16:01:57 | -3,600 | 01db996504c4ce09bef2ee4e040bbf12b0cad271 | Repack symbolic_compressed_block | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_internal.h",
"new_path": "Source/astcenc_internal.h",
"diff": "@@ -710,27 +710,67 @@ 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 wi... | C | Apache License 2.0 | arm-software/astc-encoder | Repack symbolic_compressed_block |
61,745 | 22.05.2021 17:26:32 | -3,600 | 9baed835109fbbfd8354b18107c05ebef98726b9 | Use unsigned ints in block size calculations | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "@@ -39,10 +39,10 @@ static bool decode_block_mode_2d(\nbool& is_dual_plane,\nunsigned int& quant_mode\n) {\n- int base_quant_mode = (block_mode >> 4) & 1;\n- int H = (block... | C | Apache License 2.0 | arm-software/astc-encoder | Use unsigned ints in block size calculations |
61,745 | 22.05.2021 17:32:47 | -3,600 | 5aff341446534c9bb281689f98aa4633fef52702 | Fix int/uint compare in debug builds | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -83,7 +83,7 @@ static bool realign_weights(\n// Get the quantization table\nconst int packed_index = bsd.block_mode_packed_index[scb.block_mode];\n- assert(p... | C | Apache License 2.0 | arm-software/astc-encoder | Fix int/uint compare in debug builds |
61,745 | 23.05.2021 20:50:52 | -3,600 | e2049a7a92dd2c75702ff91ce0c9dbb487b2a51e | More unsigned int usage | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "static void merge_endpoints(\nconst endpoints& ep_plane1,\nconst endpoints& ep_plane2,\n- int component_plane2,\n+ unsigned int component_plane2,\nendpoints& re... | C | Apache License 2.0 | arm-software/astc-encoder | More unsigned int usage |
61,745 | 23.05.2021 20:53:57 | -3,600 | 72303ea9c08fb1c1584b5ff066fc68c0b509b129 | Use unsigned sentinel for bad block modes | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "@@ -882,7 +882,7 @@ static void construct_block_size_descriptor_2d(\n// Skip modes that are invalid, too large, or not selected by heuristic\nif (!valid || !selected || (x_... | C | Apache License 2.0 | arm-software/astc-encoder | Use unsigned sentinel for bad block modes |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.