Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/etcpak/ProcessRGB.hpp
9832 views
1
#ifndef __PROCESSRGB_HPP__
2
#define __PROCESSRGB_HPP__
3
4
#include <stdint.h>
5
6
void CompressEtc1Rgb( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width );
7
void CompressEtc1RgbDither( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width );
8
void CompressEtc2Rgb( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width, bool useHeuristics );
9
void CompressEtc2Rgba( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width, bool useHeuristics );
10
11
void CompressEacR( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width );
12
void CompressEacRg( const uint32_t* src, uint64_t* dst, uint32_t blocks, size_t width );
13
14
#endif
15
16