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

Merge branch 'feature/raw-codec' into 'main'

Feature/raw codec

See merge request beyondaka/beyond-protocol!49
parents 157238e9 e184283d
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.
Please register or to comment