Skip to content
Snippets Groups Projects
Commit e184283d authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Feature/raw codec

parent 157238e9
No related branches found
No related tags found
No related merge requests found
/**
* @file rawmat.hpp
* @copyright Copyright (c) 2022 University of Turku, MIT License
* @author Nicolas Pope
*/
#pragma once
#include <cstdint>
namespace ftl {
namespace codec {
namespace raw {
/**
* @brief Uncompressed image data with an OpenCV type.
*
*/
template<typename T = uint8_t>
struct RawMat {
uint16_t cols;
uint16_t rows;
uint32_t type;
T data[];
};
} // namespace raw
} // namespace codec
} // namespace ftl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment