Rise
The Vieneo Province
Loading...
Searching...
No Matches
BC.h File Reference
#include <DirectXMath.h>
#include <DirectXPackedVector.h>
Include dependency graph for BC.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DirectX::HDRColorA
struct  DirectX::D3DX_BC1
struct  DirectX::D3DX_BC2
struct  DirectX::D3DX_BC3

Namespaces

namespace  DirectX

Macros

#define NUM_PIXELS_PER_BLOCK   16

Typedefs

typedef void(*) DirectX::BC_DECODE(XMVECTOR *pColor, const uint8_t *pBC)
typedef void(*) DirectX::BC_ENCODE(uint8_t *pDXT, const XMVECTOR *pColor, uint32_t flags)

Enumerations

enum  DirectX::BC_FLAGS : uint32_t {
  DirectX::BC_FLAGS_NONE = 0 , DirectX::BC_FLAGS_DITHER_RGB = 0x10000 , DirectX::BC_FLAGS_DITHER_A = 0x20000 , DirectX::BC_FLAGS_UNIFORM = 0x40000 ,
  DirectX::BC_FLAGS_USE_3SUBSETS = 0x80000 , DirectX::BC_FLAGS_FORCE_BC7_MODE6 = 0x100000
}

Functions

HDRColorA * DirectX::HDRColorALerp (_Out_ HDRColorA *pOut, _In_ const HDRColorA *pC1, _In_ const HDRColorA *pC2, _In_ float s) noexcept
template<bool bRange>
void DirectX::OptimizeAlpha (float *pX, float *pY, const float *pPoints, uint32_t cSteps) noexcept
void DirectX::D3DXDecodeBC1 (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(8) const uint8_t *pBC) noexcept
void DirectX::D3DXDecodeBC2 (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void DirectX::D3DXDecodeBC3 (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void DirectX::D3DXDecodeBC4U (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(8) const uint8_t *pBC) noexcept
void DirectX::D3DXDecodeBC4S (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(8) const uint8_t *pBC) noexcept
void DirectX::D3DXDecodeBC5U (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void DirectX::D3DXDecodeBC5S (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void DirectX::D3DXDecodeBC6HU (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void DirectX::D3DXDecodeBC6HS (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void DirectX::D3DXDecodeBC7 (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void DirectX::D3DXEncodeBC1 (_Out_writes_(8) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ float threshold, _In_ uint32_t flags) noexcept
void DirectX::D3DXEncodeBC2 (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void DirectX::D3DXEncodeBC3 (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void DirectX::D3DXEncodeBC4U (_Out_writes_(8) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void DirectX::D3DXEncodeBC4S (_Out_writes_(8) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void DirectX::D3DXEncodeBC5U (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void DirectX::D3DXEncodeBC5S (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void DirectX::D3DXEncodeBC6HU (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void DirectX::D3DXEncodeBC6HS (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void DirectX::D3DXEncodeBC7 (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept

Macro Definition Documentation

◆ NUM_PIXELS_PER_BLOCK

#define NUM_PIXELS_PER_BLOCK   16

Definition at line 24 of file BC.h.