Skip to content

Instantly share code, notes, and snippets.

@rygorous
Created November 9, 2022 09:44
Show Gist options
  • Save rygorous/36871cc1df62d132117189870872dad4 to your computer and use it in GitHub Desktop.
Save rygorous/36871cc1df62d132117189870872dad4 to your computer and use it in GitHub Desktop.
Oodle Texture BC1 encoder at "Normal" and "High" levels vs ICBC (ICBC RMSEs when decoding for Intel)
C:\devel\libs\icbc>cl /nologo icbc_test.cpp /O2 /arch:AVX2 && icbc_test -dec intel
icbc_test.cpp
Using 32 threads.
Encoding 'c:/devel/media/blops3bc1/t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga': RMSE = 3.510 PSNR = 37.224 TIME = 0.052029 (0.052029)
Encoding 'c:/devel/media/blops3bc1/c_hro_sarah_armor_c_BC1_UNORM_sRGB.tga': RMSE = 4.406 PSNR = 35.251 TIME = 0.012941 (0.012941)
Average Results:
RMSE = 3.707 PSNR = 36.751 TIME = 0.064970 (0.064970)
C:\devel\libs\icbc>\devel\projects\oodle2\cdepbuild\win64_release\textest bc1 c:\devel\media\blops3bc1\t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga -e2
test_framework 2.9.9 built Nov 8 2022 16:18:59 on Win-x64 msvc-1929
test_bc1
got opt: level=2=Slow
reading: c:\devel\media\blops3bc1\t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga
auto alpha : RGBA with all Opaque : no alpha
CompressBCN : 21.090 millis, 281.58 c/B, rate= 12.43 MB/s
t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga BC1: rmse=3.5104 hash=0xf10484c176a43b05
vendor rmse: 3.5139(AMD), 3.5151(NV), 3.5118(Intel), 3.5566(D3D)
rmse_total = 3.510, combined hash=0x9ced23fe0d443b06
vendor rmse total = 3.5139(AMD), 3.5151(NV), 3.5118(Intel), 3.5566(D3D)
test_framework test "bc1" took: 0.209 seconds
result : pass [dst:/test_allbc1c__devel_media_blops3bc1_t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga-e2.done]
C:\devel\libs\icbc>\devel\projects\oodle2\cdepbuild\win64_release\textest bc1 c:\devel\media\blops3bc1\t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga -e3
test_framework 2.9.9 built Nov 8 2022 16:18:59 on Win-x64 msvc-1929
test_bc1
got opt: level=3=VerySlow
reading: c:\devel\media\blops3bc1\t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga
auto alpha : RGBA with all Opaque : no alpha
CompressBCN : 64.731 millis, 864.26 c/B, rate= 4.05 MB/s
t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga BC1: rmse=3.4901 hash=0x7b37fc442d36f112
vendor rmse: 3.4953(AMD), 3.4948(NV), 3.4929(Intel), 3.5382(D3D)
rmse_total = 3.490, combined hash=0xe31c1ffb4f7950d3
vendor rmse total = 3.4953(AMD), 3.4948(NV), 3.4929(Intel), 3.5382(D3D)
test_framework test "bc1" took: 0.249 seconds
result : pass [dst:/test_allbc1c__devel_media_blops3bc1_t7_decal_grunge_dust_wall_01_c_BC1_UNORM_sRGB.tga-e3.done]
C:\devel\libs\icbc>\devel\projects\oodle2\cdepbuild\win64_release\textest bc1 c:\devel\media\blops3bc1\c_hro_sarah_armor_c_BC1_UNORM_sRGB.tga -e2
test_framework 2.9.9 built Nov 8 2022 16:18:59 on Win-x64 msvc-1929
test_bc1
got opt: level=2=Slow
reading: c:\devel\media\blops3bc1\c_hro_sarah_armor_c_BC1_UNORM_sRGB.tga
auto alpha : RGBA with all Opaque : no alpha
CompressBCN : 5.108 millis, 272.81 c/B, rate= 12.83 MB/s
c_hro_sarah_armor_c_BC1_UNORM_sRGB.tga BC1: rmse=4.4172 hash=0x61c63d9a5698ab09
vendor rmse: 4.4265(AMD), 4.4488(NV), 4.4205(Intel), 4.4532(D3D)
rmse_total = 4.417, combined hash=0x452833092cffba7f
vendor rmse total = 4.4265(AMD), 4.4488(NV), 4.4205(Intel), 4.4532(D3D)
test_framework test "bc1" took: 0.053 seconds
result : pass [dst:/test_allbc1c__devel_media_blops3bc1_c_hro_sarah_armor_c_BC1_UNORM_sRGB.tga-e2.done]
C:\devel\libs\icbc>\devel\projects\oodle2\cdepbuild\win64_release\textest bc1 c:\devel\media\blops3bc1\c_hro_sarah_armor_c_BC1_UNORM_sRGB.tga -e3
test_framework 2.9.9 built Nov 8 2022 16:18:59 on Win-x64 msvc-1929
test_bc1
got opt: level=3=VerySlow
reading: c:\devel\media\blops3bc1\c_hro_sarah_armor_c_BC1_UNORM_sRGB.tga
auto alpha : RGBA with all Opaque : no alpha
CompressBCN : 14.691 millis, 784.57 c/B, rate= 4.46 MB/s
c_hro_sarah_armor_c_BC1_UNORM_sRGB.tga BC1: rmse=4.3869 hash=0x4d51c2096c78c2b2
vendor rmse: 4.3984(AMD), 4.4189(NV), 4.3918(Intel), 4.4278(D3D)
rmse_total = 4.387, combined hash=0x10e006a3cfc9c055
vendor rmse total = 4.3984(AMD), 4.4189(NV), 4.3918(Intel), 4.4278(D3D)
test_framework test "bc1" took: 0.060 seconds
result : pass [dst:/test_allbc1c__devel_media_blops3bc1_c_hro_sarah_armor_c_BC1_UNORM_sRGB.tga-e3.done]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment