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 | 10.03.2022 08:39:25 | 0 | 969589d53bc36adff311af14c0a8489630f45247 | Compact duplicate encodings when in SELF_DECOMPRESS mode | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "@@ -1132,6 +1132,7 @@ void init_block_size_descriptor(\nunsigned int y_texels,\nunsigned int z_texels,\nbool can_omit_modes,\n+ unsigned int partition_count_cutoff,\nfloat ... | C | Apache License 2.0 | arm-software/astc-encoder | Compact duplicate encodings when in SELF_DECOMPRESS mode |
61,745 | 10.03.2022 19:08:13 | 0 | 9896e6aa987a3873e6cf2d7386fb88ac473b6754 | Don't remove tables above max partition count in decompress configs | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_partition_tables.cpp",
"new_path": "Source/astcenc_partition_tables.cpp",
"diff": "@@ -340,7 +340,7 @@ static void build_partition_table_for_one_partition_count(\nunsigned int next_index = 0;\nbsd.partitioning_count[partition_count - 1] = 0;\n- ... | C | Apache License 2.0 | arm-software/astc-encoder | Don't remove tables above max partition count in decompress configs |
61,745 | 10.03.2022 20:17:38 | 0 | 6fec30c25aea4de3adc0f3a1e51dc1f4dd7f8c6a | Only store remap tables for 2-4 partitions | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_internal.h",
"new_path": "Source/astcenc_internal.h",
"diff": "@@ -712,9 +712,12 @@ struct block_size_descriptor\n/** @brief The active partition tables, stored in low indices per-count. */\npartition_info partitionings[(3 * BLOCK_MAX_PARTITIONI... | C | Apache License 2.0 | arm-software/astc-encoder | Only store remap tables for 2-4 partitions |
61,745 | 10.03.2022 20:24:11 | 0 | 38a11cb9848457a2b7e0bc25cfb3385935d172bd | Move normal map max partition boost to config init | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -618,6 +618,11 @@ astcenc_error astcenc_config_init(\nif (flags & ASTCENC_FLG_MAP_NORMAL)\n{\n+ // Normal map encoding uses L+A blocks, so allow one more partitioning\n+ // than nor... | C | Apache License 2.0 | arm-software/astc-encoder | Move normal map max partition boost to config init |
61,745 | 10.03.2022 21:47:33 | 0 | 621b789c14a6d29be7c08a2a0a605322f9535f00 | Optimize memory layout for partition coverage masks | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_find_best_partitioning.cpp",
"new_path": "Source/astcenc_find_best_partitioning.cpp",
"diff": "@@ -360,26 +360,29 @@ static void count_partition_mismatch_bits(\nconst uint64_t bitmaps[BLOCK_MAX_PARTITIONS],\nunsigned int mismatch_counts[BLOCK_MA... | C | Apache License 2.0 | arm-software/astc-encoder | Optimize memory layout for partition coverage masks |
61,745 | 10.03.2022 22:13:13 | 0 | 2ff7b8a4941895de11f962c59bb704b2d583349b | Use per-partition count validity arrays | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_find_best_partitioning.cpp",
"new_path": "Source/astcenc_find_best_partitioning.cpp",
"diff": "@@ -365,7 +365,7 @@ static void count_partition_mismatch_bits(\nfor (unsigned int i = 0; i < bsd.partitioning_count[partition_count - 1]; i++)\n{\nint... | C | Apache License 2.0 | arm-software/astc-encoder | Use per-partition count validity arrays |
61,745 | 10.03.2022 22:44:15 | 0 | 6a7717eba750bac0f60583b6c4910e16119e3039 | Improve comment for remaining TODO | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_find_best_partitioning.cpp",
"new_path": "Source/astcenc_find_best_partitioning.cpp",
"diff": "@@ -529,7 +529,10 @@ void find_best_partition_candidates(\nunsigned int partition = partition_sequence[i];\nconst auto& pi = bsd.get_raw_partition_inf... | C | Apache License 2.0 | arm-software/astc-encoder | Improve comment for remaining TODO |
61,745 | 11.03.2022 21:21:54 | 0 | ac6467c1d2b2135c3882574044bb44bc293ac60b | Move to static resource allocation in context structure | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "@@ -768,8 +768,8 @@ static int construct_dt_entry_2d(\nbool try_2planes = (2 * weight_count) <= BLOCK_MAX_WEIGHTS;\n- decimation_info *di = aligned_malloc<decimation_info>(... | C | Apache License 2.0 | arm-software/astc-encoder | Move to static resource allocation in context structure |
61,745 | 13.03.2022 09:02:02 | 0 | 7fa17658f90f6766d43cc0f08a9cfd818d7e08db | Fix mismatched aligned_alloc/delete pairs | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -714,7 +714,7 @@ astcenc_error astcenc_context_alloc(\nstatus = validate_config(ctx->config);\nif (status != ASTCENC_SUCCESS)\n{\n- delete ctx;\n+ aligned_free<astcenc_context>(ctx)... | C | Apache License 2.0 | arm-software/astc-encoder | Fix mismatched aligned_alloc/delete pairs |
61,745 | 13.03.2022 15:17:29 | 0 | 4c3ef88bf369ff8ad089798b53c32db0036fb8bd | Fix vint4::loada() for NEON and loada unit tests | [
{
"change_type": "MODIFY",
"old_path": "Source/UnitTest/test_simd.cpp",
"new_path": "Source/UnitTest/test_simd.cpp",
"diff": "// SPDX-License-Identifier: Apache-2.0\n// ----------------------------------------------------------------------------\n-// Copyright 2020-2021 Arm Limited\n+// Copyright 20... | C | Apache License 2.0 | arm-software/astc-encoder | Fix vint4::loada() for NEON and loada unit tests |
61,745 | 14.03.2022 20:25:23 | 0 | a6aa4d32572a7e8dad92ae055716978cb359a659 | Hoist channel_weight setup out of block loop | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -825,15 +825,22 @@ static void compress_image(\nint xblocks = (dim_x + block_x - 1) / block_x;\nint yblocks = (dim_y + block_y - 1) / block_y;\nint zblocks = (dim_z + block_z - 1) /... | C | Apache License 2.0 | arm-software/astc-encoder | Hoist channel_weight setup out of block loop |
61,745 | 14.03.2022 22:20:05 | 0 | 9bf7bc8dbd3e4a55226251325e52db49c740c2f9 | Specialize bilinear_infil functions for single-axis decimation
Add a new infill variant for "half decimated" (2 weight linear interpolation) which can be used when only a single axis is decimated. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "@@ -322,9 +322,11 @@ static void init_decimation_info_2d(\n}\n}\n+ uint8_t max_texel_weight_count = 0;\nfor (unsigned int i = 0; i < texels_per_block; i++)\n{\ndi.texel_wei... | C | Apache License 2.0 | arm-software/astc-encoder | Specialize bilinear_infil functions for single-axis decimation (#317)
Add a new infill variant for "half decimated" (2 weight linear interpolation) which can be used when only a single axis is decimated. |
61,745 | 17.03.2022 21:30:01 | 0 | 0b730c1fe43437b62f06868d571dab8ca13d0f5c | Mark duplicate partititions as invalid in the count min mask | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_find_best_partitioning.cpp",
"new_path": "Source/astcenc_find_best_partitioning.cpp",
"diff": "@@ -360,9 +360,11 @@ static void count_partition_mismatch_bits(\nconst uint64_t bitmaps[BLOCK_MAX_PARTITIONS],\nunsigned int mismatch_counts[BLOCK_MAX... | C | Apache License 2.0 | arm-software/astc-encoder | Mark duplicate partititions as invalid in the count min mask |
61,745 | 17.03.2022 21:37:41 | 0 | 9f54c5cf2900fbede50030f23e71b0bd1b374379 | Make index style consistent for valid array | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_partition_tables.cpp",
"new_path": "Source/astcenc_partition_tables.cpp",
"diff": "@@ -405,7 +405,7 @@ static void build_partition_table_for_one_partition_count(\nif (match)\n{\nptab[next_index].partition_count = 0;\n- partitioning_valid[partiti... | C | Apache License 2.0 | arm-software/astc-encoder | Make index style consistent for valid array |
61,745 | 21.03.2022 20:01:47 | 0 | 8715c151ad25cc8e852c7b69c32b084db2eb0119 | Keep dot() vector form in realign_weights_decimated loop | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -280,9 +280,9 @@ static bool realign_weights_decimated(\nfloat uqw_next_dif = static_cast<float>(next_wt_uq) - uqwf;\nfloat uqw_prev_dif = static_cast<float>... | C | Apache License 2.0 | arm-software/astc-encoder | Keep dot() vector form in realign_weights_decimated loop |
61,745 | 21.03.2022 21:03:01 | 0 | 956812297a6e2947c81da6736b198c2f69cf1498 | Vectorize resolve step in avgs_and_dirs | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "@@ -41,9 +41,7 @@ void compute_avgs_and_dirs_4_comp(\nunsigned int texel_count = pi.partition_texel_count[partition];\npromise(texel_count > 0);\n- ... | C | Apache License 2.0 | arm-software/astc-encoder | Vectorize resolve step in avgs_and_dirs |
61,745 | 21.03.2022 21:29:57 | 0 | 430c8b9e783ba8de537a34c510fc7e20c9a86384 | Vectorize resolve in compute_symbolic_block_diff | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_decompress_symbolic.cpp",
"new_path": "Source/astcenc_decompress_symbolic.cpp",
"diff": "@@ -351,7 +351,8 @@ float compute_symbolic_block_difference_2plane(\nvmask4 plane2_mask = vint4::lane_id() == vint4(scb.plane2_component);\n- float summa = ... | C | Apache License 2.0 | arm-software/astc-encoder | Vectorize resolve in compute_symbolic_block_diff |
61,745 | 22.03.2022 00:19:55 | 0 | a06b905c08e2fc2323beccf3c35fbc7e646cf615 | Enable more block_modes for 4x4 -fastest | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -62,7 +62,7 @@ struct astcenc_preset_config\nstatic const std::array<astcenc_preset_config, 5> preset_configs_high {{\n{\nASTCENC_PRE_FASTEST,\n- 2, 8, 40, 2, 2, 85.2f, 63.2f, 3.5f,... | C | Apache License 2.0 | arm-software/astc-encoder | Enable more block_modes for 4x4 -fastest |
61,745 | 01.04.2022 18:17:52 | -3,600 | f7111fa09b4333a17e39b5384d72eb6a38233aee | Remove unused deblock_weight array | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_internal.h",
"new_path": "Source/astcenc_internal.h",
"diff": "@@ -1396,9 +1396,6 @@ struct astcenc_context\n/** @brief The pixel region and variance worker arguments. */\navg_args avg_preprocess_args;\n- /** @brief The per-texel deblocking weig... | C | Apache License 2.0 | arm-software/astc-encoder | Remove unused deblock_weight array |
61,745 | 01.04.2022 19:25:23 | -3,600 | 139a54513e4000a8e8f6abd562fabbe444a8c06e | Remove unused parameter from compute_eci | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -507,7 +507,7 @@ static float compress_symbolic_block_for_partition_1plane(\nquant_method color_quant_level_mod[TUNE_MAX_TRIAL_CANDIDATES];\nunsigned int can... | C | Apache License 2.0 | arm-software/astc-encoder | Remove unused parameter from compute_eci |
61,745 | 03.04.2022 09:55:04 | -3,600 | 0b5b2e62ab803618b8c5b1f2b80181a6d732bff3 | Update main test reference | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Test/Images/Small/astc_reference-main-avx2_fast_results.csv",
"diff": "+Image Set,Block Size,Name,PSNR,Total Time,Coding Time,Coding Rate\n+Small,4x4,hdr-rgb-00.hdr,33.6884,0.1063,0.0155,4.2342\n+Small,4x4,ldr-rgb-00.png,38.1103,0.0148,0.0098,6.... | C | Apache License 2.0 | arm-software/astc-encoder | Update main test reference |
61,745 | 03.04.2022 14:09:13 | -3,600 | ed8ff199d8fd2c81ab441d8f81fe0ef2957e44fc | Sort block_mode storage into bands | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "@@ -759,24 +759,23 @@ static void assign_kmeans_texels(\n* @param y_weights The number of weights in the Y dimension.\n* @param bsd The block size descriptor we are populat... | C | Apache License 2.0 | arm-software/astc-encoder | Sort block_mode storage into bands |
61,745 | 03.04.2022 16:00:45 | -3,600 | cf1a817aa7daf0907000396f8a87aa950f042299 | Sort partition_info storage into bands | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_find_best_partitioning.cpp",
"new_path": "Source/astcenc_find_best_partitioning.cpp",
"diff": "@@ -360,7 +360,7 @@ static void count_partition_mismatch_bits(\nconst uint64_t bitmaps[BLOCK_MAX_PARTITIONS],\nunsigned int mismatch_counts[BLOCK_MAX_... | C | Apache License 2.0 | arm-software/astc-encoder | Sort partition_info storage into bands |
61,745 | 03.04.2022 17:52:51 | -3,600 | f387f9620ae1846322d82d2a80b60b554398d548 | Fix debug build asserts | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_internal.h",
"new_path": "Source/astcenc_internal.h",
"diff": "@@ -856,7 +856,7 @@ struct block_size_descriptor\npacked_index = this->partitioning_packed_index[partition_count - 2][index];\n}\n- assert(packed_index != BLOCK_BAD_PARTITIONING && p... | C | Apache License 2.0 | arm-software/astc-encoder | Fix debug build asserts |
61,745 | 03.04.2022 17:56:31 | -3,600 | 28a1473299f2443e06816c3f04be082bd629d69e | Make construct_dt_entry_2d static | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "@@ -761,7 +761,7 @@ static void assign_kmeans_texels(\n* @param wb The decimation table init scratch working buffers.\n* @param index The packed array index to populate.\n*... | C | Apache License 2.0 | arm-software/astc-encoder | Make construct_dt_entry_2d static |
61,745 | 04.04.2022 09:20:55 | -3,600 | 71683389dbe74812309f46066375459abcbceb53 | Update FLG_SELF_DECOMPRESS_ONLY documentation | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "*\n* A normal context is capable of decompressing any ASTC texture, including those generated by other\n* compressors with unknown heuristics. This is the most flexible implementation, but forces the\... | C | Apache License 2.0 | arm-software/astc-encoder | Update FLG_SELF_DECOMPRESS_ONLY documentation |
61,745 | 04.04.2022 09:26:28 | -3,600 | b615cf6ffb634cce4e200c83de24643fe64d6b32 | Add 3.6 entry to change log | [
{
"change_type": "MODIFY",
"old_path": "Docs/ChangeLog-3x.md",
"new_path": "Docs/ChangeLog-3x.md",
"diff": "@@ -7,7 +7,33 @@ All performance data on this page is measured on an Intel Core i5-9600K\nclocked at 4.2 GHz, running `astcenc` using AVX2 and 6 threads.\n<!-- --------------------------------... | C | Apache License 2.0 | arm-software/astc-encoder | Add 3.6 entry to change log |
61,745 | 07.04.2022 08:45:25 | -3,600 | 54eddabfa46e3781e0b5f562bc89710a016abaef | Fix incorrect weight variable name | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_internal.h",
"new_path": "Source/astcenc_internal.h",
"diff": "@@ -2212,14 +2212,14 @@ void prepare_angular_tables();\n* @param tune_low_weight_limit Weight count cutoff below which we use simpler searches.\n* @param only_always Only consider bl... | C | Apache License 2.0 | arm-software/astc-encoder | Fix incorrect weight variable name |
61,745 | 07.04.2022 09:01:38 | -3,600 | 458c52086e4b7bb244ea2d0ed6945259835e9ef1 | Use returned partition match count from search | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "@@ -1158,7 +1158,6 @@ static void construct_block_size_descriptor_3d(\n}\n}\n- // TODO: Probably need to do the 1/2 split for 3d modes too ...\nbsd.block_mode_count_1plane_... | C | Apache License 2.0 | arm-software/astc-encoder | Use returned partition match count from search |
61,745 | 07.04.2022 09:09:56 | -3,600 | 79dd9897e2f1f34a1414f583a23c7956b886abd1 | Avoid copying 1 plane low/high results in 2 plane mode | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -1054,7 +1054,6 @@ static inline vfloat4 compute_rgbo_vector(\n}\n/* See header for documentation. */\n-// TODO: Specialize for 1 partiti... | C | Apache License 2.0 | arm-software/astc-encoder | Avoid copying 1 plane low/high results in 2 plane mode |
61,745 | 07.04.2022 22:42:21 | -3,600 | d3d7cc1fd8964eec9734451d87358dc892104042 | Only compute partition mean for >1 partition | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "@@ -35,20 +35,27 @@ void compute_avgs_and_dirs_4_comp(\nint partition_count = pi.partition_count;\npromise(partition_count > 0);\n+ vfloat4 average ... | C | Apache License 2.0 | arm-software/astc-encoder | Only compute partition mean for >1 partition |
61,745 | 08.04.2022 08:40:31 | -3,600 | 2f86d3c70c3dd05de8bba75ef86bd75887b4131d | Filter decimation modes based on acutal config usage
Previous releases selected decimation modes that were used, but
assume that both 1 and 2 plane modes were active if feasible to
do so. In reality the prerequistite block mode was often not
enabled so we were processing more block modes than needed. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "@@ -802,6 +802,8 @@ static void construct_dt_entry_2d(\nassert(maxprec_1plane >= 0 || maxprec_2planes >= 0);\nbsd.decimation_modes[index].maxprec_1plane = static_cast<int8_... | C | Apache License 2.0 | arm-software/astc-encoder | Filter decimation modes based on acutal config usage
Previous releases selected decimation modes that were used, but
assume that both 1 and 2 plane modes were active if feasible to
do so. In reality the prerequistite block mode was often not
enabled so we were processing more block modes than needed. |
61,745 | 08.04.2022 23:10:14 | -3,600 | 7b1b3bcb4663c0963750fd46adc8e0e0afc30843 | Scalarize error after loop in realign_weights_decimated | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -318,19 +318,20 @@ static bool realign_weights_decimated(\nvfloat4 color = color_base + color_offset * plane_weight;\nvfloat4 orig_color = blk.texel(texel);\... | C | Apache License 2.0 | arm-software/astc-encoder | Scalarize error after loop in realign_weights_decimated |
61,745 | 09.04.2022 19:22:54 | -3,600 | b6a3cdec7ad829a09458334b72c8d45a1aa54b2a | Add fast load variant for U8 LDR images | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -842,6 +842,23 @@ static void compress_image(\n// Only the first thread actually runs the initializer\nctx.manage_compress.init(block_count);\n+\n+ // Determine if we can use an opt... | C | Apache License 2.0 | arm-software/astc-encoder | Add fast load variant for U8 LDR images |
61,745 | 19.04.2022 21:16:21 | -3,600 | 4490469c7c145ee962a4a289219987b93947a77a | Enforce min color quant of QUANT_6 earlier
This gives a small improvement in PSNR to some images as we
don't waste an encoding candidate on an illegal quant option. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -565,7 +565,7 @@ static float compress_symbolic_block_for_partition_1plane(\nrgbo_colors[j],\npartition_format_specifiers[i][j],\nworkscb.color_values[j],\n-... | C | Apache License 2.0 | arm-software/astc-encoder | Enforce min color quant of QUANT_6 earlier
This gives a small improvement in PSNR to some images as we
don't waste an encoding candidate on an illegal quant option. |
61,745 | 15.04.2022 15:10:04 | -3,600 | 9403f0ede3dcb437efae92df76c0e8c5b489d14a | Hoist weight undecimation out of loop | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -1065,17 +1065,46 @@ void recompute_ideal_colors_1plane(\nvfloat4 rgbo_vectors[BLOCK_MAX_PARTITIONS]\n) {\nunsigned int weight_count = di... | C | Apache License 2.0 | arm-software/astc-encoder | Hoist weight undecimation out of loop |
61,745 | 15.04.2022 14:12:17 | -3,600 | 0c3cddc5cca31784ac91029a076ed7717f9a3ffc | Use struct params for realign_weights | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -65,16 +65,12 @@ static void merge_endpoints(\n* @param bsd The block size information.\n* @param blk The image block color data to compress.\n* @param[out] ... | C | Apache License 2.0 | arm-software/astc-encoder | Use struct params for realign_weights |
61,745 | 19.04.2022 22:33:03 | -3,600 | 5b36b530789b2c11e448f4a629fdadb190d4b507 | Use selects in compute_angular_endpoints_lwc | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_weight_align.cpp",
"new_path": "Source/astcenc_weight_align.cpp",
"diff": "@@ -292,7 +292,7 @@ static void compute_angular_endpoints_for_quant_levels(\n// Check best error against record N\nvfloat4 best_result = best_results[idx_span];\n- vfloat... | C | Apache License 2.0 | arm-software/astc-encoder | Use selects in compute_angular_endpoints_lwc |
61,745 | 23.04.2022 12:58:59 | -3,600 | b6d7769e6f5c695c4d08502eea8936628fac451f | Add a masked accumulator | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "@@ -500,8 +500,7 @@ void compute_error_squared_rgba(\n+ (ew_b * uncor_dist2 * uncor_dist2)\n+ (ew_a * uncor_dist3 * uncor_dist3);\n- uncor_err = sel... | C | Apache License 2.0 | arm-software/astc-encoder | Add a masked accumulator |
61,745 | 23.04.2022 21:02:03 | -3,600 | 502d8aa4b1f5c52fc38ddac2db581f6e88bad30e | Add sequential select-based partition mean computation | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "#include <cassert>\n+/* See header for documentation. */\n+void compute_partition_averages_rgb(\n+ const partition_info& pi,\n+ const image_block& b... | C | Apache License 2.0 | arm-software/astc-encoder | Add sequential select-based partition mean computation |
61,745 | 23.04.2022 21:15:37 | -3,600 | 54451486ce3ca394ce63c69506a7a61e428c068c | Add Doxygen to new functions | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "#include <cassert>\n-/* See header for documentation. */\n-void compute_partition_averages_rgb(\n+/**\n+ * @brief Compute the average RGB color of e... | C | Apache License 2.0 | arm-software/astc-encoder | Add Doxygen to new functions |
61,745 | 23.04.2022 22:03:51 | -3,600 | 684c216784246474df238c93c58088742650040c | Add placeholder changelog | [
{
"change_type": "MODIFY",
"old_path": "Docs/ChangeLog-3x.md",
"new_path": "Docs/ChangeLog-3x.md",
"diff": "@@ -6,6 +6,29 @@ release of the 3.x series.\nAll performance data on this page is measured on an Intel Core i5-9600K\nclocked at 4.2 GHz, running `astcenc` using AVX2 and 6 threads.\n+<!-- ---... | C | Apache License 2.0 | arm-software/astc-encoder | Add placeholder changelog |
61,745 | 24.04.2022 19:16:08 | -3,600 | 8afe69603a4026cbbd58f0576cd04212ddbcc9f3 | Fix CLI log message | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel.cpp",
"new_path": "Source/astcenccli_toplevel.cpp",
"diff": "@@ -1096,8 +1096,8 @@ static void print_astcenc_config(\nprintf(\" Partition cutoff: %u partitions\\n\", config.tune_partition_count_limit);\nprintf(\" Partition index cuto... | C | Apache License 2.0 | arm-software/astc-encoder | Fix CLI log message |
61,745 | 24.04.2022 21:22:25 | -3,600 | 1af6398950519efe0664a3af22a0751bc5b73674 | Add explicit VLA vfloatacc type for accumulators
By default this is a vfloat4, as this allows invariant output
across 4- and 8-wide implementations. However you can now
just change it in the source to a vfloat8 for (a bit) more
performance if you are OK with some minor output variance. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "@@ -61,7 +61,7 @@ static void compute_partition_averages_rgb(\n// For 2 partitions scan results for partition 0, compute partition 1\nelse if (parti... | C | Apache License 2.0 | arm-software/astc-encoder | Add explicit VLA vfloatacc type for accumulators
By default this is a vfloat4, as this allows invariant output
across 4- and 8-wide implementations. However you can now
just change it in the source to a vfloat8 for (a bit) more
performance if you are OK with some minor output variance. |
61,745 | 24.04.2022 22:11:40 | -3,600 | d705270606161e2c5ec5724389c2c9aff11122e8 | Add undocumented NO_INVARIANCE build
The purpose of this build is to let us sanity check how much
invariance is actually costing us. The current non-invariant build
is 1% faster for AVX2. This includes:
* Wider VLA accumulators.
* Use of SSE 4.1 dot product. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib.h",
"new_path": "Source/astcenc_vecmathlib.h",
"diff": "#define ASTCENC_SIMD_WIDTH 8\nusing vfloat = vfloat8;\n- using vfloatacc = vfloat4; // Use vfloat8 for fast but non-invariant accumulators\n+\n+ #if defined(ASTCENC_NO_INVARIANCE... | C | Apache License 2.0 | arm-software/astc-encoder | Add undocumented NO_INVARIANCE build
The purpose of this build is to let us sanity check how much
invariance is actually costing us. The current non-invariant build
is 1% faster for AVX2. This includes:
* Wider VLA accumulators.
* Use of SSE 4.1 dot product. |
61,745 | 24.04.2022 22:33:24 | -3,600 | 9a0e64ccc0f0ddd5cced93ed1dd85905173868ad | Avoid divisor | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "@@ -473,7 +473,7 @@ void compute_avgs_and_dirs_3_comp(\nvfloat4 partition_averages[BLOCK_MAX_PARTITIONS];\ncompute_partition_averages_rgba(pi, blk, ... | C | Apache License 2.0 | arm-software/astc-encoder | Avoid divisor |
61,757 | 25.04.2022 11:46:48 | -3,600 | 7884560aacdb0605353f9fd34ae1d0b8020d6efa | Remove unused 'iters' variable | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_color_quantize.cpp",
"new_path": "Source/astcenc_color_quantize.cpp",
"diff": "@@ -123,7 +123,6 @@ static void quantize_rgb(\nint ri0b, gi0b, bi0b, ri1b, gi1b, bi1b;\nfloat rgb0_addon = 0.5f;\nfloat rgb1_addon = 0.5f;\n- int iters = 0;\ndo\n{\nr... | C | Apache License 2.0 | arm-software/astc-encoder | Remove unused 'iters' variable (#324) |
61,745 | 25.04.2022 11:59:33 | -3,600 | 1b8eb55a610a8919b0bf858f5fcbeda63f800c36 | Move Wuffs PNG loader wrapper into image_external | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_image_external.cpp",
"new_path": "Source/astcenccli_image_external.cpp",
"diff": "#include <cstdlib>\n#include <cstdio>\n+#include <fstream>\n+#include <vector>\n+\n+#include \"astcenccli_internal.h\"\n// Configure the STB image imagewrite li... | C | Apache License 2.0 | arm-software/astc-encoder | Move Wuffs PNG loader wrapper into image_external |
61,745 | 25.04.2022 13:53:59 | -3,600 | 3f23371684eb96db3cdd008b2817fb91e3411fcd | Remove obsolete scalar haccumulate tests | [
{
"change_type": "MODIFY",
"old_path": "Source/UnitTest/test_simd.cpp",
"new_path": "Source/UnitTest/test_simd.cpp",
"diff": "@@ -855,26 +855,6 @@ TEST(vfloat4, hadd_rgb_s)\nEXPECT_NEAR(r, sum, 0.005f);\n}\n-/** @brief Test vfloat4 haccumulate. */\n-TEST(vfloat4, haccumulate)\n-{\n- // These values ... | C | Apache License 2.0 | arm-software/astc-encoder | Remove obsolete scalar haccumulate tests |
61,745 | 25.04.2022 15:12:53 | -3,600 | d6a9e500f7e07b1721d5d9c0afb47d235688b933 | Suppress Wuffs compiler warnings | [
{
"change_type": "MODIFY",
"old_path": "Source/cmake_core.cmake",
"new_path": "Source/cmake_core.cmake",
"diff": "@@ -265,7 +265,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES \"GNU|Clang\")\n\" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-tautological-type-limit-compare>\"\n\" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -W... | C | Apache License 2.0 | arm-software/astc-encoder | Suppress Wuffs compiler warnings |
61,745 | 25.04.2022 15:34:52 | -3,600 | 23ae45a2a757068a331c634ec951f05178d4c8a7 | Handle missing file on Wuffs load path | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_image_external.cpp",
"new_path": "Source/astcenccli_image_external.cpp",
"diff": "@@ -90,6 +90,12 @@ astcenc_image* load_png_with_wuffs(\ncomponent_count = 4;\nstd::ifstream file(filename, std::ios::binary | std::ios::ate);\n+ if (!file)\n+ {... | C | Apache License 2.0 | arm-software/astc-encoder | Handle missing file on Wuffs load path |
61,745 | 26.04.2022 20:18:07 | -3,600 | 1f21e575a4ef0732b878d3460d69ae5f480faaf7 | Use vector grayscale detection | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_image.cpp",
"new_path": "Source/astcenc_image.cpp",
"diff": "@@ -176,7 +176,7 @@ void fetch_image_block(\nvfloat4 data_mean(0.0f);\nvfloat4 data_mean_scale(1.0f / static_cast<float>(bsd.texel_count));\nvfloat4 data_max(-1e38f);\n- bool grayscale... | C | Apache License 2.0 | arm-software/astc-encoder | Use vector grayscale detection |
61,745 | 26.04.2022 21:35:18 | -3,600 | 4ec71cd223308c1d3e979cf324ab70a0582d373a | Shrink some literal tables | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_weight_align.cpp",
"new_path": "Source/astcenc_weight_align.cpp",
"diff": "@@ -54,11 +54,11 @@ static constexpr unsigned int SINCOS_STEPS { 64 };\nstatic_assert((ANGULAR_STEPS % ASTCENC_SIMD_WIDTH) == 0,\n\"ANGULAR_STEPS must be multiple of ASTC... | C | Apache License 2.0 | arm-software/astc-encoder | Shrink some literal tables |
61,745 | 26.04.2022 21:51:42 | -3,600 | 880438f3b2b7d255f8ca3160aea10d641a2adbb6 | Add scalar float bit re-interpretation | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_mathlib.h",
"new_path": "Source/astcenc_mathlib.h",
"diff": "@@ -323,6 +323,34 @@ static inline int flt2int_rd(float v)\nreturn (int)(v);\n}\n+/**\n+ * @brief SP float bit-interpreted as an integer.\n+ *\n+ * @param v The value to bitcast.\n+ *\... | C | Apache License 2.0 | arm-software/astc-encoder | Add scalar float bit re-interpretation |
61,745 | 26.04.2022 22:33:12 | -3,600 | fd39346bde727919049d0f9753f3d72cd8d93d77 | Use const reference to original binary data | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -1134,8 +1134,7 @@ astcenc_error astcenc_decompress_image(\nunsigned int offset = (((z * yblocks + y) * xblocks) + x) * 16;\nconst uint8_t* bp = data + offset;\n- // TODO: Shouldn't... | C | Apache License 2.0 | arm-software/astc-encoder | Use const reference to original binary data |
61,745 | 27.04.2022 19:57:00 | -3,600 | 2891fc939c409a4eceded8d1b06cf74cf431f79d | Supress Wuffs compiler warning | [
{
"change_type": "MODIFY",
"old_path": "Source/cmake_core.cmake",
"new_path": "Source/cmake_core.cmake",
"diff": "@@ -269,7 +269,8 @@ if(CMAKE_CXX_COMPILER_ID MATCHES \"GNU|Clang\")\n\" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-suggest-override>\"\n\" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-used-but-mar... | C | Apache License 2.0 | arm-software/astc-encoder | Supress Wuffs compiler warning |
61,745 | 27.04.2022 20:28:41 | -3,600 | a81cb23a416c826461917fecb71bb1cfbefb9227 | Add NEON popcount implementation | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -261,7 +261,7 @@ static astcenc_error validate_flags(\n) {\n// Flags field must not contain any unknown flag bits\nunsigned int exMask = ~ASTCENC_ALL_FLAGS;\n- if (astc::popcount(fl... | C | Apache License 2.0 | arm-software/astc-encoder | Add NEON popcount implementation |
61,745 | 27.04.2022 21:16:06 | -3,600 | fc0641ce77bc63fc8ce8c23029f532dda018f866 | Split select_msb and select for faster NEON | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib.h",
"new_path": "Source/astcenc_vecmathlib.h",
"diff": "@@ -237,7 +237,7 @@ ASTCENC_SIMD_INLINE vfloat atan2(vfloat y, vfloat x)\n{\nvfloat z = atan(abs(y / x));\nvmask xmask = vmask(float_as_int(x).m);\n- return change_sign(select(z,... | C | Apache License 2.0 | arm-software/astc-encoder | Split select_msb and select for faster NEON |
61,745 | 27.04.2022 21:35:57 | -3,600 | dbb37d2f686c858a5a9a4c5705316c48e21f9eb4 | Add select change to change log | [
{
"change_type": "MODIFY",
"old_path": "Docs/ChangeLog-3x.md",
"new_path": "Docs/ChangeLog-3x.md",
"diff": "@@ -17,6 +17,12 @@ The 3.7 release is in development ...\n* **Feature:** The command line tool PNG loader has been switched to use\nthe Wuffs library, which is robust and significantly faster ... | C | Apache License 2.0 | arm-software/astc-encoder | Add select change to change log |
61,745 | 28.04.2022 08:08:18 | -3,600 | a0bd33430a655bc6dc1baa0922a03ff56232c60e | Fix sse2 unit test | [
{
"change_type": "MODIFY",
"old_path": "Source/UnitTest/test_simd.cpp",
"new_path": "Source/UnitTest/test_simd.cpp",
"diff": "@@ -901,14 +901,14 @@ TEST(vfloat4, select_msb)\nvfloat4 b(4.0f, 2.0f, 2.0f, 4.0f);\n// Select in one direction\n- vfloat4 r1 = select(a, b, cond);\n+ vfloat4 r1 = select_msb... | C | Apache License 2.0 | arm-software/astc-encoder | Fix sse2 unit test |
61,745 | 28.04.2022 13:42:15 | -3,600 | 3980e3705030eafaacf7a0baf2f72b2f24b9c55c | Remove MSB select for vint types | [
{
"change_type": "MODIFY",
"old_path": "Source/UnitTest/test_simd.cpp",
"new_path": "Source/UnitTest/test_simd.cpp",
"diff": "@@ -1795,28 +1795,6 @@ TEST(vint4, select)\nEXPECT_EQ(r2.lane<3>(), 4);\n}\n-/** @brief Test vint4 select MSB. */\n-TEST(vint4, select_msb)\n-{\n- vint4 msb(0x80000000, 0, 0x... | C | Apache License 2.0 | arm-software/astc-encoder | Remove MSB select for vint types |
61,745 | 28.04.2022 22:33:00 | -3,600 | da94673a944aac9e8f84274229d3bd2ba6e27715 | Clean up build options and documentation | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -42,7 +42,9 @@ option(ISA_NONE \"Enable builds for no SIMD\")\noption(ISA_NATIVE \"Enable builds for native SIMD\")\noption(DECOMPRESSOR \"Enable builds for decompression only\")\noption(DIAGNOSTICS \"... | C | Apache License 2.0 | arm-software/astc-encoder | Clean up build options and documentation |
61,745 | 28.04.2022 22:46:25 | -3,600 | f48cc27b2528286126c116f42f2792ed2fa13755 | Update change log and frontpage | [
{
"change_type": "MODIFY",
"old_path": "Docs/ChangeLog-3x.md",
"new_path": "Docs/ChangeLog-3x.md",
"diff": "@@ -9,19 +9,24 @@ clocked at 4.2 GHz, running `astcenc` using AVX2 and 6 threads.\n<!-- ---------------------------------------------------------------------- -->\n## 3.7\n-**Status:** In deve... | C | Apache License 2.0 | arm-software/astc-encoder | Update change log and frontpage |
61,745 | 29.04.2022 07:24:09 | -3,600 | d3637a1b7d98ba0882c7349bb73dc6a40d70f304 | Make testing native build off by default | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image.py",
"new_path": "Test/astc_test_image.py",
"diff": "@@ -302,8 +302,8 @@ def parse_command_line():\n# All test encoders\ntestcoders = [\"none\", \"neon\", \"sse2\", \"sse4.1\", \"avx2\", \"native\"]\n- testcodersAArch64 = [\"none\", \"neon... | C | Apache License 2.0 | arm-software/astc-encoder | Make testing native build off by default |
61,769 | 29.04.2022 14:25:39 | -28,800 | 1494f63ca2f59975ba2e47c824e640c18eb8246e | Make header flags read in-order for easier development | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "@@ -311,29 +311,6 @@ static const unsigned int ASTCENC_FLG_MAP_NORMAL = 1 << 0;\n*/\nstatic const unsigned int ASTCENC_FLG_MAP_MASK = 1 << 1;\n-/**\n- * @brief Enable RGBM map compression.\n- *\n- * I... | C | Apache License 2.0 | arm-software/astc-encoder | Make header flags read in-order for easier development |
61,745 | 03.05.2022 19:41:08 | -3,600 | 82575f1bc3c795632624cb15cc8e110eb856b5f6 | Reduce casts on weight offset calculation | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_weight_align.cpp",
"new_path": "Source/astcenc_weight_align.cpp",
"diff": "@@ -165,7 +165,7 @@ static void compute_lowest_and_highest_weight(\nunsigned int max_angular_steps,\nunsigned int max_quant_steps,\nconst float* offsets,\n- int* lowest_w... | C | Apache License 2.0 | arm-software/astc-encoder | Reduce casts on weight offset calculation |
61,745 | 05.05.2022 23:48:48 | -3,600 | 84bf695be9cf19668cc9d179d260d0a747da4760 | Use simple min/max rather than select | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_weight_align.cpp",
"new_path": "Source/astcenc_weight_align.cpp",
"diff": "@@ -379,13 +379,9 @@ static void compute_lowest_and_highest_weight_lwc(\nvfloat diff = sval - svalrte;\nerrval += diff * diff;\n- // Reset tracker on min hit\n- vmask mas... | C | Apache License 2.0 | arm-software/astc-encoder | Use simple min/max rather than select |
61,745 | 06.05.2022 22:19:29 | -3,600 | 6741abbaad9d6548dceef49747fe49e7f6523269 | Remove redundant ep_and_wt copies | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -388,7 +388,6 @@ static float compress_symbolic_block_for_partition_1plane(\n// Compute ideal weights and endpoint colors, with no quantization or decimation... | C | Apache License 2.0 | arm-software/astc-encoder | Remove redundant ep_and_wt copies |
61,745 | 07.05.2022 20:16:11 | -3,600 | 1d218322d5e02aa01e85d588d8105704f488fd33 | Vectorize unquant weight creation | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -234,8 +234,9 @@ static bool realign_weights_decimated(\nendpnt1[pa_idx]);\n}\n- uint8_t uq_pl_weights[BLOCK_MAX_WEIGHTS];\n- float uq_pl_weightsf[BLOCK_MAX_... | C | Apache License 2.0 | arm-software/astc-encoder | Vectorize unquant weight creation |
61,745 | 07.05.2022 21:58:48 | -3,600 | a0bbf12daddbbc6078202eef9ea8d76e13eeb294 | Don't use "unsigned" without "int" | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib_avx2_8.h",
"new_path": "Source/astcenc_vecmathlib_avx2_8.h",
"diff": "@@ -340,7 +340,7 @@ ASTCENC_SIMD_INLINE vmask8 operator~(vmask8 a)\n*\n* bit0 = lane 0\n*/\n-ASTCENC_SIMD_INLINE unsigned mask(vmask8 a)\n+ASTCENC_SIMD_INLINE unsig... | C | Apache License 2.0 | arm-software/astc-encoder | Don't use "unsigned" without "int" |
61,745 | 07.05.2022 22:16:46 | -3,600 | ccbf22f2f298ef89eef7fad1c1348813f1f6b2fa | Use references to quant_and_xfer tables | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -79,7 +79,7 @@ static bool realign_weights_undecimated(\n// Get the quantization table\nconst block_mode& bm = bsd.get_block_mode(scb.block_mode);\nunsigned ... | C | Apache License 2.0 | arm-software/astc-encoder | Use references to quant_and_xfer tables |
61,745 | 07.05.2022 22:31:44 | -3,600 | 032cf324659915f362d8702d7ea8d309012912bc | Consistently use "base+off" rather than "&base[off]" | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_averages_and_directions.cpp",
"new_path": "Source/astcenc_averages_and_directions.cpp",
"diff": "@@ -822,7 +822,7 @@ void compute_error_squared_rgba(\nfor (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH)\n{\nvmask mask = lane_ids <... | C | Apache License 2.0 | arm-software/astc-encoder | Consistently use "base+off" rather than "&base[off]" |
61,745 | 09.05.2022 23:16:23 | -3,600 | 39f5b01c32c8c7a7fec16fe295cad9db38771d60 | Use load/store rather than fetch/write naming | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -842,7 +842,6 @@ static void compress_image(\n// Only the first thread actually runs the initializer\nctx.manage_compress.init(block_count);\n-\n// Determine if we can use an optimi... | C | Apache License 2.0 | arm-software/astc-encoder | Use load/store rather than fetch/write naming |
61,745 | 11.05.2022 23:43:24 | -3,600 | 47991de2b0da90499c898035c88c63f9a953506e | Add -repeat option to CLI to support performance testing | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_internal.h",
"new_path": "Source/astcenccli_internal.h",
"diff": "@@ -68,6 +68,9 @@ struct cli_config_options\n/** @brief The number of threads to use for processing. */\nunsigned int thread_count;\n+ /** @brief The number of repeats to execu... | C | Apache License 2.0 | arm-software/astc-encoder | Add -repeat option to CLI to support performance testing (#334) |
61,745 | 11.05.2022 23:46:59 | -3,600 | 82d4c70e5bc0e10ff67f4fc3043ba54cf169fcf5 | Increase version to 4.0.0 | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -24,7 +24,7 @@ if(MSVC)\nadd_compile_options(\"/wd4324\") # Disable structure was padded due to alignment specifier\nendif()\n-project(astcencoder VERSION 3.7.0)\n+project(astcencoder VERSION 4.0.0)\ns... | C | Apache License 2.0 | arm-software/astc-encoder | Increase version to 4.0.0 |
61,745 | 11.05.2022 23:56:02 | -3,600 | a9bb8c033ff083b212d2aecf9ba462df1a3316c8 | Add 4.0 change log | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -58,6 +58,9 @@ from 0.89 bits/pixel up to 8 bits/pixel.\nRelease build binaries for the `astcenc` stable releases are provided in the\n[GitHub Releases page][3].\n+**Latest 4.x stable release:** TBD\n+* Change l... | C | Apache License 2.0 | arm-software/astc-encoder | Add 4.0 change log |
61,745 | 13.05.2022 19:04:28 | -3,600 | 91bfec2d32fc042ada25f547f3a6927a51985a8d | Early out same-endpoint color mode on first fail | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -556,7 +556,8 @@ static float compress_symbolic_block_for_partition_1plane(\nblk, pi, di, workscb.weights,\nworkep, rgbs_colors, rgbo_colors);\n- // Quantize... | C | Apache License 2.0 | arm-software/astc-encoder | Early out same-endpoint color mode on first fail |
61,745 | 13.05.2022 19:04:42 | -3,600 | b9d55db4f6d62865ca2ed04164c9fa3b61920210 | Valgrind wrapper prints totals | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_profile_valgrind.py",
"new_path": "Test/astc_profile_valgrind.py",
"diff": "@@ -82,13 +82,19 @@ def postprocess_cga(logfile, outfile):\nfunction[2] *= 100.0\nwith open(outfile, \"w\") as fileHandle:\n+\n+ totals = 0.0\nfor function in functionTable:\... | C | Apache License 2.0 | arm-software/astc-encoder | Valgrind wrapper prints totals |
61,745 | 13.05.2022 19:33:14 | -3,600 | 12f38c1c48274e6274b54388d4b2b0bad04854e3 | Change -repeats to keep best result | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel.cpp",
"new_path": "Source/astcenccli_toplevel.cpp",
"diff": "@@ -1585,8 +1585,8 @@ int main(\n}\n// Compress an image\n- double start_compression_time = 0.0;\n- double end_compression_time = 0.0;\n+ double best_compression_time = 100... | C | Apache License 2.0 | arm-software/astc-encoder | Change -repeats to keep best result |
61,745 | 13.05.2022 22:27:14 | -3,600 | ba734c0e7c19514439cada76427fcd2cd9c9bad7 | Re-add -a alpha error scaling based on block max alpha | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -654,7 +654,7 @@ astcenc_error astcenc_config_init(\n//\n// ... but we scale these up to keep a better balance between color and alpha. Note\n// that if the content is using alpha w... | C | Apache License 2.0 | arm-software/astc-encoder | Re-add -a alpha error scaling based on block max alpha |
61,745 | 17.05.2022 19:03:55 | -3,600 | d9f3b9df5ab21e3ba3381f8cd88db14357953283 | Reduce -fastest quality level
IQ is still higher than 3.7, but this re-extends the range of
the cost-qiuality curve without any appreciable change in the
shape of the curve. | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -62,7 +62,7 @@ struct astcenc_preset_config\nstatic const std::array<astcenc_preset_config, 5> preset_configs_high {{\n{\nASTCENC_PRE_FASTEST,\n- 2, 14, 44, 2, 2, 85.2f, 63.2f, 3.5f... | C | Apache License 2.0 | arm-software/astc-encoder | Reduce -fastest quality level
IQ is still higher than 3.7, but this re-extends the range of
the cost-qiuality curve without any appreciable change in the
shape of the curve. |
61,745 | 18.05.2022 08:31:12 | -3,600 | 12c75dae3a868129434996f5876e293302513de9 | Cleanup realign weights | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -129,41 +129,39 @@ static bool realign_weights_undecimated(\nint uqw = dec_weights_uquant[texel];\nuint32_t prev_and_next = qat.prev_next_values[uqw];\n- int... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup realign weights |
61,745 | 30.05.2022 09:52:26 | -3,600 | e7f6502c04efc8209265c96de2f75c6f816b678b | Add explicit static casts | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -323,13 +323,13 @@ static bool realign_weights_decimated(\nif ((error_up < error_base) && (error_up < error_down) && (uqw < 64))\n{\nuq_weightsf[we_idx] = uq... | C | Apache License 2.0 | arm-software/astc-encoder | Add explicit static casts |
61,745 | 03.06.2022 23:30:42 | -3,600 | f749b59f0bc97c8acd5415f3b662297c615cbab0 | Use smaller vtable when possible | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -949,13 +949,48 @@ void compute_quantized_weights_for_decimation(\nvfloat rscalev(rscale);\nvfloat low_boundv(low_bound);\n+ // This runs... | C | Apache License 2.0 | arm-software/astc-encoder | Use smaller vtable when possible |
61,745 | 03.06.2022 23:35:11 | -3,600 | f053748fa1dbde391b1c1dbc7bbeceb38ac2fc6c | Fix small NEON vtable | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib_neon_4.h",
"new_path": "Source/astcenc_vecmathlib_neon_4.h",
"diff": "@@ -960,7 +960,7 @@ ASTCENC_SIMD_INLINE void vtable_prepare(\n*/\nASTCENC_SIMD_INLINE vint4 vtable_8bt_32bi(vint4 t0, vint4 idx)\n{\n- int8x16x2_t table { t0.m };\n... | C | Apache License 2.0 | arm-software/astc-encoder | Fix small NEON vtable |
61,745 | 04.06.2022 08:55:19 | -3,600 | 8263924ee0c19f346f3f3f3a8368dd68e920c7ff | Wrap _mm256_set_m128i for GCC 7.x | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib_avx2_8.h",
"new_path": "Source/astcenc_vecmathlib_avx2_8.h",
"diff": "#include <cstdio>\n+// Define convenience intrinsics that are missing on older compilers\n+#define astcenc_mm256_set_m128i(m, n) _mm256_insertf128_si256(_mm256_cast... | C | Apache License 2.0 | arm-software/astc-encoder | Wrap _mm256_set_m128i for GCC 7.x |
61,745 | 04.06.2022 09:41:11 | -3,600 | b7b74f87f7ed9a695bd0bae12e99b577225ee7d1 | Enable more block modes for -fastest | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -62,7 +62,7 @@ struct astcenc_preset_config\nstatic const std::array<astcenc_preset_config, 5> preset_configs_high {{\n{\nASTCENC_PRE_FASTEST,\n- 2, 10, 42, 2, 2, 85.2f, 63.2f, 3.5f... | C | Apache License 2.0 | arm-software/astc-encoder | Enable more block modes for -fastest |
61,745 | 04.06.2022 16:58:03 | -3,600 | d1b241c7db1c64cd6f4f7c93d6d99f41f44873c2 | Vectorize block store | [
{
"change_type": "MODIFY",
"old_path": "Source/UnitTest/test_simd.cpp",
"new_path": "Source/UnitTest/test_simd.cpp",
"diff": "@@ -1753,6 +1753,72 @@ TEST(vint4, store_nbytes)\nEXPECT_EQ(out, 42);\n}\n+/** @brief Test vint8 store_lanes_masked. */\n+TEST(vint4, store_lanes_masked)\n+{\n+ int resulta[4... | C | Apache License 2.0 | arm-software/astc-encoder | Vectorize block store (#337) |
61,745 | 04.06.2022 19:24:28 | -3,600 | ede61daaca2bd18b3405a8252d017a35abe9bd87 | Remove redundant quant_level mask | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_pick_best_endpoint_format.cpp",
"new_path": "Source/astcenc_pick_best_endpoint_format.cpp",
"diff": "@@ -1317,9 +1317,7 @@ unsigned int compute_ideal_endpoint_formats(\nfor (unsigned int j = start_block_mode; j < end_block_mode; j += ASTCENC_SIM... | C | Apache License 2.0 | arm-software/astc-encoder | Remove redundant quant_level mask |
61,745 | 04.06.2022 20:58:38 | -3,600 | bddd48f9c85659393ebb9102697b5e76c68f9f88 | Fix missing end brace in NONE builds | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib_none_4.h",
"new_path": "Source/astcenc_vecmathlib_none_4.h",
"diff": "@@ -1118,6 +1118,7 @@ ASTCENC_SIMD_INLINE vint4 vtable_8bt_32bi(vint4 t0, vint4 t1, vint4 t2, vint4 t3\ntable[idx.lane<1>()],\ntable[idx.lane<2>()],\ntable[idx.lane... | C | Apache License 2.0 | arm-software/astc-encoder | Fix missing end brace in NONE builds |
61,745 | 05.06.2022 08:25:43 | -3,600 | 1d2e8b842ca8fe4966392707cc04f10e8ddfccc4 | Workaround MSVC arm64 codegen bug | [
{
"change_type": "MODIFY",
"old_path": "Source/cmake_core.cmake",
"new_path": "Source/cmake_core.cmake",
"diff": "@@ -83,6 +83,16 @@ macro(astcenc_set_properties NAME)\n# MSVC defines\n$<$<CXX_COMPILER_ID:MSVC>:_CRT_SECURE_NO_WARNINGS>)\n+ # Work around compiler bug in MSVC when targeting arm64\n+ #... | C | Apache License 2.0 | arm-software/astc-encoder | Workaround MSVC arm64 codegen bug |
61,745 | 05.06.2022 08:38:19 | -3,600 | 486e482584db76a639bec2f9e14fadc9b2151837 | Add intrin type casts for MSVC | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib_avx2_8.h",
"new_path": "Source/astcenc_vecmathlib_avx2_8.h",
"diff": "@@ -1153,7 +1153,7 @@ ASTCENC_SIMD_INLINE vint8 interleave_rgba8(vint8 r, vint8 g, vint8 b, vint8 a)\n*/\nASTCENC_SIMD_INLINE void store_lanes_masked(int* base, vin... | C | Apache License 2.0 | arm-software/astc-encoder | Add intrin type casts for MSVC |
61,745 | 05.06.2022 10:35:49 | -3,600 | 8a5e37eae7a581b420c660f80cbb78cd867b3314 | Avoid _mm_bslli_si128 for VS2015 compat | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib_common_4.h",
"new_path": "Source/astcenc_vecmathlib_common_4.h",
"diff": "@@ -295,6 +295,19 @@ ASTCENC_SIMD_INLINE float hadd_rgb_s(vfloat4 a)\nreturn a.lane<0>() + a.lane<1>() + a.lane<2>();\n}\n+/**\n+ * @brief Return a vector of in... | C | Apache License 2.0 | arm-software/astc-encoder | Avoid _mm_bslli_si128 for VS2015 compat |
61,745 | 05.06.2022 12:20:03 | -3,600 | 52fc88de5fb1faaebdd2600e91837fc9e95878eb | Cleanup MSVC \W4 for core and \W3 for CLI | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_color_quantize.cpp",
"new_path": "Source/astcenc_color_quantize.cpp",
"diff": "@@ -68,7 +68,7 @@ static inline int quant_color_clamp(\n* @return The encoded quantized value. These are not necessarily in order; the compressor\n* scrambles the val... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup MSVC \W4 for core and \W3 for CLI |
61,745 | 05.06.2022 19:05:25 | -3,600 | fbfcb7bd35df18888111291dd1904d66e5902554 | Change warnings to work with NMake | [
{
"change_type": "MODIFY",
"old_path": "Source/cmake_core.cmake",
"new_path": "Source/cmake_core.cmake",
"diff": "@@ -118,8 +118,7 @@ macro(astcenc_set_properties NAME)\n# MSVC compiler defines\n$<$<CXX_COMPILER_ID:MSVC>:/EHsc>\n- $<$<CXX_COMPILER_ID:MSVC>:/W4>\n- $<$<CXX_COMPILER_ID:MSVC>:/wd\"4324... | C | Apache License 2.0 | arm-software/astc-encoder | Change warnings to work with NMake |
61,745 | 05.06.2022 19:21:23 | -3,600 | b0e3a77bec4df81bcda04d0928c02c900edd9605 | Avoid _mm_bslli_si128 for VS2015 compat (method 2) | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib_sse_4.h",
"new_path": "Source/astcenc_vecmathlib_sse_4.h",
"diff": "@@ -1166,9 +1166,9 @@ ASTCENC_SIMD_INLINE vint4 vtable_8bt_32bi(vint4 t0, vint4 t1, vint4 t2, vint4 t3\nASTCENC_SIMD_INLINE vint4 interleave_rgba8(vint4 r, vint4 g, v... | C | Apache License 2.0 | arm-software/astc-encoder | Avoid _mm_bslli_si128 for VS2015 compat (method 2) |
61,745 | 05.06.2022 20:12:26 | -3,600 | 5fe801553a2d385c01ca54035653478cfab87383 | Fix store_lanes_masked() fallback | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib_avx2_8.h",
"new_path": "Source/astcenc_vecmathlib_avx2_8.h",
"diff": "@@ -1167,6 +1167,17 @@ ASTCENC_SIMD_INLINE void print(vint8 a)\nv[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7]);\n}\n+/**\n+ * @brief Debug function to print a vect... | C | Apache License 2.0 | arm-software/astc-encoder | Fix store_lanes_masked() fallback |
61,745 | 05.06.2022 20:16:11 | -3,600 | 22e142cf8a8e1fa46b3f83956c369d8a2a1cd47f | Workaround XCode LLVM compiler crash | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_vecmathlib_sse_4.h",
"new_path": "Source/astcenc_vecmathlib_sse_4.h",
"diff": "@@ -1165,11 +1165,21 @@ ASTCENC_SIMD_INLINE vint4 vtable_8bt_32bi(vint4 t0, vint4 t1, vint4 t2, vint4 t3\n*/\nASTCENC_SIMD_INLINE vint4 interleave_rgba8(vint4 r, vint... | C | Apache License 2.0 | arm-software/astc-encoder | Workaround XCode LLVM compiler crash |
61,745 | 05.06.2022 21:38:30 | -3,600 | a9568c1ac52f7584d22c376775f9381e944fea22 | Update diagnostic trace | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -527,7 +527,7 @@ static float compress_symbolic_block_for_partition_1plane(\ntrace_add_data(\"weight_x\", di.weight_x);\ntrace_add_data(\"weight_y\", di.weig... | C | Apache License 2.0 | arm-software/astc-encoder | Update diagnostic trace |
61,745 | 05.06.2022 21:59:22 | -3,600 | 9ca2fe635f511a5988d692a320d61eab0cc927ce | Init block_mode before decimation_mode | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_block_sizes.cpp",
"new_path": "Source/astcenc_block_sizes.cpp",
"diff": "@@ -949,6 +949,13 @@ static void construct_block_size_descriptor_2d(\n}\nauto& bm = bsd.block_modes[packed_bm_idx];\n+\n+ bm.decimation_mode = static_cast<uint8_t>(decimati... | C | Apache License 2.0 | arm-software/astc-encoder | Init block_mode before decimation_mode |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.