MCPcopy Create free account
hub / github.com/davisking/dlib / clear

Method clear

dlib/entropy_decoder_model/entropy_decoder_model_kernel_5.h:343–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341 unsigned long order
342 >
343 void entropy_decoder_model_kernel_5<alphabet_size,entropy_decoder,total_nodes,order>::
344 clear(
345 )
346 {
347 next_node = 1;
348 root->child_context = 0;
349 root->escapes = 0;
350 root->total = 0;
351 cur = root;
352 cur_order = 0;
353 stack_size = 0;
354
355 clear_exclusions();
356 }
357
358// ----------------------------------------------------------------------------------------
359

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected