Path: blob/master/thirdparty/cvtt/ConvectionKernels_ETC2_Rounding.h
9898 views
#pragma once1#include <stdint.h>23// This file is generated by the MakeTables app. Do not edit this file manually.45namespace cvtt { namespace Tables { namespace ETC2 {6const int g_alphaRoundingTableWidth = 13;7const uint8_t g_alphaRoundingTables[16][13] =8{9{ 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 3 },10{ 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3 },11{ 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3 },12{ 0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3 },13{ 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3 },14{ 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3 },15{ 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3 },16{ 0, 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 3 },17{ 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 3 },18{ 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3 },19{ 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3 },20{ 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 3, 3 },21{ 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3 },22{ 0, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3 },23{ 0, 0, 0, 0, 0, 1, 1, 2, 3, 3, 3, 3, 3 },24{ 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3, 3 },25};26}}}272829