Debian Codegraph @

thirdparty/cvtt/ConvectionKernels_Util.h

raw symbols SCIP
1 #pragma once
2
3 #include "ConvectionKernels_ParallelMath.h"
4
5 namespace cvtt
6 {
7 struct PixelBlockU8;
8 struct PixelBlockS8;
9 struct Options;
10 }
11
12 namespace cvtt
13 {
14 namespace Util
15 {
16 // Signed input blocks are converted into unsigned space, with the maximum value being 254
17 void BiasSignedInput(PixelBlockU8 inputNormalized[ParallelMath::ParallelSize], const PixelBlockS8 inputSigned[ParallelMath::ParallelSize]);
18 void FillWeights(const Options &options, float channelWeights[4]);
19 void ComputeTweakFactors(int tweak, int range, float *outFactors);
20 }
21 }