15 #ifndef ATHENAPOOLCNVSVC_COMPRESSOR_H
16 #define ATHENAPOOLCNVSVC_COMPRESSOR_H
40 std::cout<<
"WARNING -> Too large compression requested. Will leave 12 bits instead!"<<std::endl;
43 else if(bits>=32 || bits==0){
44 std::cout<<
"WARNING -> Compression to "<<bits<<
" bits is not possible. Compressing to 31 bits !"<<std::endl;
52 void reduceToUS(
const std::vector<float> &vf, std::vector<unsigned short> &vi);
60 void reduce(
const std::vector<float> & vf, std::vector<unsigned int> &vi);
63 void expandToFloat(
const std::vector<unsigned int> & vc, std::vector<float> & vf);
71 #endif // not ATHENAPOOLCNVSVC_COMPRESSOR_H