void CompDecompressor::SetToVal( CoeffArray& coeff_data , const Subband& node , CoeffType val ) { for (int j=node.Yp() ; j<node.Yp()+node.Yl() ; ++j) for (int i=node.Xp() ; i<node.Xp()+node.Xl() ; ++i) coeff_data[j][i]=val; }
void CompCompressor::SetToVal(CoeffArray& coeff_data,const Subband& node,ValueType val) { for (int j=node.Yp() ; j<node.Yp() + node.Yl() ; ++j) { for (int i=node.Xp(); i<node.Xp() + node.Xl() ; ++i) { coeff_data[j][i] = val; }// i }// j }