forked from brenwill/PVRTCCompressor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBitScale.h
28 lines (22 loc) · 979 Bytes
/
BitScale.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//============================================================================
#pragma once
#include <cstdint>
//============================================================================
namespace Javelin
{
namespace Data
{
//============================================================================
extern const uint8_t BITSCALE_5_TO_8[32];
extern const uint8_t BITSCALE_4_TO_8[16];
extern const uint8_t BITSCALE_3_TO_8[8];
extern const uint8_t BITSCALE_8_TO_5_FLOOR[256];
extern const uint8_t BITSCALE_8_TO_4_FLOOR[256];
extern const uint8_t BITSCALE_8_TO_3_FLOOR[256];
extern const uint8_t BITSCALE_8_TO_5_CEIL[256];
extern const uint8_t BITSCALE_8_TO_4_CEIL[256];
extern const uint8_t BITSCALE_8_TO_3_CEIL[256];
//============================================================================
} // namespace Data
} // namespace Javelin
//============================================================================