PackBits
int cnt = PackBits(pOut, pIn, size);
PackBits<false> compressedSizeCalculator;
PackBits<true> compressor;