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.01.2020 17:31:53 | 0 | 240bec3f0fa679639e010ddfb6e7734da38145a7 | Use a fast approximation of atan2 | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_mathlib.h",
"new_path": "Source/astc_mathlib.h",
"diff": "@@ -292,4 +292,42 @@ static inline int popcount(uint64_t p)\n#endif\n}\n+static inline float astc_atan2(float y, float x)\n+{\n+ const float PI = (float)M_PI;\n+ const float PI_2 = PI / 2.f;... | C | Apache License 2.0 | arm-software/astc-encoder | Use a fast approximation of atan2 |
61,745 | 12.01.2020 23:03:50 | 0 | 42b1504406dbc522f4530b6c104ce9a70ac74758 | Cleanup documentation for new math functions | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -57,17 +57,18 @@ HEADERS = \\\nOBJECTS = $(SOURCES:.cpp=.o)\n-CPPFLAGS = -std=c++14 -O3 \\\n+CPPFLAGS = -std=c++14 -O3 -mfpmath=sse \\\n-Wall -Wextra -Wpedantic -Werror -Werror=shadow -Wdouble-promot... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup documentation for new math functions |
61,745 | 13.01.2020 22:32:15 | 0 | e4be3932357bb1777a29b5d571a30f6eee8dfc30 | Move block derivatives out of imageblock struct | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_codec_internals.h",
"new_path": "Source/astc_codec_internals.h",
"diff": "@@ -168,7 +168,6 @@ struct imageblock\n{\nfloat orig_data[MAX_TEXELS_PER_BLOCK * 4]; // original input data\nfloat work_data[MAX_TEXELS_PER_BLOCK * 4]; // the data that we wi... | C | Apache License 2.0 | arm-software/astc-encoder | Move block derivatives out of imageblock struct |
61,745 | 15.01.2020 00:38:32 | 0 | 83d57a1cdec97366d53113e5245c0ff1705f13eb | Add SSE4.2 version of compute_lowest_and_highest_weight | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_weight_align.cpp",
"new_path": "Source/astc_weight_align.cpp",
"diff": "#include \"astc_codec_internals.h\"\n#include <stdio.h>\n+#include <cassert>\nstatic const float angular_steppings[44] = {\n1.0f, 1.25f, 1.5f, 1.75f,\n@@ -159,37 +160,94 @@ sta... | C | Apache License 2.0 | arm-software/astc-encoder | Add SSE4.2 version of compute_lowest_and_highest_weight |
61,745 | 18.01.2020 21:39:24 | 0 | d7eb1663e319cc04bdb575cfae9a817923b68574 | Add placeholder for avx2 implementation | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "# Configure the vectorization intrinsics support; valid values are:\n#\n# * nointrin - allow use of sse2 by the compiler, but no manual instrinsics\n-# * see2 - allow use of sse2 by the compiler and ins... | C | Apache License 2.0 | arm-software/astc-encoder | Add placeholder for avx2 implementation |
61,745 | 18.01.2020 23:50:10 | 0 | f13626c44ea38b909a88bc042bbb758b8a8d6ea1 | Replace std::rand with a local PRNG
This will ensure portability across platforms, and stability
across multiple runs, so the same input will always produce
the same output. | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_block_sizes2.cpp",
"new_path": "Source/astc_block_sizes2.cpp",
"diff": "@@ -677,6 +677,9 @@ static void construct_block_size_descriptor_2d(\n}\nelse\n{\n+ uint64_t rng_state[2];\n+ astc::rand_init(rng_state);\n+\n// pick 64 random texels for use wi... | C | Apache License 2.0 | arm-software/astc-encoder | Replace std::rand with a local PRNG
This will ensure portability across platforms, and stability
across multiple runs, so the same input will always produce
the same output. |
61,745 | 18.01.2020 23:51:47 | 0 | b421d2f6855f88c3b7789e135c913641c1efad38 | Replace all uses of std:floor | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_color_quantize.cpp",
"new_path": "Source/astc_color_quantize.cpp",
"diff": "@@ -61,12 +61,12 @@ void quantize_rgb(\nint iters = 0;\ndo\n{\n- ri0 = cqt_lookup(quantization_level, (int)floor(r0 + rgb0_addon));\n- gi0 = cqt_lookup(quantization_level, ... | C | Apache License 2.0 | arm-software/astc-encoder | Replace all uses of std:floor |
61,745 | 19.01.2020 12:15:44 | 0 | cea2e9e5172777f001c0d02c28ca3107c6524f2a | Add wrapper for float->floor | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_compress_symbolic.cpp",
"new_path": "Source/astc_compress_symbolic.cpp",
"diff": "@@ -141,9 +141,9 @@ static int realign_weights(\nint partition = pt->partition_of_texel[texel];\nweight_base = weight_base + 0.5f;\n- float plane_weight = astc::flt2i... | C | Apache License 2.0 | arm-software/astc-encoder | Add wrapper for float->floor |
61,745 | 20.01.2020 21:40:30 | 0 | 0d7a14aa393a0e59933a11183e2c1b7767b18753 | Test suite update
Fix tests for sRGB to use "-ts", not "-t -srgb"
Enable 12x12 support in the test runner
Rebuild reference scores | [
{
"change_type": "MODIFY",
"old_path": "Test/Small_Images/astc_test_reference.csv",
"new_path": "Test/Small_Images/astc_test_reference.csv",
"diff": "Name,Block Size,PSNR (dB),Time (s)\nhdr-rgb-00,4x4,32.586,1.050\n-ldr-rgb-00,4x4,39.193,1.010\n-ldr-rgb-01,4x4,40.370,0.910\n-ldr-rgb-02,4x4,35.458,0.... | C | Apache License 2.0 | arm-software/astc-encoder | Test suite update
- Fix tests for sRGB to use "-ts", not "-t -srgb"
- Enable 12x12 support in the test runner
- Rebuild reference scores |
61,745 | 20.01.2020 22:15:56 | 0 | 5330553812ffbd0161eed5b3f6961e482a1aa099 | Fix PRNG code returning negative array offsets | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_block_sizes2.cpp",
"new_path": "Source/astc_block_sizes2.cpp",
"diff": "@@ -690,7 +690,8 @@ static void construct_block_size_descriptor_2d(\nint arr_elements_set = 0;\nwhile (arr_elements_set < 64)\n{\n- int idx = ((int)astc::rand(rng_state)) % (xd... | C | Apache License 2.0 | arm-software/astc-encoder | Fix PRNG code returning negative array offsets |
61,745 | 22.01.2020 22:26:04 | 0 | d30af45cd50334f2e5b289b3657f5e469bdae0ff | Add basic 3D image support to test suite | [
{
"change_type": "ADD",
"old_path": "Test/Small_Images/LDR-3DL/ldr-l-00-s3.dds",
"new_path": "Test/Small_Images/LDR-3DL/ldr-l-00-s3.dds",
"diff": "Binary files /dev/null and b/Test/Small_Images/LDR-3DL/ldr-l-00-s3.dds differ\n"
},
{
"change_type": "ADD",
"old_path": "Test/Small_Images/LD... | C | Apache License 2.0 | arm-software/astc-encoder | Add basic 3D image support to test suite |
61,745 | 22.01.2020 22:50:38 | 0 | c98d85d30b3571dd1290bd63119eb4c38caa8b4b | Add support for new CLI to run helper | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_run.py",
"new_path": "Test/astc_run.py",
"diff": "@@ -37,7 +37,27 @@ class TestImage():\nself.dynamicRange = nameParts[0]\nself.format = nameParts[1]\n- def run_once(self, testBinary, blockSize, profile, verbose=False):\n+ def rewrite_args_for_old_cl... | C | Apache License 2.0 | arm-software/astc-encoder | Add support for new CLI to run helper |
61,745 | 22.01.2020 22:51:01 | 0 | 144609137809c7f1190a07680b82c0e5540e65e7 | Move all dbg tools under DEBUG_PRINT_DIAGNOSTICS | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_codec_internals.h",
"new_path": "Source/astc_codec_internals.h",
"diff": "@@ -57,10 +57,10 @@ NORETURN void astc_codec_internal_error(const char *filename, int linenumber);\n#ifdef DEBUG_PRINT_DIAGNOSTICS\nextern int print_diagnostics;\n-#endif\n-\... | C | Apache License 2.0 | arm-software/astc-encoder | Move all dbg tools under DEBUG_PRINT_DIAGNOSTICS |
61,745 | 22.01.2020 23:29:09 | 0 | e0f4ea2261854ce83e9c760333c00c8d54fcd0bd | Allow HDR tests to run with new CLI | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_run.py",
"new_path": "Test/astc_run.py",
"diff": "@@ -147,7 +147,7 @@ class TestImage():\nelse:\nassert False, \"Unsupported LDR color format %s\" % self.format\nelse:\n- patternPSNR = r\"mPSNR \\(RGB\\) .*: ([0-9.]*) dB\"\n+ patternPSNR = r\"mPSNR \... | C | Apache License 2.0 | arm-software/astc-encoder | Allow HDR tests to run with new CLI |
61,745 | 23.01.2020 00:16:25 | 0 | 394a9b01d732f4a31c17af0aeb428ae88b6b187c | Add DBG build option to the Makefile | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "# which is the default GCC behavior and true on currently shipping hardware.\nVEC?=avx2\n+DBG?=0\n+\nSOURCES = \\\nastc_averages_and_directions.cpp \\\nastc_block_sizes2.cpp \\\n@@ -60,9 +62,16 @@ HEADE... | C | Apache License 2.0 | arm-software/astc-encoder | Add DBG build option to the Makefile |
61,745 | 23.01.2020 19:47:34 | 0 | 374bad6327d1959fefb41893eb1fca20db86515e | Replace work_data with SOA structure | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_averages_and_directions.cpp",
"new_path": "Source/astc_averages_and_directions.cpp",
"diff": "@@ -49,10 +49,10 @@ void compute_averages_and_directions_rgba(\n{\nint iwt = weights[i];\nfloat weight = ewb->texel_weight[iwt];\n- float4 texel_datum = f... | C | Apache License 2.0 | arm-software/astc-encoder | Replace work_data with SOA structure |
61,745 | 24.01.2020 00:36:48 | 0 | 7f2b47d37a0e472e67038de7a1ec5dd265b5a8aa | AVX2 compute_ideal_quantized_weights_for_decimation_table | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_codec_internals.h",
"new_path": "Source/astc_codec_internals.h",
"diff": "@@ -326,9 +326,11 @@ struct quantization_and_transfer_table\n/** The quantization level used */\nquantization_method method;\n/** The unscrambled unquantized value. */\n- uin... | C | Apache License 2.0 | arm-software/astc-encoder | AVX2 compute_ideal_quantized_weights_for_decimation_table |
61,745 | 24.01.2020 01:04:32 | 0 | a6c78bc07ee6c69951e6e9f372493f9a00856e3b | [IQLoss] Rework compute_ideal_weights_for_decimation_table
Removed second iteration of refinement, for ~0.04dB IQ loss,
but 10% performance improvement | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_ideal_endpoints_and_weights.cpp",
"new_path": "Source/astc_ideal_endpoints_and_weights.cpp",
"diff": "@@ -1004,47 +1004,6 @@ static inline float compute_error_of_texel(\nreturn valuedif * valuedif * eai->weight_error_scale[texel_to_get];\n}\n-/*\n-... | C | Apache License 2.0 | arm-software/astc-encoder | [IQLoss] Rework compute_ideal_weights_for_decimation_table
Removed second iteration of refinement, for ~0.04dB IQ loss,
but 10% performance improvement |
61,745 | 24.01.2020 20:20:04 | 0 | ac450db0a217d0b2cadc215fcbed6dea18f8f733 | Split long help literal to build on VS | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_toplevel_help.cpp",
"new_path": "Source/astc_toplevel_help.cpp",
"diff": "@@ -415,7 +415,10 @@ TEST\nThis operation mode will print error metrics suitable for either\nLDR and HDR images, allowing some assessment of the compression\n- image quality.... | C | Apache License 2.0 | arm-software/astc-encoder | Split long help literal to build on VS |
61,750 | 07.02.2020 21:20:44 | 0 | 5ebc8ac6f55bf547b56ac4f3ece0f17edf6728e6 | Upload build artefacts to Artifactory | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "+def dsgArtifactoryUpload(String sourcePattern, String target) {\n+ rtBuildInfo (\n+ // Maximum builds to keep in Artifactory.\n+ maxBuilds: 10,\n+ // Also delete the build artifacts... | C | Apache License 2.0 | arm-software/astc-encoder | Upload build artefacts to Artifactory (#86) |
61,755 | 07.02.2020 21:21:27 | 0 | 28055f59cdcaf057beb441ffd52cb6414c232e04 | Guard STB_IMAGE_IMPLEMENTATION
This is to avoid re-defining stb_image.h implementation when using
astc as a library in a project that also includes stb_image.h | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_stb_tga.cpp",
"new_path": "Source/astc_stb_tga.cpp",
"diff": "#include \"softfloat.h\"\n#include <stdio.h>\n-#define STB_IMAGE_IMPLEMENTATION\n#define STBI_NO_PSD\n#define STBI_NO_PIC\n#define STBI_NO_PNM\n+#ifndef NO_STB_IMAGE_IMPLEMENTATION\n+#de... | C | Apache License 2.0 | arm-software/astc-encoder | Guard STB_IMAGE_IMPLEMENTATION (#84)
This is to avoid re-defining stb_image.h implementation when using
astc as a library in a project that also includes stb_image.h |
61,745 | 15.02.2020 11:11:57 | 0 | 56bf0c9e7c916a14916666e002b9b8043d00523b | Use new stb_image build settings | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -35,7 +35,6 @@ DBG?=0\nSOURCES = \\\nastc_averages_and_directions.cpp \\\nastc_block_sizes2.cpp \\\n- astc_codec_image.cpp \\\nastc_color_quantize.cpp \\\nastc_color_unquantize.cpp \\\nastc_compress_... | C | Apache License 2.0 | arm-software/astc-encoder | Use new stb_image build settings |
61,745 | 15.02.2020 11:22:52 | 0 | 0cb3684d9a15e5187893e6b30cf7cd739c7d8256 | Update Readme for master, and remove Binaries | [
{
"change_type": "DELETE",
"old_path": "Binary/linux-x64/astcenc",
"new_path": "Binary/linux-x64/astcenc",
"diff": "Binary files a/Binary/linux-x64/astcenc and /dev/null differ\n"
},
{
"change_type": "DELETE",
"old_path": "Binary/mac-x64/astcenc",
"new_path": "Binary/mac-x64/astcenc"... | C | Apache License 2.0 | arm-software/astc-encoder | Update Readme for master, and remove Binaries |
61,745 | 15.02.2020 11:38:08 | 0 | 40c9c3e59bfa99f551cfcd1a998b8401b960ced1 | Update release binary in Readme.txt | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -63,13 +63,9 @@ options ranging from 0.89 bits/pixel up to 8 bits/pixel.\n# Prebuilt binaries\n-Prebuilt release build binaries for Windows (x86 and x64), Linux (x86 and x64),\n-and macOS (x64) are available her... | C | Apache License 2.0 | arm-software/astc-encoder | Update release binary in Readme.txt |
61,745 | 15.02.2020 14:18:28 | 0 | 63e4a9edb0f2ac1285eec33e4ce8a08ee84f271b | Remove -veryfast from README.md | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -122,10 +122,10 @@ recommend experimenting with the block footprint to find the optimum balance\nbetween size and quality, as the finely adjustable compression ratio is one of\nmajor strengths of the ASTC format... | C | Apache License 2.0 | arm-software/astc-encoder | Remove -veryfast from README.md |
61,745 | 15.02.2020 14:40:09 | 0 | f26b1fd5dd4c7a94d3ba5f0aafc176448780c20d | Make download reference a link | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -63,9 +63,10 @@ options ranging from 0.89 bits/pixel up to 8 bits/pixel.\n# Prebuilt binaries\n-Prebuilt release build binaries for 64-bit Linux, macOS, and Windows are\n-available in the GitHub Releases page. N... | C | Apache License 2.0 | arm-software/astc-encoder | Make download reference a link |
61,745 | 15.02.2020 17:09:28 | 0 | 4959d00d3b039d1a25dfdd2c559c92919b2e7def | Change some uses of std::sqrt with astc::sqrt | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_compress_symbolic.cpp",
"new_path": "Source/astc_compress_symbolic.cpp",
"diff": "@@ -771,7 +771,7 @@ void expand_block_artifact_suppression(\nfloat zdif = (z - centerpos_z) / zdim;\nfloat wdif = 0.36f;\n- float dist = sqrtf(xdif * xdif + ydif * yd... | C | Apache License 2.0 | arm-software/astc-encoder | Change some uses of std::sqrt with astc::sqrt |
61,745 | 16.02.2020 22:11:06 | 0 | 0e910a7de003ed8e3ff90ef725eda1ffc8826012 | Add runtime errors if host doesn't support ISA extensions | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -54,6 +54,7 @@ SOURCES = \\\nastc_partition_tables.cpp \\\nastc_percentile_tables.cpp \\\nastc_pick_best_endpoint_format.cpp \\\n+ astc_platform_isa_detection.cpp \\\nastc_platform_dependents.cpp \\\... | C | Apache License 2.0 | arm-software/astc-encoder | Add runtime errors if host doesn't support ISA extensions |
61,745 | 16.02.2020 22:12:41 | 0 | afc20b763d1695e422844bf7b89fa890b6878a02 | Cleanup platform ISA help text and header | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_platform_isa_detection.cpp",
"new_path": "Source/astc_platform_isa_detection.cpp",
"diff": "+// SPDX-License-Identifier: Apache-2.0\n// ----------------------------------------------------------------------------\n-// This confidential and propriet... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanup platform ISA help text and header |
61,745 | 17.02.2020 00:18:01 | 0 | 2e92ce168f0a417c3c26b6e65e3c68f69e1d6a6c | Provide multiple SIMD builds
The current SIMD selection is done statically at compile time to
enable better test coverage. This isn't the end goal for this
release, but this patch updates Make and VS builds to support
building multiple SIMD variants in parallel.
Also updates to VS2019, as that is widely available now. | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": ".vscode\n*.log\n*.diff\n+*.user\nSource/*.o\n-Source/astcenc\n-Source/VS2017/.vs\n-Source/VS2017/Release\n-Source/VS2017/Debug\n-Source/VS2017/astcenc.vcxproj.user\n+Source/astcenc-*\n+Source/astcenc-*\n+Source/V... | C | Apache License 2.0 | arm-software/astc-encoder | Provide multiple SIMD builds
The current SIMD selection is done statically at compile time to
enable better test coverage. This isn't the end goal for this
release, but this patch updates Make and VS builds to support
building multiple SIMD variants in parallel.
Also updates to VS2019, as that is widely available now. |
61,745 | 20.02.2020 21:45:53 | 0 | 81989ba70c2170c52a431608ab6514dc63069e7d | Change Makefile to use default CXX variable for compiler | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -119,23 +119,23 @@ CXXFLAGS_EXTERNAL = \\\n-fno-strict-aliasing\n$(BINARY): $(EXTERNAL_OBJECTS) $(OBJECTS)\n- @g++ -o $@ $^ $(CXXFLAGS) -lpthread\n+ @$(CXX) -o $@ $^ $(CXXFLAGS) -lpthread\n@echo \"[L... | C | Apache License 2.0 | arm-software/astc-encoder | Change Makefile to use default CXX variable for compiler |
61,745 | 20.02.2020 21:46:17 | 0 | 57571778111661baa59501cff98e82639fd5b093 | Add explicit assignment operator to fix GCC9 -Werror issues
Implicit assignment deprecated in C++14, and we use -Werror. | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_mathlib.h",
"new_path": "Source/astc_mathlib.h",
"diff": "@@ -445,6 +445,11 @@ public:\nvtype2() {};\nvtype2(T p, T q) : x(p), y(q) {};\nvtype2(const vtype2 & p) : x(p.x), y(p.y) {};\n+ vtype2 &operator =(const vtype2 &s) {\n+ this->x = s.x;\n+ thi... | C | Apache License 2.0 | arm-software/astc-encoder | Add explicit assignment operator to fix GCC9 -Werror issues
Implicit assignment deprecated in C++14, and we use -Werror. |
61,745 | 20.02.2020 21:47:23 | 0 | 291994e3b85135d89405aecf3838777effbb1151 | Zero initialize some members to fix GCC 9 errors
Note there is no actually bug here; this is just GCC being
conservative and -Werror forcing the issue ... | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_compute_variance.cpp",
"new_path": "Source/astc_compute_variance.cpp",
"diff": "@@ -633,6 +633,13 @@ void compute_averages_and_variances(\n// Perform block-wise averages-and-variances calculations across the image\nstruct pixel_region_variance_args... | C | Apache License 2.0 | arm-software/astc-encoder | Zero initialize some members to fix GCC 9 errors
Note there is no actually bug here; this is just GCC being
conservative and -Werror forcing the issue ... |
61,745 | 20.02.2020 22:01:38 | 0 | e23a99564881176533d16a91fbe24e5f0b59c476 | Explicitly use floating point stdlib math functions | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_image_load_store.cpp",
"new_path": "Source/astc_image_load_store.cpp",
"diff": "@@ -296,7 +296,7 @@ float float_to_lns(float p)\n}\nint expo;\n- float normfrac = frexp(p, &expo);\n+ float normfrac = frexpf(p, &expo);\nfloat p1;\nif (expo < -13)\n{\... | C | Apache License 2.0 | arm-software/astc-encoder | Explicitly use floating point stdlib math functions |
61,745 | 20.02.2020 22:05:17 | 0 | 8b4142a855bf540aaacfd7f7900cd914578a94c8 | Use more braces in static initializers (clang++ fix) | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_percentile_tables.cpp",
"new_path": "Source/astc_percentile_tables.cpp",
"diff": "@@ -74,10 +74,10 @@ static const uint16_t percentile_arr_4x4_1[84] = {\nstatic const packed_percentile_table block_pcd_4x4 =\n{\n4, 4,\n- 61, 84,\n- 184, 141,\n- 0, 5... | C | Apache License 2.0 | arm-software/astc-encoder | Use more braces in static initializers (clang++ fix) |
61,745 | 24.02.2020 09:26:31 | 0 | 0316ba63f7957cd4c1e1371395936b1477c02ffc | Update Jenkins to AVX2 build and VS2019 | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "@@ -45,7 +45,7 @@ pipeline {\n}\n}\nstages {\n- stage('Clean workspace') {\n+ stage('Clean') {\nsteps {\nsh 'git clean -fdx'\n}\n@@ -54,14 +54,14 @@ pipeline {\nsteps {\nsh '''\ncd .... | C | Apache License 2.0 | arm-software/astc-encoder | Update Jenkins to AVX2 build and VS2019 |
61,745 | 24.02.2020 09:37:25 | 0 | 8cf461f52cce2920590277cd917894acdc5bfd23 | Change Linux Jenkins builds to use clang++ | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Dockerfile",
"new_path": "jenkins/build.Dockerfile",
"diff": "FROM ubuntu:18.04\n-LABEL build.environment.version=\"0.1.0\"\n+LABEL build.environment.version=\"0.2.0\"\nRUN useradd -u 1001 -U -m -c Jenkins jenkins\nRUN apt update && apt-get insta... | C | Apache License 2.0 | arm-software/astc-encoder | Change Linux Jenkins builds to use clang++ |
61,745 | 24.02.2020 10:04:42 | 0 | 5ef0229484b735d6258f56d55664cee324a852c9 | Update Jenkins to VS2019 | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "@@ -89,7 +89,7 @@ pipeline {\nsteps {\nbat '''\ncall c:\\\\progra~2\\\\micros~1\\\\2019\\\\buildtools\\\\vc\\\\auxiliary\\\\build\\\\vcvars64.bat\n- call msbuild .\\\\Source\\\\VS201... | C | Apache License 2.0 | arm-software/astc-encoder | Update Jenkins to VS2019 |
61,745 | 24.02.2020 13:18:53 | 0 | 59c438287f196667e228d77506f460aab47ad09d | Remove reference to "very fast" preset | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -42,7 +42,7 @@ format output images. The encoder supports decompression of ASTC input images\ninto TGA or KTX format output images.\nThe encoder allows control over the compression time/quality tradeoff with\n-`... | C | Apache License 2.0 | arm-software/astc-encoder | Remove reference to "very fast" preset |
61,745 | 24.02.2020 13:43:40 | 0 | 1858bf5945fda7b9af3cb260f198b7f37f99ae44 | Update README summary instructions | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -71,7 +71,7 @@ Note that currently no 2.x series pre-built binaries are available.\n# Getting started\nOpen a terminal, change to the appropriate directory for your system, and run\n-the astcenc encoder program,... | C | Apache License 2.0 | arm-software/astc-encoder | Update README summary instructions |
61,745 | 24.02.2020 13:45:10 | 0 | 54dae20afe3c3e5876908ac06cb46219bbb2db26 | Update Encoding.md -c -> -cl | [
{
"change_type": "MODIFY",
"old_path": "Docs/Encoding.md",
"new_path": "Docs/Encoding.md",
"diff": "@@ -176,7 +176,7 @@ luminance.\nFor color data it is nearly always a perceptual quality win to use sRGB input\nsource textures that are then compressed using the ASTC sRGB compression mode\n-(compress... | C | Apache License 2.0 | arm-software/astc-encoder | Update Encoding.md -c -> -cl |
61,761 | 26.02.2020 17:26:56 | 18,000 | 5e3d3ff70784393cfc9f3d181dcc5fd12bfa1fa4 | Some cleanups
Fixed memory leak related to decimation_tables being
allocated and never deallocated
Reduced size of decimation_tables array to remove
unused last element
Made hdr_rgb_hdr_alpha_unpack3() static
Removed spurious semicolons in vtypeX classes | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_block_sizes2.cpp",
"new_path": "Source/astc_block_sizes2.cpp",
"diff": "@@ -899,3 +899,12 @@ void init_block_size_descriptor(\ninit_partition_tables(bsd);\n}\n+\n+void deinit_block_size_descriptor(\n+ block_size_descriptor* bsd)\n+{\n+ for(int i = ... | C | Apache License 2.0 | arm-software/astc-encoder | Some cleanups (#91)
- Fixed memory leak related to decimation_tables being
allocated and never deallocated
- Reduced size of decimation_tables array to remove
unused last element
- Made hdr_rgb_hdr_alpha_unpack3() static
- Removed spurious semicolons in vtypeX classes |
61,745 | 22.02.2020 14:51:26 | 0 | 509cb0bfe5a486c8a5574efd6fe23991c2b361b8 | Standardize on no type promotion in vec constructors | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_averages_and_directions.cpp",
"new_path": "Source/astc_averages_and_directions.cpp",
"diff": "/**\n* @brief Functions for finding dominant direction of a set of colors.\n- *\n- * Uses Arm patent pending method.\n*/\n#include \"astc_codec_internals.... | C | Apache License 2.0 | arm-software/astc-encoder | Standardize on no type promotion in vec constructors |
61,745 | 26.02.2020 22:30:06 | 0 | 81a5e50741b4c8302cf7d78f314a53e44ee68e1f | Rename deinit_<foo> to term_<foo> | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_block_sizes2.cpp",
"new_path": "Source/astc_block_sizes2.cpp",
"diff": "@@ -900,7 +900,7 @@ void init_block_size_descriptor(\ninit_partition_tables(bsd);\n}\n-void deinit_block_size_descriptor(\n+void term_block_size_descriptor(\nblock_size_descrip... | C | Apache License 2.0 | arm-software/astc-encoder | Rename deinit_<foo> to term_<foo> |
61,745 | 29.02.2020 16:03:01 | 0 | 1a5e260137a3a804876690020521c6fe30ebb69e | Fix argument order in help message | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_toplevel_help.cpp",
"new_path": "Source/astc_toplevel_help.cpp",
"diff": "@@ -256,7 +256,7 @@ ADVANCED COMPRESSION\ne.g. a power of 0.5 causes the codec to take the square root\nof every input pixel value.\n- -va <base> <power> <avg> <stdev>\n+ -va... | C | Apache License 2.0 | arm-software/astc-encoder | Fix argument order in help message |
61,745 | 29.02.2020 21:13:42 | 0 | 6106ce7e96cd424da0fc2513ee64d06de300b476 | Remove DECODE from the uncompressed load path
Fixes | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_toplevel.cpp",
"new_path": "Source/astc_toplevel.cpp",
"diff": "@@ -1482,7 +1482,7 @@ int astc_main(\nint input_image_is_hdr = 0;\n// load image\n- if (op_mode == ASTC_ENCODE || op_mode == ASTC_DECODE || op_mode == ASTC_ENCODE_AND_DECODE)\n+ if (op... | C | Apache License 2.0 | arm-software/astc-encoder | Remove DECODE from the uncompressed load path
Fixes #92 |
61,745 | 01.03.2020 01:22:44 | 0 | 81e91b77aa7ba60b8fc3eea0273843d1c1deace0 | Enable test suite on Windows builds | [
{
"change_type": "MODIFY",
"old_path": "Docs/Testing.md",
"new_path": "Docs/Testing.md",
"diff": "-# Testing ASTC Encoder\n+# Testing astcenc\n-The repository contains a small suite of application tests, which can be used\n-to sanity check source code changes to the compressor. It must be noted that... | C | Apache License 2.0 | arm-software/astc-encoder | Enable test suite on Windows builds |
61,745 | 05.03.2020 22:41:54 | 0 | d3f9a58989cab69212e98f1a29fcafae4e10271b | Test: Remove -warmpups (not used) and add ISPC | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -11,5 +11,5 @@ Source/astcenc-*\nSource/VS2019/*Release\nSource/VS2019/*Debug\nTest/Images/Kodak\n-Test/Images/Scratch\n+Test/Images/Scratch*\nTestOutput\n"
},
{
"change_type": "MODIFY",
"old_path"... | C | Apache License 2.0 | arm-software/astc-encoder | Test: Remove -warmpups (not used) and add ISPC |
61,745 | 05.03.2020 23:16:55 | 0 | aeef1230a1da2cbf2d3ffffe3e689f9806035cb1 | Standardize on "nullptr" rather than "NULL" | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_codec_internals.h",
"new_path": "Source/astc_codec_internals.h",
"diff": "@@ -686,7 +686,7 @@ void compute_averages_and_variances(\n/*\nFunctions to load image from file.\nIf successful, return an astc_codec_image object.\n- If unsuccessful, return... | C | Apache License 2.0 | arm-software/astc-encoder | Standardize on "nullptr" rather than "NULL" |
61,745 | 05.03.2020 23:30:22 | 0 | 9bfb3f4bd4f129371d38b0856ce02ed55fcd71a8 | Linting style cleanup | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_image_load_store.cpp",
"new_path": "Source/astc_image_load_store.cpp",
"diff": "#include <cstdio>\n#include <cstring>\n-void destroy_image(astc_codec_image * img)\n-{\n- if (img == nullptr)\n- return;\n-\n- if (img->data8)\n- {\n- delete[] img->dat... | C | Apache License 2.0 | arm-software/astc-encoder | Linting style cleanup |
61,745 | 08.03.2020 14:37:35 | 0 | 26283da80261f7506d30f94f8ee04bdb7e92573a | Fix rounding in sRGB constant color block decode
Fix | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_decompress_symbolic.cpp",
"new_path": "Source/astc_decompress_symbolic.cpp",
"diff": "@@ -75,11 +75,14 @@ static uint4 lerp_color_int(\necolor0 = int4(ecolor0.x >> 8, ecolor0.y >> 8, ecolor0.z >> 8, ecolor0.w >> 8);\necolor1 = int4(ecolor1.x >> 8, ... | C | Apache License 2.0 | arm-software/astc-encoder | Fix rounding in sRGB constant color block decode
Fix #94 |
61,750 | 09.03.2020 15:48:36 | 0 | cda171b2e68d75ee954103e01a391b9c7e0851ea | Add artefact promotion link | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "-def dsgArtifactoryUpload(String sourcePattern, String target) {\n- rtBuildInfo (\n- // Maximum builds to keep in Artifactory.\n- maxBuilds: 10,\n- // Also delete the build artifacts... | C | Apache License 2.0 | arm-software/astc-encoder | QE-1687: Add artefact promotion link (#95) |
61,745 | 09.03.2020 17:19:32 | 0 | 2b6ce7cdab8f4075d631cbec318457604f5e7df0 | Enable new test script in Jenkins build | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "@@ -44,9 +44,9 @@ pipeline {\n}\nstage('Test') {\nsteps {\n- sh 'python3 ./Test/astc_test_run.py'\n- perfReport(sourceDataFiles:'TestOutput/results.xml')\n- junit(testResults: 'TestO... | C | Apache License 2.0 | arm-software/astc-encoder | Enable new test script in Jenkins build |
61,745 | 09.03.2020 17:26:45 | 0 | 73c57cdc0ce59575fc069765c00d3e5af7f199cd | Change macOS pipeline to SSE2; mini doesn't have avx2 | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "@@ -112,7 +112,7 @@ pipeline {\nsteps {\nsh '''\ncd ./Source/\n- make VEC=avx2\n+ make VEC=sse2\n'''\n}\n}\n@@ -127,7 +127,7 @@ pipeline {\nsteps {\nsh '''\nexport PATH=$PATH:/usr/lo... | C | Apache License 2.0 | arm-software/astc-encoder | Change macOS pipeline to SSE2; mini doesn't have avx2 |
61,745 | 09.03.2020 23:23:55 | 0 | 94961b61d940b7aac02dc4d3d5d1d2859a59e4ce | Fix error in dual-plane mode in the overview | [
{
"change_type": "MODIFY",
"old_path": "Docs/FormatOverview.md",
"new_path": "Docs/FormatOverview.md",
"diff": "@@ -308,11 +308,13 @@ correlated with the color value - or normal data - the X and Y normal values\noften change independently.\nASTC allows a dual-plane mode, which uses two separate weig... | C | Apache License 2.0 | arm-software/astc-encoder | Fix error in dual-plane mode in the overview |
61,745 | 09.03.2020 23:26:21 | 0 | 899c5b6a8112700c928144d6b0e76fc073b3c52b | Tweak wording Please enter the commit message for your changes. Lines starting | [
{
"change_type": "MODIFY",
"old_path": "Docs/FormatOverview.md",
"new_path": "Docs/FormatOverview.md",
"diff": "@@ -346,10 +346,11 @@ The compression scheme used by ASTC effectively compresses arbitrary sequences\nof floating point numbers, with a flexible number of channels, across any of\nthe supp... | C | Apache License 2.0 | arm-software/astc-encoder | Tweak wording Please enter the commit message for your changes. Lines starting |
61,745 | 09.03.2020 23:41:44 | 0 | 75446e0df13879fa7ddb4c0b4f510973a875402f | Simplify wording for degenerates | [
{
"change_type": "MODIFY",
"old_path": "Docs/FormatOverview.md",
"new_path": "Docs/FormatOverview.md",
"diff": "@@ -276,8 +276,8 @@ in a third, and no bias in the rest. As they are procedurally generated not all\nof the partitions are useful, in particular with the smaller block sizes.\n* Many parti... | C | Apache License 2.0 | arm-software/astc-encoder | Simplify wording for degenerates |
61,745 | 09.03.2020 23:58:38 | 0 | 36d70b46e8e231ea9b6279029b893cde3acd95ae | Correct extension feature listing for OpenGL ES | [
{
"change_type": "MODIFY",
"old_path": "Docs/FormatOverview.md",
"new_path": "Docs/FormatOverview.md",
"diff": "@@ -417,8 +417,8 @@ Khronos extensions\nOfficial Khronos extensions exist for the feature profiles of ASTC:\n* [KHR_texture_compression_astc_ldr][astc_ldr]: 2D LDR support\n-* [KHR_texture... | C | Apache License 2.0 | arm-software/astc-encoder | Correct extension feature listing for OpenGL ES |
61,745 | 10.03.2020 09:50:05 | 0 | a89d7a4a72f643adddef7bdc71a288805ab9a792 | Fix trit max value (3^5, not 5^3) | [
{
"change_type": "MODIFY",
"old_path": "Docs/FormatOverview.md",
"new_path": "Docs/FormatOverview.md",
"diff": "@@ -161,9 +161,9 @@ Quints\n------\nInstead of rounding up a 5 symbol alphabet - called a \"quint\" in BISE - to\n-three bits, we could choose to instead pack three quints together. Three\... | C | Apache License 2.0 | arm-software/astc-encoder | Fix trit max value (3^5, not 5^3) |
61,745 | 10.03.2020 21:15:51 | 0 | 7ea2601857fa92891353198ec9ae885f7bf4de30 | Strip out some low value logging | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_toplevel.cpp",
"new_path": "Source/astc_toplevel.cpp",
"diff": "extern int block_mode_histogram[2048];\n#endif\n-\n-\n-int progress_counter_divider = 1;\n-\nint rgb_force_use_of_hdr = 0;\nint alpha_force_use_of_hdr = 0;\n@@ -74,7 +70,6 @@ struct as... | C | Apache License 2.0 | arm-software/astc-encoder | Strip out some low value logging |
61,745 | 11.03.2020 22:38:17 | 0 | faa22ccbdae1d21e90056bf83b95b20ff086c8a4 | Rationalize HDR RGB+A and RGBA handling in CLI | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_codec_internals.h",
"new_path": "Source/astc_codec_internals.h",
"diff": "@@ -78,7 +78,8 @@ enum astc_decode_mode\n{\nDECODE_LDR_SRGB,\nDECODE_LDR,\n- DECODE_HDR\n+ DECODE_HDR,\n+ DECODE_HDRA\n};\n/*\n"
},
{
"change_type": "MODIFY",
"ol... | C | Apache License 2.0 | arm-software/astc-encoder | Rationalize HDR RGB+A and RGBA handling in CLI |
61,745 | 11.03.2020 22:54:11 | 0 | 81b8ebaa46679c3dda60c844ee1f26cf9edf3c8f | Update README with latest options | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -86,32 +86,45 @@ summary of the main encoder options are shown below.\n## Compressing an image\n-Compress an image using the `-cl` \\ `-cs` \\ `-ch` options. For example:\n+Compress an image using the `-cl` \\ `... | C | Apache License 2.0 | arm-software/astc-encoder | Update README with latest options |
61,745 | 12.03.2020 00:08:02 | 0 | 4d85037971e3c8df37846f6b0f615a63f1a67235 | Re-restrict stb_image to support formats | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -123,7 +123,8 @@ $(BINARY): $(EXTERNAL_OBJECTS) $(OBJECTS)\n@echo \"[Link] $@ (using $(VEC), debug=$(DBG))\"\nstb_image-$(VEC).o: stb_image.h\n- @$(CXX) -c -x c++ -o $@ $< $(CXXFLAGS_EXTERNAL) -DSTB_... | C | Apache License 2.0 | arm-software/astc-encoder | Re-restrict stb_image to support formats |
61,745 | 23.03.2020 00:18:29 | 0 | c9268d912782de834fef3e452a5596209774295a | Allow X*Y*1 images to use 3D block sizes
Fix a bug where 3D images collapse to a 2D block size
if the Z dimension is 1, which may occur with mipmap
generation.
Fix | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_toplevel.cpp",
"new_path": "Source/astc_toplevel.cpp",
"diff": "@@ -1290,8 +1290,14 @@ int astc_main(\nif (!silentmode)\n{\nprintf(\"Encoding settings:\\n\\n\");\n+ if (zdim_3d == 1)\n+ {\nprintf(\"2D Block size: %dx%d (%.2f bpp)\\n\", xdim_2d, ydi... | C | Apache License 2.0 | arm-software/astc-encoder | Allow X*Y*1 images to use 3D block sizes
Fix a bug where 3D images collapse to a 2D block size
if the Z dimension is 1, which may occur with mipmap
generation.
Fix #80 |
61,745 | 23.03.2020 10:52:15 | 0 | b339cb83eac8427dc20a4117fb3c2174e9debee1 | Move perform_srgb_transform out of a global | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_codec_internals.h",
"new_path": "Source/astc_codec_internals.h",
"diff": "@@ -70,7 +70,6 @@ NORETURN void astc_codec_internal_error(const char *filename, int linenumber);\n#endif\n-extern int perform_srgb_transform;\nextern int rgb_force_use_of_hdr... | C | Apache License 2.0 | arm-software/astc-encoder | Move perform_srgb_transform out of a global |
61,745 | 23.03.2020 11:45:02 | 0 | 24b54300db40ac21652c852411bfd72e00355450 | Move rgb/alpha_force_use_of_hdr out of globals | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_codec_internals.h",
"new_path": "Source/astc_codec_internals.h",
"diff": "@@ -69,10 +69,6 @@ NORETURN void astc_codec_internal_error(const char *filename, int linenumber);\nextern int print_statistics;\n#endif\n-\n-extern int rgb_force_use_of_hdr;\... | C | Apache License 2.0 | arm-software/astc-encoder | Move rgb/alpha_force_use_of_hdr out of globals |
61,745 | 24.03.2020 22:11:55 | 0 | 099e25cda8cf46cf5e0ec9b29ba20359f367e4b5 | Add utility script to query image info | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Test/astc_image_info.py",
"diff": "+#!/usr/bin/env python3\n+# SPDX-License-Identifier: Apache-2.0\n+# -----------------------------------------------------------------------------\n+# Copyright 2020 Arm Limited\n+#\n+# Licensed under the Apache... | C | Apache License 2.0 | arm-software/astc-encoder | Add utility script to query image info |
61,745 | 25.03.2020 00:59:17 | 0 | a73b63da4c1f0f8238928f6195489a1d4a5927c8 | Standardize Return: -> Returns: in test script autodoc | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_run_image_tests.py",
"new_path": "Test/astc_run_image_tests.py",
"diff": "@@ -49,7 +49,7 @@ def is_3d(blockSize):\n\"\"\"\nIs a block size string for a 3D block?\n- Return:\n+ Returns:\nTrue if the block string is a 3D block size.\n\"\"\"\nreturn blo... | C | Apache License 2.0 | arm-software/astc-encoder | Standardize Return: -> Returns: in test script autodoc |
61,745 | 06.04.2020 22:25:42 | -3,600 | 77bd52e4f14161765981c9f30aabedf6c836b64f | Add missing block sizes to toplevel help | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_toplevel_help.cpp",
"new_path": "Source/astc_toplevel_help.cpp",
"diff": "@@ -119,15 +119,13 @@ COMPRESSION\nSupported 2D block sizes are:\n- 4x4: 8.00 bpp\n- 5x5: 5.12 bpp\n- 6x6: 3.56 bpp\n- 8x6: 2.67 bpp\n- 8x8: 2.00 bpp\n- 10x8: 1.60 bpp\n- 10x... | C | Apache License 2.0 | arm-software/astc-encoder | Add missing block sizes to toplevel help |
61,745 | 12.04.2020 22:50:42 | -3,600 | e9b705884210f139761547e9db714f36671225de | Fix -partitionlimit CLI typo
Fix | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_toplevel.cpp",
"new_path": "Source/astc_toplevel.cpp",
"diff": "@@ -1016,7 +1016,7 @@ int astc_main(\nbmc_user_specified = cutoff;\nbmc_set_by_user = 1;\n}\n- else if (!strcmp(argv[argidx], \"-partitionlimitt\"))\n+ else if (!strcmp(argv[argidx], \... | C | Apache License 2.0 | arm-software/astc-encoder | Fix -partitionlimit CLI typo
Fix #101 |
61,745 | 13.04.2020 00:56:13 | -3,600 | dae7517af1bc7949b723047313dfc396a9b40bf5 | Handle unknown image types gracefully, un-skip test
Fix (partial) for | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_image_load_store.cpp",
"new_path": "Source/astc_image_load_store.cpp",
"diff": "@@ -1829,9 +1829,12 @@ astc_codec_image* astc_codec_load_image(\n|| strcmp(eptr, loader_descs[i].ending2) == 0)\n{\nastc_codec_image* img = loader_descs[i].loader_func(... | C | Apache License 2.0 | arm-software/astc-encoder | Handle unknown image types gracefully, un-skip test
Fix (partial) for #93 |
61,745 | 13.04.2020 01:08:11 | -3,600 | 598feffadb22926757f08a93bf4183e6d982db90 | Handle missing input files (2D and sliced 3D)
Fix (partial) for # 93 | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_toplevel.cpp",
"new_path": "Source/astc_toplevel.cpp",
"diff": "@@ -1398,8 +1398,9 @@ int astc_main(\nrgb_force_use_of_hdr, alpha_force_use_of_hdr,\n&load_results[image_index]);\n- // Check image is not 3D.\n- if (input_images[image_index]->zsize !... | C | Apache License 2.0 | arm-software/astc-encoder | Handle missing input files (2D and sliced 3D)
Fix (partial) for # 93 |
61,745 | 13.04.2020 01:30:09 | -3,600 | 795971197ad112843cc77d8304c9dc3cbda73fe7 | Cleanly handle missing input/output files
Fix (partial) for | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_toplevel.cpp",
"new_path": "Source/astc_toplevel.cpp",
"diff": "@@ -584,8 +584,8 @@ int astc_main(\nint array_size = 1;\n- const char *input_filename = argv[2];\n- const char *output_filename = argv[3];\n+ const char *input_filename = argc >= 3 ? a... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanly handle missing input/output files
Fix (partial) for #93 |
61,745 | 13.04.2020 01:41:27 | -3,600 | 229905629c350681eef517b5c3aa059e59afafc8 | Cleanly handle missing output directories
Fix | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_toplevel.cpp",
"new_path": "Source/astc_toplevel.cpp",
"diff": "@@ -357,7 +357,7 @@ static void store_astc_file(\nuint8_t *buffer = (uint8_t *) malloc(xblocks * yblocks * zblocks * 16);\nif (!buffer)\n{\n- printf(\"Ran out of memory\\n\");\n+ print... | C | Apache License 2.0 | arm-software/astc-encoder | Cleanly handle missing output directories
Fix #93 |
61,745 | 13.04.2020 02:16:35 | -3,600 | b5366644f7254d9abd5d803d3f57a3acd6da9a1b | Clean up handling of block size argument decoding
Fix | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_codec_internals.h",
"new_path": "Source/astc_codec_internals.h",
"diff": "@@ -463,6 +463,25 @@ const float *get_2d_percentile_table(\nint xdim,\nint ydim);\n+/**\n+ * @brief Query if a 2D block size is legal.\n+ *\n+ * @return A non-zero value if l... | C | Apache License 2.0 | arm-software/astc-encoder | Clean up handling of block size argument decoding
Fix #99 |
61,745 | 13.04.2020 02:24:40 | -3,600 | aa8759093ad3e52c3e9e6e9beec5e060ee6aee8c | Update README for latest input/output formats | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -38,9 +38,13 @@ functionality or performance improvements should be expected.\n# Encoder feature support\n-The encoder supports compression of PNG, TGA and KTX input images into ASTC\n-format output images. The ... | C | Apache License 2.0 | arm-software/astc-encoder | Update README for latest input/output formats |
61,745 | 13.04.2020 02:28:42 | -3,600 | b4c821204a4c0f27804caea3f410bda769e5fab9 | Update README for latest help info | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -84,9 +84,9 @@ the astcenc encoder program, like this on Linux or macOS:\nastcenc\n-Invoking the tool with no arguments gives an extensive help message, including\n-usage instructions, and details of all the ava... | C | Apache License 2.0 | arm-software/astc-encoder | Update README for latest help info |
61,745 | 19.04.2020 16:38:31 | -3,600 | 09ad573cb099857921bed73d2398a58d26b2e005 | Add real support for building 2.0 reference | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image.py",
"new_path": "Test/astc_test_image.py",
"diff": "@@ -246,17 +246,24 @@ def get_encoder_params(encoderName, imageSet):\nclass, the output data name, the output result directory, and the\nreference to use.\n\"\"\"\n- if encoderName == \"... | C | Apache License 2.0 | arm-software/astc-encoder | Add real support for building 2.0 reference |
61,745 | 19.04.2020 16:39:29 | -3,600 | ecb97615918b38179b0f434295003d56c3aa74a0 | Add new Small test for mask textures with new reference | [
{
"change_type": "MODIFY",
"old_path": "Test/Images/HDRIHaven/astc_reference-2.0-avx2_results.csv",
"new_path": "Test/Images/HDRIHaven/astc_reference-2.0-avx2_results.csv",
"diff": "Image Set,Block Size,Name,PSNR,Total Time,Coding Time\n-HDRIHaven,4x4,hdr-rgb-arboretum.hdr,45.49503,6.420,5.390\n-HDR... | C | Apache License 2.0 | arm-software/astc-encoder | Add new Small test for mask textures with new reference |
61,745 | 19.04.2020 23:14:01 | -3,600 | 89889b50c316edcfc3d9ac705e0f432859e9a339 | Add more CLI functional tests
* All CLI options now have at least some positive coverage
that the option is accepted and used.
* All CLI options that accept additonal arguments now have
full truncated command line negative test coverage.
* Tests for esw/dsw swizzle validity have been added. | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_toplevel_help.cpp",
"new_path": "Source/astc_toplevel_help.cpp",
"diff": "@@ -177,8 +177,8 @@ COMPRESSION\n-array <size>\nLoads an array of <size> 2D image slices to use as a 3D image.\n- The input filename given is used is decorated with\n- _<slic... | C | Apache License 2.0 | arm-software/astc-encoder | Add more CLI functional tests
* All CLI options now have at least some positive coverage
that the option is accepted and used.
* All CLI options that accept additonal arguments now have
full truncated command line negative test coverage.
* Tests for esw/dsw swizzle validity have been added. |
61,750 | 23.04.2020 17:51:44 | -3,600 | 1d45c8d298d86551b30382ceaf45104c39814c4c | Updates for CEPE Artifactory | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "@@ -168,8 +168,8 @@ pipeline {\nstage('Upload') {\nsteps {\nzip zipFile: 'astcenc.zip', dir: 'upload', archive: false\n- dsgArtifactoryUpload('*.zip')\n- dsgArtifactoryPromote()\n+ c... | C | Apache License 2.0 | arm-software/astc-encoder | QE-1831: Updates for CEPE Artifactory (#107) |
61,750 | 24.04.2020 10:17:58 | -3,600 | d269d9851eee4ef1354056fb93af328c5780503c | Update Mac path | [
{
"change_type": "MODIFY",
"old_path": "jenkins/build.Jenkinsfile",
"new_path": "jenkins/build.Jenkinsfile",
"diff": "@@ -126,7 +126,7 @@ pipeline {\nstage('Test') {\nsteps {\nsh '''\n- export PATH=$PATH:/usr/local/bin\n+ export PATH=/usr/local/bin:$PATH\npython3 ./Test/astc_test_image.py --test-set... | C | Apache License 2.0 | arm-software/astc-encoder | QE-1543: Update Mac path (#108) |
61,745 | 24.04.2020 10:59:55 | -3,600 | f7d12b45ca9348b4580f471af9490f7e836e1daa | Test all VEC variants | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image.py",
"new_path": "Test/astc_test_image.py",
"diff": "@@ -53,10 +53,11 @@ if COMPARE_WITH_1_7:\nRESULT_REF_NAME = \"reference-1.7\"\nelse:\nRESULT_THRESHOLD_WARN = -0.01\n- RESULT_THRESHOLD_FAIL = -0.02\n+ RESULT_THRESHOLD_FAIL = -0.05\nRES... | C | Apache License 2.0 | arm-software/astc-encoder | Test all VEC variants |
61,745 | 24.04.2020 23:17:53 | -3,600 | 9bbae09d6274bbbafbc23e008ee0e867a7778d98 | Allow the test runner to select a single image from a test set | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image.py",
"new_path": "Test/astc_test_image.py",
"diff": "@@ -318,6 +318,9 @@ def parse_command_line():\nparser.add_argument(\"--test-set\", dest=\"testSets\", default=\"Small\",\nchoices=testSets, help=\"test image test set\")\n+ parser.add_ar... | C | Apache License 2.0 | arm-software/astc-encoder | Allow the test runner to select a single image from a test set |
61,745 | 25.04.2020 00:03:54 | -3,600 | 0b0dd0b4c4ae175e7eff5ddaa1a4051102ab65cb | Remove type conversion in lerp_color_int | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_decompress_symbolic.cpp",
"new_path": "Source/astc_decompress_symbolic.cpp",
"diff": "@@ -46,45 +46,29 @@ static uint4 lerp_color_int(\nint plane2_weight,\nint plane2_color_component // -1 in 1-plane mode\n) {\n- int4 ecolor0 = int4(color0.x, color... | C | Apache License 2.0 | arm-software/astc-encoder | Remove type conversion in lerp_color_int |
61,745 | 25.04.2020 00:28:02 | -3,600 | 681ab52a26a5421103fa082052d7469ae3151ac2 | Fix ref-1.7 encoder test support | [
{
"change_type": "MODIFY",
"old_path": "Test/astc_test_image.py",
"new_path": "Test/astc_test_image.py",
"diff": "@@ -252,7 +252,7 @@ def get_encoder_params(encoderName, imageSet):\nname = \"reference-1.7\"\noutDir = \"Test/Images/%s\" % imageSet\nrefName = None\n- if encoderName == \"ref-2.0\":\n+ ... | C | Apache License 2.0 | arm-software/astc-encoder | Fix ref-1.7 encoder test support |
61,745 | 25.04.2020 00:37:25 | -3,600 | 4838a8a26088f33354b65d0b32451014ad1401eb | Fix support for ref-prototype test runs | [
{
"change_type": "MODIFY",
"old_path": "Test/testlib/encoder.py",
"new_path": "Test/testlib/encoder.py",
"diff": "@@ -303,8 +303,9 @@ class Encoder1x(EncoderBase):\n\"hdr\": \".htga\"\n}\n- def __init__(self):\n+ def __init__(self, binary=None):\nname = \"astcenc-%s\" % self.VERSION\n+ if not binary... | C | Apache License 2.0 | arm-software/astc-encoder | Fix support for ref-prototype test runs |
61,745 | 09.05.2020 14:48:08 | -3,600 | eb45d3454824a49149aa837923e548b5786ff855 | Clarify 3D feature profile support in overview | [
{
"change_type": "MODIFY",
"old_path": "Docs/FormatOverview.md",
"new_path": "Docs/FormatOverview.md",
"diff": "@@ -400,38 +400,57 @@ bit rates:\nAvailability\n============\n-The ASTC functionality is specified as a set of three feature profiles:\n-\n-* 2D LDR profile\n-* 2D LDR + HDR profile\n-* 2D... | C | Apache License 2.0 | arm-software/astc-encoder | Clarify 3D feature profile support in overview |
61,745 | 25.05.2020 22:52:35 | -3,600 | cb04cd6f818968ca73b1c9e63ed2307f6470ba88 | Fix null dereference with -v option
Bug only occurs if base weight is not one and
mean/stdev are both zero.
Fix | [
{
"change_type": "MODIFY",
"old_path": "Source/astc_compress_symbolic.cpp",
"new_path": "Source/astc_compress_symbolic.cpp",
"diff": "@@ -790,7 +790,6 @@ static float prepare_error_weight_block(\nint idx = 0;\nint any_mean_stdev_weight =\n- ewp->rgb_base_weight != 1.0f || ewp->alpha_base_weight != 1... | C | Apache License 2.0 | arm-software/astc-encoder | Fix null dereference with -v option
Bug only occurs if base weight is not one and
mean/stdev are both zero.
Fix #105 |
61,745 | 02.07.2020 21:52:20 | -3,600 | 38077e78c0a072fe8e1884164e32ccf27aa5db96 | Remove -linsrgb option | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc.h",
"new_path": "Source/astcenc.h",
"diff": "@@ -175,15 +175,13 @@ static const unsigned int ASTCENC_FLG_MAP_MASK = 1 << 1;\nstatic const unsigned int ASTCENC_FLG_USE_ALPHA_WEIGHT = 1 << 2;\nstatic const unsigned int ASTCENC_FLG_USE_PERCEPTUAL =... | C | Apache License 2.0 | arm-software/astc-encoder | Remove -linsrgb option |
61,745 | 02.07.2020 22:36:12 | -3,600 | 7d041c95457c3da76ccbd0b5ec8066733fd35d0f | Enable -flto on non-debug builds
Add some deafult initializers to keep g++-9 happy with
flto enbled, but they shouldn't really be needed. | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -90,7 +90,7 @@ CXXFLAGS = -std=c++14 -fvisibility=hidden -mfpmath=sse \\\n# Validate that the DBG parameter is a supported value, and patch CXXFLAGS\nifeq ($(DBG),0)\n-CXXFLAGS += -O3 -DNDEBUG\n+CXXF... | C | Apache License 2.0 | arm-software/astc-encoder | Enable -flto on non-debug builds
Add some deafult initializers to keep g++-9 happy with
-flto enbled, but they shouldn't really be needed. |
61,745 | 05.07.2020 22:17:01 | -3,600 | e6e2f817acf0e1f1d52241102b693399c613e0d8 | Move block_supression infill to context init | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -472,6 +472,9 @@ astcenc_error astcenc_context_alloc(\nctx->bsd = bsd;\nctx->barrier = new Barrier(thread_count);\n+\n+ expand_block_artifact_suppression(\n+ ctx->config.block_x, ct... | C | Apache License 2.0 | arm-software/astc-encoder | Move block_supression infill to context init |
61,745 | 05.07.2020 22:46:11 | -3,600 | 00907ad03230d452200909ede95015ddfb68265f | Use statically sized temp buffers | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_compress_symbolic.cpp",
"new_path": "Source/astcenc_compress_symbolic.cpp",
"diff": "@@ -225,7 +225,7 @@ static void compress_symbolic_block_fixed_partition_1_plane(\n// first, compute ideal weights and endpoint colors, under the assumption that... | C | Apache License 2.0 | arm-software/astc-encoder | Use statically sized temp buffers |
61,745 | 05.07.2020 22:46:50 | -3,600 | b6eeba09ae6698693ce2ded98f9eba934b536005 | Add compressed data size checks to codec API | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -590,6 +590,21 @@ astcenc_error astcenc_compress_image(\nreturn ASTCENC_ERR_BAD_PARAM;\n}\n+ unsigned int block_x = context->config.block_x;\n+ unsigned int block_y = context->confi... | C | Apache License 2.0 | arm-software/astc-encoder | Add compressed data size checks to codec API |
61,745 | 05.07.2020 23:03:30 | -3,600 | 574cc3656c38073edc62a9a8c703bb554529f474 | Remove opaque struct for function call
No longer needed; not a thread entry point | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -501,44 +501,32 @@ void astcenc_context_free(\n{\nterm_block_size_descriptor(context->bsd);\ndelete context->bsd;\n+ delete context->barrier;\ndelete context;\n}\n}\n-struct compres... | C | Apache License 2.0 | arm-software/astc-encoder | Remove opaque struct for function call
No longer needed; not a thread entry point |
61,745 | 05.07.2020 23:33:55 | -3,600 | 43753e58e894fdc00e464a198fb5245eac256007 | Improve error messages for codec returns | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenccli_toplevel.cpp",
"new_path": "Source/astcenccli_toplevel.cpp",
"diff": "@@ -327,7 +327,7 @@ int parse_commandline_options(\n*\n* @return 0 if everything is Okay, 1 if there is some error\n*/\n-astcenc_error init_astcenc_config(\n+int init_astce... | C | Apache License 2.0 | arm-software/astc-encoder | Improve error messages for codec returns |
61,745 | 05.07.2020 23:47:14 | -3,600 | 2fbda5605141166eded1936afab6513e7a493c61 | Force align compress_fixed_partition_buffers | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_internal.h",
"new_path": "Source/astcenc_internal.h",
"diff": "@@ -937,7 +937,7 @@ struct encoding_choice_errors\n};\n// buffers used to store intermediate data in compress_symbolic_block_fixed_partition_*()\n-struct compress_fixed_partition_buf... | C | Apache License 2.0 | arm-software/astc-encoder | Force align compress_fixed_partition_buffers |
61,745 | 05.07.2020 23:50:35 | -3,600 | 4f067b21eb58f6e1b645ec504db770c8aa35258d | Fix deblock init | [
{
"change_type": "MODIFY",
"old_path": "Source/astcenc_entry.cpp",
"new_path": "Source/astcenc_entry.cpp",
"diff": "@@ -473,6 +473,7 @@ astcenc_error astcenc_context_alloc(\nctx->barrier = new Barrier(thread_count);\n+ ctx->ewp.block_artifact_suppression = ctx->config.b_deblock_weight;\nexpand_block... | C | Apache License 2.0 | arm-software/astc-encoder | Fix deblock init |
61,745 | 06.07.2020 08:23:16 | -3,600 | d116086bdc6e2b11ddcdd7a5c9ee51485672b26d | Bump to C++17 to get aligned new variants | [
{
"change_type": "MODIFY",
"old_path": "Source/Makefile",
"new_path": "Source/Makefile",
"diff": "@@ -84,7 +84,7 @@ EXTERNAL_OBJECTS = $(EXTERNAL_SOURCES:.h=-$(VEC).o)\nBINARY = astcenc-$(VEC)\n-CXXFLAGS = -std=c++14 -fvisibility=hidden -mfpmath=sse \\\n+CXXFLAGS = -std=c++17 -fvisibility=hidden -mf... | C | Apache License 2.0 | arm-software/astc-encoder | Bump to C++17 to get aligned new variants |
61,745 | 06.07.2020 14:22:32 | -3,600 | cf098db3a21ed10649abaff351de351550cd6a55 | Use C++17 in Debug and Release for MSVC | [
{
"change_type": "MODIFY",
"old_path": ".gitattributes",
"new_path": ".gitattributes",
"diff": "@@ -10,6 +10,7 @@ Jenkinsfile text\n# VS solution always use Windows line endings\n*.sln text eol=crlf\n+*.vcxproj text eol=crlf\n# Denote all files that are truly binary and should not be modified.\n*.pn... | C | Apache License 2.0 | arm-software/astc-encoder | Use C++17 in Debug and Release for MSVC |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.