Lines Matching refs:freq
29 { ssize_t freq[VCH_SIZE]; /* frequencies of bytes */
43 int vchcopy(Vcodex_t* vc, ssize_t* freq, ssize_t* size , ssize_t maxs)
45 int vchcopy(vc, freq, size, maxs )
47 ssize_t* freq; /* byte frequency table */
56 if(freq)
57 { memcpy(huff->freq, freq, VCH_SIZE*sizeof(freq[0]));
85 ssize_t *freq = huff->freq;
94 { CLRTABLE(freq, VCH_SIZE);
95 ADDFREQ(freq, Vcchar_t*, data, dtsz);
99 (huff->maxs = vchsize(VCH_SIZE,freq,size,NIL(int*))) < 0)
105 { DOTPRODUCT(s, freq, size, VCH_SIZE);