Digital implementation of Hierarchical Vector Quantization