Multiplier-free entropy coder

This commit is contained in:
Timothy B. Terriberry 2007-12-06 15:09:53 +11:00 committed by Jean-Marc Valin
parent aeb4467d7f
commit 2ec8d9e522
26 changed files with 1597 additions and 2 deletions

14
libentcode/bitrenc.h Normal file
View file

@ -0,0 +1,14 @@
#if !defined(_bitrenc_H)
# define _bitrenc_H (1)
# include "bitree.h"
/*Encoder-specific functions for Binary Indexed Trees.
See bitree.h for more detailed documentation.*/
/*Updates the frequency of a given symbol.
_sz: The size of the table.
_sym: The symbol to update.
_val: The amount to add to this symbol's frequency.*/
void ec_bitree_update(unsigned *_this,int _sz,int _sym,int _val);
#endif