Options
atc_Options
-
struct atc_options
C equivalent of
atc::Options. In order to create anatc_optionsstruct with default values, do not use the default constructor. Instead, use the global constantATC_OPTIONS_DEFAULT.Public Members
-
bool verbose
-
bool suppress_warnings
-
bool timings
-
int threads
-
atc_storage_order storage_order
-
atc_float_type float_type
-
size_t skip_bytes
-
atc_error_metric error_metric
-
bool apply_dct
-
uint8_t *mode_processing_order
If not null, assumed to be an array of length
modes.
-
bool precise_svd
-
bool print_squared_singular_values
-
bool householder
-
atc_int_type int_type
-
atc_core_flattening core_flattening
-
uint8_t *mode_storage_order
If not null, assumed to be an array of length
modes.
-
size_t quantization_blocks
-
size_t last_pass_max_threads
-
double quantization_rel_error_margin
-
bool split_bitplane_truncation
-
atc_entropy_coding_method entropy_coding_method
-
size_t cutout_length
-
bool autocrop
-
double autocrop_threshold
-
bool calculate_error
-
bool verbose
ATC_OPTIONS_DEFAULT
-
const atc_options ATC_OPTIONS_DEFAULT
Constant which serves as a prototype for new
atc_optionsstructs, with all fields initialized to the default values corresponding to those ofatc::Options.
Enums
-
enum atc_storage_order
C equivalent of
atc::StorageOrder.Values:
-
enumerator ATC_MSI
-
enumerator ATC_LSI
-
enumerator ATC_MSI
-
enum atc_float_type
C equivalent of
atc::FloatType.Values:
-
enumerator ATC_FLOAT_TYPE_FLOAT32
-
enumerator ATC_FLOAT_TYPE_FLOAT64
-
enumerator ATC_FLOAT_TYPE_FLOAT32
-
enum atc_error_metric
C equivalent of
atc::ErrorMetric.Values:
-
enumerator ATC_RELATIVE_ERROR
-
enumerator ATC_RMSE
-
enumerator ATC_PSNR
-
enumerator ATC_RELATIVE_ERROR
-
enum atc_int_type
C equivalent of
atc::IntType.Values:
-
enumerator ATC_INT_TYPE_UINT32
-
enumerator ATC_INT_TYPE_UINT64
-
enumerator ATC_INT_TYPE_UINT32
-
enum atc_core_flattening
C equivalent of
atc::CoreFlattening.Values:
-
enumerator ATC_UNFOLD
-
enumerator ATC_ZIGZAG
-
enumerator ATC_ZORDER
-
enumerator ATC_UNFOLD
-
enum atc_entropy_coding_method
C equivalent of
atc::EntropyCodingMethod.Values:
-
enumerator ATC_ARITHMETIC
-
enumerator ATC_ANS
-
enumerator ATC_ARITHMETIC
Slicing
-
struct atc_slice
C equivalent of
atc::Slice. IfdescriptionisNULL, theatc::Sliceobject will be constructed from the parametersstart,stop,stepandreduction. Otherwise, it will be constructed from thedescriptionstring.
-
const int64_t ATC_SLICE_UNDEFINED
C equivalent of
atc::Slice::UNDEFINED.
-
const atc_slice ATC_SLICE_DEFAULT
Constant which serves as a prototype for new
atc_slicestructs, with all fields initialized to the default values corresponding to those of a defaultatc::Sliceobject.
-
enum atc_reduction
C equivalent of
atc::Reduction.Values:
-
enumerator ATC_DOWNSAMPLING
-
enumerator ATC_BOX
-
enumerator ATC_LANCZOS
-
enumerator ATC_DOWNSAMPLING