28 lines
663 B
C++
28 lines
663 B
C++
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "Math/Math.hpp"
|
|
#include "Math/Range.hpp"
|
|
|
|
namespace OpenVulkano::AR
|
|
{
|
|
class ArConstants final
|
|
{
|
|
public:
|
|
Math::Matrix4f yuvToRgbMatrix;
|
|
Math::Range<uint8_t> confidenceValueRange;
|
|
|
|
ArConstants() : yuvToRgbMatrix(0), confidenceValueRange(0, 255)
|
|
{}
|
|
|
|
ArConstants(const Math::Matrix4f& yuvToRgb, const Math::Range<uint8_t> confidenceRange)
|
|
: yuvToRgbMatrix(yuvToRgb), confidenceValueRange(confidenceRange)
|
|
{}
|
|
};
|
|
}
|