Andrew Murray
352bcaac74
Set blue channel to 128 for BC5S
2023-09-21 16:38:45 +10:00
Andrew Murray
e57b08affd
Move strcmp outside of while loops
2023-09-21 16:38:19 +10:00
Andrew Murray
96e3534034
Corrected converting signed values to unsigned in BC5S
2023-09-16 13:53:10 +10:00
Andrew Murray
78d258f24d
Removed gamma correction
2022-10-10 20:48:18 +11:00
ShadelessFox
952237d373
Minimize unnecessary code changes
2022-07-31 19:16:25 +03:00
ShadelessFox
3bec5999e0
Rename remaining occurrences of BC6S -> BC6HS
2022-07-23 15:20:35 +03:00
ShadelessFox
18a3c249b6
Fix BC6H_SF decoder
2022-07-18 22:24:40 +03:00
REDxEYE
b7715d1600
Fix BC6H_SF decoding error.
...
Decoding error were caused by additional sign extend call after endpoint
transform, according to khronos documentation, you only suppose to sign
extend endpoints only once, further calls to sign extend mangles
endpoint data.
2022-07-18 22:24:40 +03:00
ShadelessFox
f58c0ea533
Fix BC6 block decoder
2022-07-18 22:24:40 +03:00
Andrew Murray
2e7f40e0b8
Added BC5_SNORM reading
2021-05-18 17:44:21 +10:00
Jan Solanti
b08c514ee7
BcnDecode: add comment about BC2&3 color blocks
2021-01-04 22:48:02 +11:00
Jan Solanti
097f7d0f56
Stop decoding BC1 punchthrough alpha in BC2&3
2021-01-04 22:47:18 +11:00
Andrew Murray
46b7e86bab
Format with ClangFormat
2021-01-03 14:17:51 +11:00
Andrew Murray
c1d9931adc
Added braces
2020-05-10 19:56:36 +10:00
Andrew Murray
ae43af61da
Replaced tabs with spaces
2020-05-01 22:08:57 +10:00
Andrew Murray
ca1cf59251
Changed decode buffer size to Py_ssize_t
2019-04-15 17:33:28 +10:00
Andrew Murray
765a6c7e74
Updated redirected URLs
2018-04-30 14:20:32 +10:00
Andrew Murray
f77adb5ab3
Replaced broken URLs with archive URLs
2018-04-30 11:01:09 +10:00
wiredfool
0bb3f4fee9
source layout reorg
2017-12-28 14:49:47 +00:00