| 243 | } |
| 244 | |
| 245 | basis_compressor::basis_compressor() : |
| 246 | m_pOpenCL_context(nullptr), |
| 247 | m_fmt_mode(basist::basis_tex_format::cETC1S), |
| 248 | m_fmt_mode_block_width(4), |
| 249 | m_fmt_mode_block_height(4), |
| 250 | m_total_slice_orig_texels(0), |
| 251 | m_basis_file_size(0), |
| 252 | m_basis_bits_per_texel(0.0f), |
| 253 | m_ktx2_file_size(0), |
| 254 | m_ktx2_bits_per_texel(0.0f), |
| 255 | m_total_blocks(0), |
| 256 | m_hdr_image_scale(1.0f), |
| 257 | m_ldr_to_hdr_upconversion_nit_multiplier(1.0f), |
| 258 | m_upconverted_any_ldr_images(false), |
| 259 | m_any_source_image_has_alpha(false), |
| 260 | m_opencl_failed(false) |
| 261 | { |
| 262 | debug_printf("basis_compressor::basis_compressor\n"); |
| 263 | |
| 264 | assert(g_library_initialized); |
| 265 | } |
| 266 | |
| 267 | basis_compressor::~basis_compressor() |
| 268 | { |
nothing calls this directly
no outgoing calls
no test coverage detected