Skip to content

Commit 130eb9f

Browse files
committed
Major compression performance/quality improvements, for a 15-35% or so decrease in file size for the same Y PSNR/SSIM. The basis file format has changed due to these optimizations.
Increasing the max codebook size to 16K vs. 8K, for a major increase in the max achievable quality. Adding exception catching to command line tool. Enabling debug iterators on MSVC. Refining command line options, adding "-individual" flag to create multiple .basis files (vs. a texture array). Changing default colorspace to sRGB, because that's probably the best default. -linear disables this and uses linear colorspace metrics. PNG reader in 32-bit builds checks the size of the file before loading to avoid out of memory exceptions.
1 parent 7599dcd commit 130eb9f

25 files changed

+1847
-1202
lines changed

basisu.vcxproj

-4
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
<WarningLevel>Level4</WarningLevel>
8686
<Optimization>Disabled</Optimization>
8787
<SDLCheck>true</SDLCheck>
88-
<ExceptionHandling>false</ExceptionHandling>
8988
<OpenMPSupport>true</OpenMPSupport>
9089
<AdditionalIncludeDirectories>
9190
</AdditionalIncludeDirectories>
@@ -99,7 +98,6 @@
9998
<WarningLevel>Level4</WarningLevel>
10099
<Optimization>Disabled</Optimization>
101100
<SDLCheck>true</SDLCheck>
102-
<ExceptionHandling>false</ExceptionHandling>
103101
<OpenMPSupport>true</OpenMPSupport>
104102
<AdditionalIncludeDirectories>
105103
</AdditionalIncludeDirectories>
@@ -116,7 +114,6 @@
116114
<FunctionLevelLinking>true</FunctionLevelLinking>
117115
<IntrinsicFunctions>true</IntrinsicFunctions>
118116
<SDLCheck>true</SDLCheck>
119-
<ExceptionHandling>false</ExceptionHandling>
120117
<OpenMPSupport>true</OpenMPSupport>
121118
<AdditionalIncludeDirectories>
122119
</AdditionalIncludeDirectories>
@@ -137,7 +134,6 @@
137134
<FunctionLevelLinking>true</FunctionLevelLinking>
138135
<IntrinsicFunctions>true</IntrinsicFunctions>
139136
<SDLCheck>true</SDLCheck>
140-
<ExceptionHandling>false</ExceptionHandling>
141137
<OpenMPSupport>true</OpenMPSupport>
142138
<AdditionalIncludeDirectories>
143139
</AdditionalIncludeDirectories>

0 commit comments

Comments
 (0)