#ifndef UTILS_H
#define UTILS_H
#include <vector>
#include <map>
#include <cstdint>
#include <string>
typedef std::vector<std::vector<uint8_t>> lutData;
typedef std::map<std::string, lutData> map_lut;
class Libutils
{
public:
static lutData* getFilterLut(std::string filter);
static void readFilters(const std::string& dir);
static bool readCubeFile(std::string filename, lutData& lut);
static bool readCubeFileFromDat(std::string filename, lutData& lut);
static void split(std::string &str, std::string delimit, std::vector<std::string>&result);
private:
static map_lut m_map_lut;
};
#endif