diff options
Diffstat (limited to 'lib/jxl/enc_ans.h')
-rw-r--r-- | lib/jxl/enc_ans.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/lib/jxl/enc_ans.h b/lib/jxl/enc_ans.h index 2f720f5..bb4bdd9 100644 --- a/lib/jxl/enc_ans.h +++ b/lib/jxl/enc_ans.h @@ -9,28 +9,19 @@ // Library to encode the ANS population counts to the bit-stream and encode // symbols based on the respective distributions. -#include <stddef.h> -#include <stdint.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> - -#include <algorithm> +#include <cstddef> +#include <cstdint> #include <vector> -#include "lib/jxl/ans_common.h" #include "lib/jxl/ans_params.h" -#include "lib/jxl/aux_out.h" -#include "lib/jxl/aux_out_fwd.h" -#include "lib/jxl/base/compiler_specific.h" -#include "lib/jxl/base/status.h" #include "lib/jxl/dec_ans.h" #include "lib/jxl/enc_ans_params.h" #include "lib/jxl/enc_bit_writer.h" -#include "lib/jxl/huffman_table.h" namespace jxl { +struct AuxOut; + #define USE_MULT_BY_RECIPROCAL // precision must be equal to: #bits(state_) + #bits(freq) |