| 65 | typename decoder |
| 66 | > |
| 67 | void entropy_decoder_kernel_c<decoder>:: |
| 68 | decode ( |
| 69 | uint32 low_count, |
| 70 | uint32 high_count |
| 71 | ) |
| 72 | { |
| 73 | // make sure requires clause is not broken |
| 74 | DLIB_CASSERT( (low_count <= _get_target) && (_get_target < high_count) && |
| 75 | (high_count <= TOTAL) && |
| 76 | (this->stream_is_set() == true) && (this->get_target_called() == true), |
| 77 | "\tvoid entropy_decoder::decode()" |
| 78 | << "\n\tRefer to the ensures clause for this function for further information." |
| 79 | << "\n\tNote that _get_target refers to get_target(TOTAL)" |
| 80 | << "\n\tthis: " << this |
| 81 | << "\n\tlow_count: " << low_count |
| 82 | << "\n\thigh_count: " << high_count |
| 83 | << "\n\tTOTAL: " << TOTAL |
| 84 | << "\n\tget_target(TOTAL): " << _get_target |
| 85 | << "\n\tis_stream_set(): " << (this->stream_is_set() ? "true" : "false" ) |
| 86 | << "\n\tget_target_called(): " << (this->get_target_called() ? "true" : "false" ) |
| 87 | ); |
| 88 | |
| 89 | // call the real function |
| 90 | decoder::decode(low_count,high_count); |
| 91 | } |
| 92 | |
| 93 | // ---------------------------------------------------------------------------------------- |
| 94 |
nothing calls this directly
no outgoing calls
no test coverage detected