Changeset 3088 for trunk


Ignore:
Timestamp:
Apr 28, 2013, 1:03:44 PM (5 years ago)
Author:
cameron
Message:

Add Transpose struct to allow standard Pablo interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/transpose.hpp

    r2695 r3088  
    3838}
    3939
     40struct Transpose {
     41  Transpose() {}
     42  void do_block(Bytedata & bytedata, Basis_bits & basis_bits) {
     43    s2p_do_block((BytePack *) bytedata, basis_bits);
     44  }
     45  void do_final_block(Bytedata & bytedata, Basis_bits & basis_bits, BitBlock EOF_mask) {
     46    s2p_do_final_block((BytePack *) bytedata, basis_bits, EOF_mask);
     47  }
     48};
    4049#endif // TRANSPOSE_HPP
    4150
Note: See TracChangeset for help on using the changeset viewer.