Searched refs:mtf (Results 1 - 5 of 5) sorted by relevance

/ast/src/cmd/vczip/tests/
H A Dtvcbwzip.c47 Vcodex_t *huf, *rle, *mtf; local
64 if(!(mtf = vcopen(0, Vcmtf, 0, rle, VC_ENCODE|VC_CLOSECODER)) )
66 if(!(bwz = vcopen(0, Vcbwt, 0, mtf, VC_ENCODE|VC_CLOSECODER)) )
73 if(!(mtf = vcopen(0, Vcmtf, 0, rle, VC_DECODE|VC_CLOSECODER)) )
75 if(!(unz = vcopen(0, Vcbwt, 0, mtf, VC_DECODE)) )
H A Dtvctable.c50 Vcodex_t *huf, *rle, *mtf; local
63 if(!(mtf = vcopen(0, Vcmtf, 0, rle, VC_ENCODE|VC_CLOSECODER)) )
65 if(!(tz = vcopen(0, Vctable, 0, mtf, VC_ENCODE)) )
H A Dtvcrtable.c41 Vcodex_t *huf, *rle, *mtf; local
77 if(!(mtf = vcopen(0, Vcmtf, 0, rle, VC_ENCODE|VC_CLOSECODER)) )
79 if(!(tz = vcopen(0, Vcrtable, 0, mtf, VC_ENCODE)) )
87 if(!(mtf = vcopen(0, Vcmtf, 0, rle, VC_DECODE|VC_CLOSECODER)) )
89 if(!(uz = vcopen(0, Vcrtable, 0, mtf, VC_DECODE)) )
/ast/src/lib/libvcodex/Vcmisc/
H A Dvcmtf.c32 { m = mtf[p = 0]; \
34 { n = mtf[p += 1]; mtf[p] = m; m = n; } \
35 mtf[0] = c; \
39 { c = mtf[m = 0]; \
41 { n = mtf[m += 1]; mtf[m] = c; c = n; } \
42 mtf[0] = c; \
55 Vcchar_t* dt; /* data to be un/mtf-ed */
63 Vcchar_t mtf[25 local
111 Vcchar_t mtf[256]; local
[all...]
/ast/src/lib/libvcodex/Vchuff/
H A Dvchuffgroup.c50 Vcodex_t* mtf; /* MTF coder/decoder */ member in struct:_group_s
381 { n = vcapply(grp->mtf,work,npts,&dt); /* mtf transform */
511 if((n = vcapply(grp->mtf, part, npts, &dt)) < 0 )
517 vcbuffer(grp->mtf, NIL(Vcchar_t*), -1, -1);
611 if((npts = vcapply(grp->mtf, dt, n, &part)) < 0)
662 vcbuffer(grp->mtf, NIL(Vcchar_t*), -1, -1);
689 grp->mtf = vcopen(NIL(Vcdisc_t*), Vcmtf, 0, 0, vc->flags);
690 if(!grp->huf || !grp->mtf )
702 if(grp->mtf)
[all...]

Completed in 36 milliseconds