int
QccWAVZerotreeMakeFullTree(QccWAVZerotree *zerotree);
int QccWAVZerotreeMakeEmptyTree(QccWAVZerotree
*zerotree);
QccWAVZerotreeMakeFullTree() makes zerotree "full" by marking every symbol in zerotree as significant; i.e., it sets every node in zerotree to QCCWAVZEROTREE_SYMBOLSIGNIFICANT.
QccWAVZerotreeMakeEmptyTree() makes zerotree "empty" by marking every symbol in zerotree as "null" via a call to QccWAVZerotreeMakeSymbolNull(3) .
If zerotree has not been allocated prior to calling these routines, QccWAVZerotreeAlloc(3) is called before manipulating the zerotree symbols. In the case of QccWAVZerotreeMakeEmptyTree(), QccWAVZerotreeMakeFullTree() is called after allocating so that all zerotree nodes are set to valid symbols, specifically QCCWAVZEROTREE_SYMBOLSIGNIFICANT, before making them "null".
J. M. Shapiro, "Embedded Image Coding Using Zerotrees of Wavelet Coefficients," IEEE Transactions on Signal Processing, vol. 41, no. 12, pp. 3445-3462, December 1993.