-
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathDecode.hpp
More file actions
19 lines (15 loc) · 1.07 KB
/
Decode.hpp
File metadata and controls
19 lines (15 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __DECODE_HPP__
#define __DECODE_HPP__
#include "ForceInline.hpp"
#include <stdint.h>
// Public interface for decoding functions
etcpak_no_inline void DecodeBc1(const uint64_t* src, uint32_t* dst, int32_t width, int32_t height);
etcpak_no_inline void DecodeBc3(const uint64_t* src, uint32_t* dst, int32_t width, int32_t height);
etcpak_no_inline void DecodeBc4(const uint64_t* src, uint32_t* dst, int32_t width, int32_t height);
etcpak_no_inline void DecodeBc5(const uint64_t* src, uint32_t* dst, int32_t width, int32_t height);
etcpak_no_inline void DecodeBc7(const uint64_t* src, uint32_t* dst, int32_t width, int32_t height);
etcpak_no_inline void DecodeRGB(const uint64_t* src, uint32_t* dst, int32_t width, int32_t height);
etcpak_no_inline void DecodeRGBA(const uint64_t* src, uint32_t* dst, int32_t width, int32_t height);
etcpak_no_inline void DecodeR(const uint64_t* src, uint32_t* dst, int32_t width, int32_t height, bool isSigned = false);
etcpak_no_inline void DecodeRG(const uint64_t* src, uint32_t* dst, int32_t width, int32_t height, bool isSigned = false);
#endif