MT_linear.hpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. // This file is part of HDRip.
  2. //
  3. // HDRip is free software: you can redistribute it and/or modify it
  4. // under the terms of the GNU General Public License as published by
  5. // the Free Software Foundation, either version 3 of the License, or
  6. // (at your option) any later version.
  7. //
  8. // HDRip is distributed in the hope that it will be useful, but
  9. // WITHOUT ANY WARRANTY; without even the implied warranty of
  10. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. // GNU General Public License for more details.
  12. //
  13. // You should have received a copy of the GNU General Public License
  14. // along with HDRip. If not, see <https://www.gnu.org/licenses/>.
  15. //
  16. // HDRip project
  17. // Author : Rémi Synave
  18. // Contact : remi.synave@univ-littoral.fr
  19. #ifndef MT_LINEAR__HPP
  20. #define MT_LINEAR__HPP
  21. class MT_linear
  22. {
  23. public:
  24. const float* data;
  25. unsigned int length;
  26. float* result;
  27. MT_linear(float* d = NULL, unsigned int l = 0, float* r = NULL) :data(d), length(l), result(r) {};
  28. };
  29. #endif