Searched refs:lfreq (Results 1 - 2 of 2) sorted by relevance
/ast/src/lib/libvcodex/Vchuff/ |
H A D | vchuffpart.c | 121 ssize_t b, lfreq[VCH_SIZE]; local 133 le = entropy(lfreq, data, minsz); 134 re = eupdate(re, rfreq, lfreq, 0); 141 le -= lfreq[b]*vclog(lfreq[b]); 143 lfreq[b] += 1; rfreq[b] -= 1; 144 le += lfreq[b]*vclog(lfreq[b]); 151 if(part(pt, data, p, lfreq, le) < 0 ) 159 eupdate(re, rfreq, lfreq, [all...] |
/ast/src/lib/libvcodex/Vcwindow/ |
H A D | vcwngram.c | 70 size_t lfreq[NG_FREQ], rfreq[NG_FREQ]; /* frequency vectors */ local 114 lfreq[l] = rfreq[l]; 132 { if((lfreq[r] -= 1) < dfreq[r]) 136 if((lfreq[l] += 1) > dfreq[l])
|
Completed in 20 milliseconds