#ifndef COLORSERVICE_H #define COLORSERVICE_H #include #include namespace OCIO = OCIO_NAMESPACE::v1; #include "decoder/frame.h" #include "render/gl/shadergenerators.h" class ColorService { public: ColorService(const char *source_space, const char *dest_space); void ConvertFrame(FramePtr f); OCIO::ConstProcessorRcPtr GetProcessor(); private: OCIO::ConstProcessorRcPtr processor; }; using ColorServicePtr = std::shared_ptr; #endif // COLORSERVICE_H