godot/thirdparty/cvtt/ConvectionKernels_BC7_Prio.h
K. S. Ernest (iFire) Lee 419b342a9a Faster CVTT by reducing quality.
Make BC6 and BC7 CVTT faster while still having better quality than DXT5.
2022-02-04 15:15:26 -08:00

18 lines
490 B
C++

#pragma once
#include <stdint.h>
namespace cvtt { namespace Tables { namespace BC7Prio {
extern const uint16_t *g_bc7PrioCodesRGB;
extern const int g_bc7NumPrioCodesRGB;
extern const uint16_t *g_bc7PrioCodesRGBA;
extern const int g_bc7NumPrioCodesRGBA;
int UnpackMode(uint16_t packed);
int UnpackSeedPointCount(uint16_t packed);
int UnpackPartition(uint16_t packed);
int UnpackRotation(uint16_t packed);
int UnpackIndexSelector(uint16_t packed);
}}}