Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TextureFormats.h File Reference

Enumerations

enum  XB_FMT {
  XB_FMT_UNKNOWN = 0x0 , XB_FMT_DXT1 = 0x1 , XB_FMT_DXT3 = 0x2 , XB_FMT_DXT5 = 0x4 ,
  XB_FMT_DXT5_YCoCg = 0x8 , XB_FMT_DXT_MASK = 0xF , XB_FMT_A8R8G8B8 = 0x10 , XB_FMT_A8 = 0x20 ,
  XB_FMT_RGBA8 = 0x40 , XB_FMT_RGB8 = 0x80 , XB_FMT_MASK = 0xFFFF , XB_FMT_OPAQUE = 0x10000
}
 
enum  KD_TEX_FMT {
  KD_TEX_FMT_UNKNOWN = 0x0000 , KD_TEX_FMT_LEGACY = 0x0000 , KD_TEX_FMT_SDR = 0x1000 , KD_TEX_FMT_SDR_R8 = 0x1000 ,
  KD_TEX_FMT_SDR_RG8 = 0x1100 , KD_TEX_FMT_SDR_R5G6B5 = 0x1200 , KD_TEX_FMT_SDR_RGB5_A1 = 0x1300 , KD_TEX_FMT_SDR_RGBA4 = 0x1400 ,
  KD_TEX_FMT_SDR_RGB8 = 0x1500 , KD_TEX_FMT_SDR_RGBA8 = 0x1600 , KD_TEX_FMT_SDR_BGRA8 = 0x1700 , KD_TEX_FMT_HDR = 0x2000 ,
  KD_TEX_FMT_HDR_R16f = 0x2100 , KD_TEX_FMT_HDR_RG16f = 0x2200 , KD_TEX_FMT_HDR_R11F_G11F_B10F = 0x2300 , KD_TEX_FMT_HDR_RGB9_E5 = 0x2400 ,
  KD_TEX_FMT_HDR_RGB10_A2 = 0x2500 , KD_TEX_FMT_HDR_RGBA16f = 0x2600 , KD_TEX_FMT_YUV = 0x3000 , KD_TEX_FMT_YUV_YUYV8 = 0x3000 ,
  KD_TEX_FMT_S3TC = 0x4000 , KD_TEX_FMT_S3TC_RGB8 = 0x4000 , KD_TEX_FMT_S3TC_RGB8_A1 = 0x4100 , KD_TEX_FMT_S3TC_RGB8_A4 = 0x4200 ,
  KD_TEX_FMT_S3TC_RGBA8 = 0x4300 , KD_TEX_FMT_RGTC = 0x5000 , KD_TEX_FMT_RGTC_R11 = 0x5000 , KD_TEX_FMT_RGTC_RG11 = 0x5100 ,
  KD_TEX_FMT_BPTC = 0x6000 , KD_TEX_FMT_BPTC_RGB16F = 0x6000 , KD_TEX_FMT_BPTC_RGBA8 = 0x6100 , KD_TEX_FMT_ETC1 = 0x7000 ,
  KD_TEX_FMT_ETC1_RGB8 = 0x7000 , KD_TEX_FMT_ETC2 = 0x8000 , KD_TEX_FMT_ETC2_R11 = 0x8100 , KD_TEX_FMT_ETC2_RG11 = 0x8200 ,
  KD_TEX_FMT_ETC2_RGB8 = 0x8300 , KD_TEX_FMT_ETC2_RGB8_A1 = 0x8400 , KD_TEX_FMT_ETC2_RGBA8 = 0x8500 , KD_TEX_FMT_ASTC_LDR = 0x9000 ,
  KD_TEX_FMT_ASTC_LDR_4x4 = 0x9000 , KD_TEX_FMT_ASTC_LDR_5x4 = 0x9100 , KD_TEX_FMT_ASTC_LDR_5x5 = 0x9200 , KD_TEX_FMT_ASTC_LDR_6x5 = 0x9300 ,
  KD_TEX_FMT_ASTC_LDR_6x6 = 0x9400 , KD_TEX_FMT_ASTC_LDR_8x5 = 0x9500 , KD_TEX_FMT_ASTC_LDR_8x6 = 0x9600 , KD_TEX_FMT_ASTC_LDR_8x8 = 0x9700 ,
  KD_TEX_FMT_ASTC_LDR_10x5 = 0x9800 , KD_TEX_FMT_ASTC_LDR_10x6 = 0x9900 , KD_TEX_FMT_ASTC_LDR_10x8 = 0x9A00 , KD_TEX_FMT_ASTC_LDR_10x10 = 0x9B00 ,
  KD_TEX_FMT_ASTC_LDR_12x10 = 0x9C00 , KD_TEX_FMT_ASTC_LDR_12x12 = 0x9D00 , KD_TEX_FMT_ASTC_HDR = 0xA000 , KD_TEX_FMT_ASTC_HDR_4x4 = 0xA000 ,
  KD_TEX_FMT_ASTC_HDR_5x4 = 0xA100 , KD_TEX_FMT_ASTC_HDR_5x5 = 0xA200 , KD_TEX_FMT_ASTC_HDR_6x5 = 0xA300 , KD_TEX_FMT_ASTC_HDR_6x6 = 0xA400 ,
  KD_TEX_FMT_ASTC_HDR_8x5 = 0xA500 , KD_TEX_FMT_ASTC_HDR_8x6 = 0xA600 , KD_TEX_FMT_ASTC_HDR_8x8 = 0xA700 , KD_TEX_FMT_ASTC_HDR_10x5 = 0xA800 ,
  KD_TEX_FMT_ASTC_HDR_10x6 = 0xA900 , KD_TEX_FMT_ASTC_HDR_10x8 = 0xAA00 , KD_TEX_FMT_ASTC_HDR_10x10 = 0xAB00 , KD_TEX_FMT_ASTC_HDR_12x10 = 0xAC00 ,
  KD_TEX_FMT_ASTC_HDR_12x12 = 0xAD00 , KD_TEX_FMT_TYPE_MASK = 0xF000 , KD_TEX_FMT_MASK = 0xFFFF
}
 
enum  KD_TEX_ALPHA { KD_TEX_ALPHA_STRAIGHT = 0x00000 , KD_TEX_ALPHA_OPAQUE = 0x10000 , KD_TEX_ALPHA_PREMULTIPLIED = 0x20000 , KD_TEX_ALPHA_MASK = 0xF0000 }
 
enum  KD_TEX_SWIZ {
  KD_TEX_SWIZ_RGBA = 0x000000 , KD_TEX_SWIZ_RGB1 = 0x100000 , KD_TEX_SWIZ_RRR1 = 0x200000 , KD_TEX_SWIZ_111R = 0x300000 ,
  KD_TEX_SWIZ_RRRG = 0x400000 , KD_TEX_SWIZ_RRRR = 0x500000 , KD_TEX_SWIZ_GGG1 = 0x600000 , KD_TEX_SWIZ_111G = 0x700000 ,
  KD_TEX_SWIZ_GGGA = 0x800000 , KD_TEX_SWIZ_GGGG = 0x900000 , KD_TEX_SWIZ_SDF = 0xa00000 , KD_TEX_SWIZ_RGB_SDF = 0xb00000 ,
  KD_TEX_SWIZ_MSDF = 0xc00000 , KD_TEX_SWIZ_MASK = 0xF00000
}
 
enum  KD_TEX_COL { KD_TEX_COL_REC709 = 0x0000000 , KD_TEX_COL_REC2020 = 0x1000000 , KD_TEX_COL_MASK = 0xF000000 }
 
enum  KD_TEX_TRANSFER {
  KD_TEX_TRANSFER_SRGB = 0x00000000 , KD_TEX_TRANSFER_REC709 = 0x10000000 , KD_TEX_TRANSFER_HLG = 0x20000000 , KD_TEX_TRANSFER_LINEAR = 0x30000000 ,
  KD_TEX_TRANSFER_SQUARED = 0x40000000 , KD_TEX_TRANSFER_PQ = 0x50000000 , KD_TEX_TRANSFER_MASK = 0xF0000000
}
 

Enumeration Type Documentation

◆ KD_TEX_ALPHA

Enumerator
KD_TEX_ALPHA_STRAIGHT 
KD_TEX_ALPHA_OPAQUE 
KD_TEX_ALPHA_PREMULTIPLIED 
KD_TEX_ALPHA_MASK 

◆ KD_TEX_COL

enum KD_TEX_COL
Enumerator
KD_TEX_COL_REC709 
KD_TEX_COL_REC2020 
KD_TEX_COL_MASK 

◆ KD_TEX_FMT

enum KD_TEX_FMT
Enumerator
KD_TEX_FMT_UNKNOWN 
KD_TEX_FMT_LEGACY 
KD_TEX_FMT_SDR 
KD_TEX_FMT_SDR_R8 
KD_TEX_FMT_SDR_RG8 
KD_TEX_FMT_SDR_R5G6B5 
KD_TEX_FMT_SDR_RGB5_A1 
KD_TEX_FMT_SDR_RGBA4 
KD_TEX_FMT_SDR_RGB8 
KD_TEX_FMT_SDR_RGBA8 
KD_TEX_FMT_SDR_BGRA8 
KD_TEX_FMT_HDR 
KD_TEX_FMT_HDR_R16f 
KD_TEX_FMT_HDR_RG16f 
KD_TEX_FMT_HDR_R11F_G11F_B10F 
KD_TEX_FMT_HDR_RGB9_E5 
KD_TEX_FMT_HDR_RGB10_A2 
KD_TEX_FMT_HDR_RGBA16f 
KD_TEX_FMT_YUV 
KD_TEX_FMT_YUV_YUYV8 
KD_TEX_FMT_S3TC 
KD_TEX_FMT_S3TC_RGB8 
KD_TEX_FMT_S3TC_RGB8_A1 
KD_TEX_FMT_S3TC_RGB8_A4 
KD_TEX_FMT_S3TC_RGBA8 
KD_TEX_FMT_RGTC 
KD_TEX_FMT_RGTC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