-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from MK16kawai/dev
add mlx90640&opns303x
- Loading branch information
Showing
40 changed files
with
8,072 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#ifndef __MAIX_CMAP_HPP__ | ||
#define __MAIX_CMAP_HPP__ | ||
|
||
#include <cstdint> | ||
#include <vector> | ||
#include <array> | ||
|
||
namespace maix::ext_dev::cmap { | ||
|
||
|
||
using RGB = std::array<uint8_t, 3>; | ||
using CmapArray = std::vector<RGB>; | ||
|
||
/** | ||
* @brief Cmap | ||
* @maixpy maix.ext_dev.cmap.Cmap | ||
*/ | ||
enum class Cmap { | ||
WHITE_HOT = 0, | ||
BLACK_HOT, | ||
IRONBOW, | ||
NIGHT, | ||
RED_HOT, | ||
WHITE_HOT_SD, | ||
BLACK_HOT_SD, | ||
RED_HOT_SD, | ||
JET, | ||
}; | ||
|
||
/** | ||
* @brief Get cmap ptr | ||
* | ||
* @param cmap @see Cmap | ||
* @return const CmapArray* | ||
* | ||
* @maixcdk maix.ext_dev.cmap.get | ||
*/ | ||
const CmapArray* get(Cmap cmap); | ||
|
||
|
||
} | ||
|
||
|
||
#endif |
Oops, something went wrong.