main
modules
index
files
download
libit@sf.net
include/it/arithmetic_codec.h File Reference
Go to the source code of this file.
Data Structures
struct
_arithmetic_coder_t_
struct
_arithmetic_decoder_t_
Typedefs
typedef unsigned char
arithmetic_codec_bit_t
typedef unsigned long
arithmetic_codec_register_t
typedef struct
_arithmetic_coder_t_
arithmetic_coder_t
typedef struct
_arithmetic_decoder_t_
arithmetic_decoder_t
Functions
arithmetic_coder_t
*
arithmetic_coder_new
(int precision)
void
arithmetic_coder_delete
(
arithmetic_coder_t
*arithmetic_coder)
void
arithmetic_coder_start
(
arithmetic_coder_t
*arithmetic_coder,
bvec
buffer)
int
arithmetic_coder_stop
(
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_coder_encode_symbol
(
arithmetic_coder_t
*arithmetic_coder,
vec
pdf, int symbol)
arithmetic_decoder_t
*
arithmetic_decoder_new
(int precision)
void
arithmetic_decoder_delete
(
arithmetic_decoder_t
*arithmetic_decoder)
void
arithmetic_decoder_start
(
arithmetic_decoder_t
*arithmetic_decoder,
bvec
buffer)
int
arithmetic_decoder_stop
(
arithmetic_decoder_t
*arithmetic_decoder)
arithmetic_codec_bit_t
arithmetic_decoder_decode_bit
(
arithmetic_decoder_t
*arithmetic_decoder, double prob_zero)
int
arithmetic_decoder_decode_symbol
(
arithmetic_decoder_t
*arithmetic_decoder,
vec
pdf)
Hosted by
Copyright (C) 2005-2006
Hervé Jégou
Vivien Chappelier
Francois Cayre
libit logo courtesy of Jonathan Delhumeau