85 Commits

Author SHA1 Message Date
zhaonan287 a28eae1bcf ASTC编码支持HDR
Signed-off-by: zhaonan287 <zhaonan34@huawei.com>
2026-04-11 14:28:53 +08:00
屑屑屑 aef5a57964 P8
astcenc optimization

Signed-off-by: 屑屑屑 <jiangwenda5@h-partners.com>
2026-04-11 12:10:06 +08:00
屑屑屑 41dd3fd422 astc-encoder-5.3.0
Signed-off-by: 屑屑屑 <jiangwenda5@h-partners.com>
2026-04-09 20:33:02 +08:00
zhaonan287 75b62f5b77 ASTC编码支持HDR
Signed-off-by: zhaonan287 <zhaonan34@huawei.com>
2025-05-30 11:11:31 +08:00
朴素贝叶斯 8c98e95dca 代码规范整改
Signed-off-by: 朴素贝叶斯 <gaobiao6@huawei.com>
2024-09-19 08:56:42 +00:00
朴素贝叶斯 b22ddf1b3e 修复检视意见
Signed-off-by: 朴素贝叶斯 <gaobiao6@huawei.com>
2024-09-05 01:37:46 +00:00
朴素贝叶斯 e599caab26 astcenc-encoder optimization
Signed-off-by: 朴素贝叶斯 <gaobiao6@huawei.com>
2024-08-27 09:09:53 +00:00
朴素贝叶斯 5a88bc6697 astc-encoder optimization
Signed-off-by: 朴素贝叶斯 <gaobiao6@huawei.com>
2024-08-27 07:28:33 +00:00
ql 17c0115f3c ASTC-encoder update to 4.7.0
Signed-off-by: zhaonan287 <zhaonan34@huawei.com>
2024-05-16 10:11:13 +08:00
Pete Harris 0b59667b34 Use C++-style casts everywhere 2022-04-26 22:29:24 +01:00
Pete Harris 65d5aaae8b Shrink some literal tables 2022-04-26 21:35:18 +01:00
Pete Harris c5728acfbd Use selects in compute_angular_endpoints_lwc 2022-04-19 22:33:03 +01:00
Pete Harris e5b66133cb 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.
2022-04-08 08:40:31 +01:00
Pete Harris 214052b2da Avoid copying 1 plane low/high results in 2 plane mode 2022-04-07 09:09:56 +01:00
Pete Harris c4d992551e Fix incorrect weight variable name 2022-04-07 08:45:25 +01:00
Pete Harris c9599ebec4 Sort block_mode storage into bands 2022-04-03 15:22:17 +01:00
Pete Harris 921038f0a9 Move to static resource allocation in context structure 2022-03-11 21:29:01 +00:00
Pete Harris 5659605872 Remove weight infill texel count from decimation error
The effect of this change is to very slightly reduce PSNR, but it
should improve consistency and reduce block artifacts as weights
for block-edge texels are no longer getting treated as less
important than weights for mid-block texels, just because they
influence fewer texels.

Gains 2% perforamnce across the board for all quality levels.
2022-02-26 10:52:14 +00:00
Pete Harris 0fcee5f96f Remove array initializer 2022-02-23 22:20:27 +00:00
Pete Harris df2069bd66 Move large array allocations off the stack 2022-02-22 22:05:20 +00:00
pete 9a32fb9535 Move core logging to DIAGNOSTICS builds 2022-01-17 22:20:12 +00:00
pete d8a2bb6cbe Provide a fallback for blocks which find no valid encoding 2021-10-22 16:56:20 +01:00
pete ecb28cc0fe Make search warnings INFO messages, as now expected 2021-06-22 18:43:24 +01:00
pete 31be7e69ba Remove old optimization TODOs that have been tried 2021-06-21 23:04:34 +01:00
pete 24d7fad506 Improve debug logs for search failures 2021-06-20 00:05:24 +01:00
pete a56b83fa44 Use count for always blocks, not flag 2021-06-19 22:19:25 +01:00
pete 90c8eec15a Use packed 2 plane weights in compression_working_buffers 2021-06-19 19:34:08 +01:00
pete 7c2f975d94 Remove TODO comment - not possible 2021-06-14 18:31:42 +01:00
pete cd066288e8 Keep compute_lowest_and_highest_weight core as float 2021-06-14 15:59:07 +01:00
pete abd8955115 Use initializer not assignment 2021-06-14 15:36:46 +01:00
pete bf085554f4 Front-load "always" list entries 2021-06-14 09:35:10 +01:00
pete 0078fc1b1e Cleanup compute_angular_endpoints_for_quant_levels_lwc 2021-06-07 23:33:20 +01:00
pete fc834fb5cb Add -lowweightmodelimit heuristic 2021-06-07 23:12:44 +01:00
pete 3a3f842a76 Use ERROR_CALC_DEFAULT not magic numbers 2021-06-07 09:23:09 +01:00
pete 4d88b0979c Clean up bsi < 0 fail case 2021-06-07 08:39:47 +01:00
pete 0da5ad1d5e Remove obsolete low sample error propagate step.
The codec has historically used a pass that uses a lower sample count's
error for a higher sample count during compute_angular_endpoints.
This is no longer beneficial, costing 2-3% performance and actually
reducing image quality.
2021-06-07 08:35:06 +01:00
pete 6018ea27f4 Better variable names ... 2021-06-06 22:43:14 +01:00
pete 62eeda3030 Remove obsolete promise 2021-05-24 09:04:43 +01:00
pete ae39c0e1dd More unsigned ints ... 2021-05-23 23:16:37 +01:00
pete b58783676e Switch constants to static constexpr values (and add new ones) 2021-05-22 16:38:21 +01:00
pete 7640047bc5 Make more use of unsigned ints 2021-05-22 13:49:22 +01:00
pete 5543738c58 Reflow comments on 100 character lines 2021-05-19 09:39:26 +01:00
pete 18df4443fd Cleanup API for weight_align 2021-05-16 20:13:15 +01:00
pete b20f35eb14 Style cleanups 2021-04-30 20:54:30 +01:00
pete 871917f954 samplecount -> sample_count 2021-04-28 00:24:17 +01:00
pete 63fe1b8a09 Naming convention update 2021-04-28 00:23:37 +01:00
pete 41920923cc Add more promises to reduce loop preamble 2021-04-28 00:17:11 +01:00
pete 72bffa97ae Remove unused parameter 2021-04-27 23:25:12 +01:00
pete ae25965fbe Remove loop tail from compute_error_rgb/rgba 2021-04-18 23:32:37 +01:00
pete 1f69d5151f Remove texel_weights_float_t4 2021-04-17 22:14:29 +01:00