initial commit, 4.5 stable
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
This commit is contained in:
21
thirdparty/cvtt/ConvectionKernels_Util.h
vendored
Normal file
21
thirdparty/cvtt/ConvectionKernels_Util.h
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "ConvectionKernels_ParallelMath.h"
|
||||
|
||||
namespace cvtt
|
||||
{
|
||||
struct PixelBlockU8;
|
||||
struct PixelBlockS8;
|
||||
struct Options;
|
||||
}
|
||||
|
||||
namespace cvtt
|
||||
{
|
||||
namespace Util
|
||||
{
|
||||
// Signed input blocks are converted into unsigned space, with the maximum value being 254
|
||||
void BiasSignedInput(PixelBlockU8 inputNormalized[ParallelMath::ParallelSize], const PixelBlockS8 inputSigned[ParallelMath::ParallelSize]);
|
||||
void FillWeights(const Options &options, float channelWeights[4]);
|
||||
void ComputeTweakFactors(int tweak, int range, float *outFactors);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user