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

Method decode

dlib/entropy_decoder_model/entropy_decoder_model_kernel_6.h:113–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 typename entropy_decoder
112 >
113 void entropy_decoder_model_kernel_6<alphabet_size,entropy_decoder>::
114 decode (
115 unsigned long& symbol
116 )
117 {
118 unsigned long target;
119
120 target = coder.get_target(alphabet_size);
121 coder.decode(target,target+1);
122
123 symbol = target;
124 }
125
126// ----------------------------------------------------------------------------------------
127

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected