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
28 lines
1.1 KiB
C++
28 lines
1.1 KiB
C++
#pragma once
|
|
#include <stdint.h>
|
|
|
|
// This file is generated by the MakeTables app. Do not edit this file manually.
|
|
|
|
namespace cvtt { namespace Tables { namespace ETC2 {
|
|
const int g_alphaRoundingTableWidth = 13;
|
|
const uint8_t g_alphaRoundingTables[16][13] =
|
|
{
|
|
{ 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 3 },
|
|
{ 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3 },
|
|
{ 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3 },
|
|
{ 0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3 },
|
|
{ 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3 },
|
|
{ 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3 },
|
|
{ 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3 },
|
|
{ 0, 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 3 },
|
|
{ 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 3 },
|
|
{ 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3 },
|
|
{ 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3 },
|
|
{ 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 3, 3 },
|
|
{ 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3 },
|
|
{ 0, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3 },
|
|
{ 0, 0, 0, 0, 0, 1, 1, 2, 3, 3, 3, 3, 3 },
|
|
{ 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3, 3 },
|
|
};
|
|
}}}
|