#include <it/types.h>
#include <it/vec.h>
#include <it/arithmetic_codec.h>
Go to the source code of this file.
static void read_bit | ( | arithmetic_decoder_t * | arithmetic_decoder | ) | [static] |
Definition at line 42 of file arithmetic_codec.c.
References _arithmetic_decoder_t_::precision, _arithmetic_decoder_t_::sequence, and _arithmetic_decoder_t_::value.
Referenced by arithmetic_decoder_stop(), and renormalize_dec().
static void renormalize_dec | ( | arithmetic_decoder_t * | arithmetic_decoder | ) | [static] |
Definition at line 81 of file arithmetic_codec.c.
References _arithmetic_decoder_t_::lower, _arithmetic_decoder_t_::precision, _arithmetic_decoder_t_::range, read_bit(), and _arithmetic_decoder_t_::value.
Referenced by arithmetic_decoder_decode_bit().
static void renormalize_enc | ( | arithmetic_coder_t * | arithmetic_coder | ) | [static] |
Definition at line 53 of file arithmetic_codec.c.
References _arithmetic_coder_t_::lower, _arithmetic_coder_t_::pending, _arithmetic_coder_t_::precision, _arithmetic_coder_t_::range, and write_bit().
Referenced by arithmetic_coder_encode_bit().
static void write_bit | ( | arithmetic_coder_t * | arithmetic_coder, | |
unsigned char | bit | |||
) | [static] |
Definition at line 30 of file arithmetic_codec.c.
References _arithmetic_coder_t_::pending, and _arithmetic_coder_t_::sequence.
Referenced by arithmetic_coder_stop(), and renormalize_enc().
|
|