Lines Matching defs:Mode
636 Mode, enumerator
1107 struct Mode struct
1109 const int IDX; // Mode index
1110 const int NS; // Number of subsets in each partition
1111 const int PB; // Partition bits
1112 const int RB; // Rotation bits
1113 const int ISB; // Index selection bits
1114 const int CB; // Color bits
1115 const int AB; // Alpha bits
1116 const int EPB; // Endpoint P-bits
1117 const int SPB; // Shared P-bits
1118 const int IB; // Primary index bits per element
1119 const int IBC; // Primary index bits total
1120 const int IB2; // Secondary index bits per element
1122 constexpr int NumColors() const { return NS * 2; } in NumColors()
1123 constexpr Bitfield Partition() const { return { IDX + 1, PB }; } in Partition()
1124 constexpr Bitfield Rotation() const { return Partition().Then(RB); } in Rotation()
1125 constexpr Bitfield IndexSelection() const { return Rotation().Then(ISB); } in IndexSelection()
1126 constexpr Bitfield Red(int idx) const in Red()
1130 constexpr Bitfield Green(int idx) const in Green()
1134 constexpr Bitfield Blue(int idx) const in Blue()
1138 constexpr Bitfield Alpha(int idx) const in Alpha()
1142 constexpr Bitfield EndpointPBit(int idx) const in EndpointPBit()
1146 constexpr Bitfield SharedPBit0() const in SharedPBit0()
1150 constexpr Bitfield SharedPBit1() const in SharedPBit1()
1154 constexpr Bitfield PrimaryIndex(int offset, int count) const in PrimaryIndex()
1158 constexpr Bitfield SecondaryIndex(int offset, int count) const in SecondaryIndex()