Searched defs:clen (Results 1 - 2 of 2) sorted by relevance

/ast/src/lib/libvcodex/Vchuff/
H A Dvchcode.c28 static ssize_t rlcode(ssize_t nsym, ssize_t* clen, ssize_t cmax, Vcchar_t* rle, ssize_t rlsz, int encode) argument
30 static ssize_t rlcode(nsym, clen, cmax, rle, rlsz, encode)
32 ssize_t* clen; /* code lengths to be encoded */
46 { d = clen[k];
48 if(clen[n] != d)
57 *rl++ = clen[r];
67 clen[k++] = d;
72 clen[k++] = d;
84 ssize_t vchputcode(ssize_t nsym, ssize_t* clen, ssize_t maxs, Vcchar_t* data, size_t dtsz) argument
86 ssize_t vchputcode(nsym, clen, max
129 vchgetcode(ssize_t nsym, ssize_t* clen, ssize_t maxs, Vcchar_t* data, size_t dtsz) argument
[all...]
H A Dvchtrie.c42 static int bldtrie(Vchtrie_t* trie, ssize_t* clen, Vcbit_t* bits, argument
45 static int bldtrie(trie, clen, bits, root, len, sort, ns, lev)
47 ssize_t* clen; /* table of code lengths */
62 if((s = clen[sort[k]-bits]) > m)
100 z = clen[m = sort[k]-bits];
110 { if(len >= clen[sort[m]-bits])
117 if(bldtrie(trie,clen,bits,&nd,len,sort+k,m-k,lev+1) < 0 )

Completed in 7 milliseconds