diff --git a/Docs/Testing.md b/Docs/Testing.md index 2cef276b2a65e1e75489a2587cf07f98ec494ee8..55dfcd359c69e5878e88fc1e7d16b0614b26b8d4 100644 --- a/Docs/Testing.md +++ b/Docs/Testing.md @@ -5,6 +5,7 @@ check source code changes to the compressor. It must be noted that this test suite is relatively limited in scope and does not cover every feature or bitrate of the standard. +test # Required software Running the tests requires Python 3.7 to be installed on the host machine, and diff --git a/Source/astcenc_block_sizes.cpp b/Source/astcenc_block_sizes.cpp index e498da4676babcf33a19830045d274257ce4ee29..efde06b6d4f39c7d7eca3857ac60a00754e00d80 100644 --- a/Source/astcenc_block_sizes.cpp +++ b/Source/astcenc_block_sizes.cpp @@ -162,7 +162,6 @@ static bool decode_block_mode_3d( unsigned int H = (block_mode >> 9) & 1; unsigned int D = (block_mode >> 10) & 1; unsigned int A = (block_mode >> 5) & 0x3; - x_weights = 0; y_weights = 0; z_weights = 0; diff --git a/Source/astcenc_pick_best_endpoint_format.cpp b/Source/astcenc_pick_best_endpoint_format.cpp index fc00b74ec84f6e2bf08e8094994711c2131046dd..8b0333fb9542ef54946d4df83b6db73e00ba50b9 100644 --- a/Source/astcenc_pick_best_endpoint_format.cpp +++ b/Source/astcenc_pick_best_endpoint_format.cpp @@ -219,8 +219,7 @@ static void compute_error_squared_rgb_single_partition( * @param ep The idealized endpoints. * @param[out] eci The resulting encoding choice error metrics. */ -static void compute_encoding_choice_errors( - const image_block& blk, +static void compute_encoding_choice_errors(const image_block& blk, const partition_info& pi, const endpoints& ep, encoding_choice_errors eci[BLOCK_MAX_PARTITIONS])