shithub: opus

ref: bab4fb19e2a9bc9d970e0b17c1c35ba3e2b3aa11
dir: /libentcode/bitrenc.h/

View raw version
#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