mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 00:23:52 +00:00
updating comments and status display related to m_quality
This commit is contained in:
@@ -865,7 +865,7 @@ namespace basisu
|
||||
{
|
||||
// ETC1S
|
||||
if (m_params.m_status_output)
|
||||
printf("Mode: ETC1S Quality (1-255): %i, Comp Level (Effort, 0-6): %i\n", m_params.m_quality_level, (int)m_params.m_etc1s_compression_level);
|
||||
printf("Mode: ETC1S Quality (0-255): %i, Comp Level (Effort, 0-6): %i\n", m_params.m_quality_level, (int)m_params.m_etc1s_compression_level);
|
||||
|
||||
if (!process_frontend())
|
||||
return cECFailedFrontEnd;
|
||||
|
||||
@@ -53,13 +53,18 @@ namespace basisu
|
||||
const float BASISU_DEFAULT_HYBRID_SEL_CB_QUALITY_THRESH = 2.0f;
|
||||
|
||||
const uint32_t BASISU_MAX_IMAGE_DIMENSION = 16384;
|
||||
const uint32_t BASISU_QUALITY_MIN = 1;
|
||||
|
||||
// The original ETC1S specific (non-unified) quality level
|
||||
const uint32_t BASISU_QUALITY_MIN = 1; // note 0 is also technically valid in the code/API for ETC1S; the difference in quality is tiny (both result in very small codebooks)
|
||||
const uint32_t BASISU_QUALITY_MAX = 255;
|
||||
const uint32_t BASISU_XUASTC_QUALITY_MIN = 1;
|
||||
const uint32_t BASISU_XUASTC_QUALITY_MAX = 100;
|
||||
|
||||
const uint32_t BASISU_MAX_ENDPOINT_CLUSTERS = basisu_frontend::cMaxEndpointClusters;
|
||||
const uint32_t BASISU_MAX_SELECTOR_CLUSTERS = basisu_frontend::cMaxSelectorClusters;
|
||||
|
||||
// [1,100] are also the valid unified quality levels
|
||||
const uint32_t BASISU_XUASTC_QUALITY_MIN = 1;
|
||||
const uint32_t BASISU_XUASTC_QUALITY_MAX = 100;
|
||||
|
||||
const uint32_t BASISU_MAX_SLICES = 0xFFFFFF;
|
||||
|
||||
const int BASISU_RDO_UASTC_DICT_SIZE_DEFAULT = 4096; // 32768;
|
||||
|
||||
Reference in New Issue
Block a user