45 Commits

Author SHA1 Message Date
zhaonan287 a28eae1bcf ASTC编码支持HDR
Signed-off-by: zhaonan287 <zhaonan34@huawei.com>
2026-04-11 14:28:53 +08:00
zhaonan287 747005d78c Added security check to prevent underrunning array
Signed-off-by: zhaonan287 <zhaonan34@huawei.com>
2026-04-11 12:10:21 +08:00
屑屑屑 1902ef7aa6 p5 Fixed exception when there is no astc-encoder dependent library
Signed-off-by: 屑屑屑 <jiangwenda5@h-partners.com>
2026-04-10 16:17:55 +08:00
屑屑屑 a14f81bc85 p4 Add customized profile for astc-encoder
Signed-off-by: 屑屑屑 <jiangwenda5@h-partners.com>
2026-04-10 15:47:03 +08:00
屑屑屑 c08e5eeeb4 p2 high profiler
Signed-off-by: 屑屑屑 <jiangwenda5@h-partners.com>
2026-04-10 10:15:57 +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
zhaonan287 1e63e4c12d Added security check to prevent underrunning array
Signed-off-by: zhaonan287 <zhaonan34@huawei.com>
2024-11-15 17:02:47 +08:00
zhaonan287 cc9258c19b Fixed exception when there is no astc-encoder dependent library
Signed-off-by: zhaonan287 <zhaonan34@huawei.com>
2024-06-21 16:54:10 +08:00
zhaonan287 dfed462ef8 Add customized profile for astc-encoder
Signed-off-by: zhaonan287 <zhaonan34@huawei.com>
2024-06-12 14:24:56 +08: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
f00849353 e1aa5096f9 add high speed profile for astc encoder
Signed-off-by: f00849353 <fanghuameng@huawei.com>
2023-12-21 20:01:02 +08:00
Pete Harris 0b59667b34 Use C++-style casts everywhere 2022-04-26 22:29:24 +01:00
Pete Harris 8567f58e4e Whitespace 2022-04-19 22:45:34 +01:00
Pete Harris cdbb645c5f Scalarize error after loop in realign_weights_decimated 2022-04-08 23:10:14 +01:00
Pete Harris bb97018914 Whitespace cleanup 2022-04-08 17:09:56 +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 74f4cc38f3 Use returned partition match count from search 2022-04-07 09:01:38 +01:00
Pete Harris 3446c27e75 Make construct_dt_entry_2d static 2022-04-03 17:56:31 +01:00
Pete Harris c9599ebec4 Sort block_mode storage into bands 2022-04-03 15:22:17 +01:00
Pete Harris bbf78d2d82 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.
2022-03-14 22:20:05 +00:00
Pete Harris 921038f0a9 Move to static resource allocation in context structure 2022-03-11 21:29:01 +00:00
Pete Harris 95d3207d12 Compact duplicate encodings when in SELF_DECOMPRESS mode 2022-03-10 22:57:56 +00:00
Pete Harris ed13876f46 Fix compile warning in DECOMPRESSOR=ON builds 2022-02-28 07:55:48 +00:00
Pete Harris 204d5e262e Store weight_bits in block_mode structure 2022-02-26 15:36:48 +00:00
Pete Harris df2069bd66 Move large array allocations off the stack 2022-02-22 22:05:20 +00:00
Pete Harris 2bcb630aa1 Allow a threshold percentage for block modes 2022-02-22 10:18:14 +00:00
Pete Harris 279367506f Use <0 compares rather than ==-1 to reduce code size 2022-02-17 22:14:32 +00:00
pete cb0ff8bfd6 Fix comment typo 2021-12-24 19:07:28 +00:00
Maya Kylmämaa 53ca65ad3d Fixed an invalid assert when ASTCENC_DECOMPRESS_ONLY is used (#291) 2021-10-18 09:36:25 +01:00
pete 31be7e69ba Remove old optimization TODOs that have been tried 2021-06-21 23:04:34 +01:00
pete ad462ef7dd Skip MODE0 fast path for 3D textures 2021-06-21 13:44:38 +01:00
pete a56b83fa44 Use count for always blocks, not flag 2021-06-19 22:19:25 +01:00
pete e6993d496d Fix /W4 warnings on VS2019 2021-06-17 15:55:20 +01:00
pete bf085554f4 Front-load "always" list entries 2021-06-14 09:35:10 +01:00
pete 2290f9cadb Shrink types and reorder the BSD 2021-05-23 22:42:14 +01:00
pete 49e5afdbfd Use unsigned sentinel for bad block modes 2021-05-23 20:53:57 +01:00
pete 00f986c192 Use unsigned ints in block size calculations 2021-05-22 17:26:32 +01:00
pete b58783676e Switch constants to static constexpr values (and add new ones) 2021-05-22 16:38:21 +01:00
pete be50726cc4 More use of unsigned types 2021-05-22 14:38:31 +01:00
pete 7640047bc5 Make more use of unsigned ints 2021-05-22 13:49:22 +01:00
pete c1e598ebe0 Refactor many function names 2021-05-18 23:47:36 +01:00
pete feb5fe0618 Rename decimation_table to decimation_info 2021-05-18 22:59:31 +01:00
pete a8ef6f98c9 Cleanup API for partition_tables 2021-05-16 19:50:07 +01:00
pete 0bcb6a29ec Rename file 2021-05-12 09:02:47 +01:00