1
1
// =====================================================================
2
- // Copyright 2019 (c), Advanced Micro Devices, Inc. All rights reserved.
2
+ // Copyright 2020 (c), Advanced Micro Devices, Inc. All rights reserved.
3
3
//
4
4
// Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
// of this software and associated documentation files(the "Software"), to deal
@@ -69,12 +69,12 @@ void AboutCompressonator()
69
69
printf (" ------------------------------------------------\n " );
70
70
// current build release
71
71
if (VERSION_MINOR_MAJOR)
72
- printf (" CompressonatorCLI V%d.%d.%d Copyright AMD 2019 \n " , VERSION_MAJOR_MAJOR, VERSION_MAJOR_MINOR, VERSION_MINOR_MAJOR);
72
+ printf (" CompressonatorCLI V%d.%d.%d Copyright AMD 2020 \n " , VERSION_MAJOR_MAJOR, VERSION_MAJOR_MINOR, VERSION_MINOR_MAJOR);
73
73
else
74
74
{
75
75
// Keep track of Customer patches from last release to current
76
76
// This is what is shown when you build the exe outside of the automated Build System (such as Jenkins)
77
- printf (" CompressonatorCLI V3.2 .0 Copyright AMD 2019 \n " );
77
+ printf (" CompressonatorCLI V4.0 .0 Copyright AMD 2020 \n " );
78
78
}
79
79
printf (" ------------------------------------------------\n " );
80
80
printf (" \n " );
@@ -89,7 +89,7 @@ void PrintUsage()
89
89
printf (" -nomipmap Turns off Mipmap generation\n " );
90
90
printf (" -mipsize <size> The size in pixels used to determine\n " );
91
91
printf (" how many mip levels to generate\n " );
92
- printf (" -miplevels <Level> Sets Mips Level for output,\n " );
92
+ printf (" -miplevels <Level> Sets Mips Level for output, range is 1 to 20 \n " );
93
93
printf (" (mipSize overides this option): default is 1\n " );
94
94
printf (" Compression options:\n\n " );
95
95
printf (" -fs <format> Optionally specifies the source texture format to use\n " );
@@ -100,7 +100,7 @@ void PrintUsage()
100
100
printf (" be compatible \n " );
101
101
printf (" with the sources format,decompress formats are typically\n " );
102
102
printf (" set to ARGB_8888 or ARGB_32F\n " );
103
- printf (" -EncodeWith Compression with CPU or HPC \n " );
103
+ printf (" -EncodeWith Compression with CPU, HPC, OCL or DXC \n " );
104
104
#ifdef _WIN32
105
105
printf (" -DecodeWith GPU based decompression using OpenGL, DirectX or Vulkan\n " );
106
106
#endif
@@ -241,12 +241,13 @@ void PrintUsage()
241
241
printf (" between 2 images with same size. Analysis_Result.xml file will be generated.\n " );
242
242
printf (" \n\n " );
243
243
printf (" -diff_image <image1> <image2> Generate difference between 2 images with same size \n " );
244
- printf (
245
- " A .bmp file will be generated. Please use compressonator GUI to increase the contrast to view the diff "
246
- " pixels.\n " );
244
+ printf (" A .bmp file will be generated. Please use compressonator GUI to increase the contrast to view the diff pixels.\n " );
247
245
printf (" -log Logs process information to a process_results.txt file containing\n " );
248
246
printf (" file info, performance data, SSIM, PSNR and MSE. \n " );
247
+ printf (" -logcsv Logs process information to a process_results.csv file containing\n " );
248
+ printf (" file info, performance data, SSIM, PSNR and MSE. \n " );
249
249
printf (" -logfile <filename> Logs process information to a user defined text file\n " );
250
+ printf (" -logcsvfile <filename> Logs process information to a user defined csv file\n " );
250
251
printf (" \n\n " );
251
252
printf (" -imageprops <image> Print image properties of image files specifies. \n " );
252
253
printf (" \n\n " );
@@ -264,6 +265,9 @@ void PrintUsage()
264
265
printf (" CompressonatorCLI.exe -fd BC7 -NumTheads 16 image.bmp result.dds\n " );
265
266
printf (" CompressonatorCLI.exe -fd BC7 -ff PNG -fx KTX ./source_dir/ ./dist_dir/\n " );
266
267
printf (" CompressonatorCLI.exe -fd BC6H image.exr result.exr\n\n " );
268
+ printf (" Example compression using GPU:\n\n " );
269
+ printf (" CompressonatorCLI.exe -fd BC1 -EncodeWith OCL image.bmp result.dds \n " );
270
+ printf (" CompressonatorCLI.exe -fd BC1 -EncodeWith DXC image.bmp result.dds \n " );
267
271
printf (" Example decompression from compressed image using CPU:\n\n " );
268
272
printf (" CompressonatorCLI.exe result.dds image.bmp\n\n " );
269
273
printf (" Example decompression from compressed image using GPU:\n\n " );
@@ -294,6 +298,7 @@ void PrintUsage()
294
298
printf (" Specifies settings :\n\n " );
295
299
printf (" CompressonatorCLI.exe -meshopt -optVCacheSize 32 -optOverdrawACMRThres 1.03 -optVFetch 0 source.gltf dest.gltf\n " );
296
300
#endif
301
+ printf (" For additional help go to Documents folder and type index.htlm\n " );
297
302
}
298
303
299
304
bool ProgressCallback (float fProgress , CMP_DWORD_PTR pUser1, CMP_DWORD_PTR pUser2)
0 commit comments