summaryrefslogtreecommitdiff
path: root/thirdparty/cvtt/ConvectionKernels_BC7_Prio.h
blob: 1880e22d0f62ae71defff030f0b29a6c3f2753fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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);
}}}