Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/cvtt/ConvectionKernels_ETC2.h
9898 views
1
#include <stdint.h>
2
3
namespace cvtt
4
{
5
namespace Tables
6
{
7
namespace ETC2
8
{
9
const int16_t g_thModifierTable[8] =
10
{
11
3, 6, 11, 16, 23, 32, 41, 64
12
};
13
14
const int16_t g_alphaModifierTablePositive[16][4] =
15
{
16
{ 2, 5, 8, 14, },
17
{ 2, 6, 9, 12, },
18
{ 1, 4, 7, 12, },
19
{ 1, 3, 5, 12, },
20
{ 2, 5, 7, 11, },
21
{ 2, 6, 8, 10, },
22
{ 3, 6, 7, 10, },
23
{ 2, 4, 7, 10, },
24
{ 1, 5, 7, 9, },
25
{ 1, 4, 7, 9, },
26
{ 1, 3, 7, 9, },
27
{ 1, 4, 6, 9, },
28
{ 2, 3, 6, 9, },
29
{ 0, 1, 2, 9, },
30
{ 3, 5, 7, 8, },
31
{ 2, 4, 6, 8, },
32
};
33
}
34
}
35
}
36
37