shithub: opus

ref: 96dec06380a3a9399d138af415ac03fc4d6f8b7e
dir: /libcelt/bitrenc.c/

View raw version
#include "bitrenc.h"

void ec_bitree_update(unsigned *_this,int _sz,int _sym,int _val){
  do{
    _this[_sym]+=_val;
    _sym+=_sym+1&-(_sym+1);
  }
  while(_sym<_sz);
}