src/arithmetic_codec.c File Reference

#include <it/types.h>
#include <it/vec.h>
#include <it/arithmetic_codec.h>

Go to the source code of this file.

Functions

static void write_bit (arithmetic_coder_t *arithmetic_coder, unsigned char bit)
static void read_bit (arithmetic_decoder_t *arithmetic_decoder)
static void renormalize_enc (arithmetic_coder_t *arithmetic_coder)
static void renormalize_dec (arithmetic_decoder_t *arithmetic_decoder)
void arithmetic_coder_start (arithmetic_coder_t *arithmetic_coder, bvec buffer)
int arithmetic_coder_stop (arithmetic_coder_t *arithmetic_coder)
arithmetic_coder_tarithmetic_coder_new (int precision)
void arithmetic_coder_delete (arithmetic_coder_t *arithmetic_coder)
void arithmetic_coder_encode_bit (arithmetic_coder_t *arithmetic_coder, double prob_0, arithmetic_codec_bit_t bit)
void arithmetic_decoder_start (arithmetic_decoder_t *arithmetic_decoder, bvec buffer)
int arithmetic_decoder_stop (arithmetic_decoder_t *arithmetic_decoder)
arithmetic_decoder_tarithmetic_decoder_new (int precision)
void arithmetic_decoder_delete (arithmetic_decoder_t *arithmetic_decoder)
arithmetic_codec_bit_t arithmetic_decoder_decode_bit (arithmetic_decoder_t *arithmetic_decoder, double prob_0)
void arithmetic_coder_encode_symbol (arithmetic_coder_t *arithmetic_coder, vec pdf, int symbol)
int arithmetic_decoder_decode_symbol (arithmetic_decoder_t *arithmetic_decoder, vec pdf)


Function Documentation

static void read_bit ( arithmetic_decoder_t arithmetic_decoder  )  [static]

static void renormalize_dec ( arithmetic_decoder_t arithmetic_decoder  )  [static]

static void renormalize_enc ( arithmetic_coder_t arithmetic_coder  )  [static]

static void write_bit ( arithmetic_coder_t arithmetic_coder,
unsigned char  bit 
) [static]


Hosted by
Copyright (C) 2005-2006 Hervé Jégou
Vivien Chappelier
Francois Cayre
libit logo courtesy of Jonathan Delhumeau