MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / reset

Method reset

Source/astcenc_internal_entry.h:149–160  ·  view source on GitHub ↗

* @brief Reset the tracker for a new processing batch. * * This must be called from single-threaded code before starting the multi-threaded processing * operations. */

Source from the content-addressed store, hash-verified

147 * operations.
148 */
149 void reset()
150 {
151 m_init_done = false;
152 m_term_done = false;
153 m_is_cancelled = false;
154 m_start_count = 0;
155 m_done_count = 0;
156 m_task_count = 0;
157 m_callback = nullptr;
158 m_callback_last_value = 0.0f;
159 m_callback_min_diff = 1.0f;
160 }
161
162 /**
163 * @brief Clear the tracker and stop new tasks being assigned.

Callers 3

astcenc_mainFunction · 0.80
astcenc_compress_resetFunction · 0.80
astcenc_decompress_resetFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected